Query for constituents without a specific alias type
I want to pull a list of constituent IDs that do not have a specific alias type. When I build this I get a repeating list of constituent IDs, each for the alias type that doesn't equal the one I want to exclude, but that not the same as giving me a list of constituent ID that don't have that alias type at all.
Comments
-
Have you tried taking the query to the Export function to get one record per ID?
0 -
Sorry, @Scott Turnbull looks like you may be new to RE, welcome to the BB Community. I should have explained a bit more. Many fields like phone, email, gifts, etc. will create duplicate lines in a constituent query. This is because more than one applies.
This is when you use constituent Query as your grouping tool, pulls together the relevant records, and then take the query to constituent Export to get the data you want with just one row per record.
1 -
Thanks for your reply. I may not be phrasing my question well. I understand the export filter but that's not what I need.
What I want is a list of Constituent IDs that do not have a particular type of alias. There doesn't seem to be a way to get that. What I get is a list of all the other alias with their constituent ID, but it doesn't mean it doesn't have the alias I'm trying to exclude. I basically need an LEFT OUTER JOINI could export a list of all Constituent IDs, then a list of constituent IDs that have the alias type in question, and then produce an exclusion list but I was hoping there was some method without having to dump all that out and massage it manually.
0 -
I think you'd have to merge queries or use a query list--create a query of everyone and subtract a query of those with the specific alias type.
1 -
Thanks, that would still give me constituent ids that have an alias other than the alias I was looking for.
Ultimately what I ended up doing was exporting a list of all constituent ids with the alias and getting my other data and writing a small script to do what I need but excluding any of the ids in the alias list.1 -
“This is the way” … I've been doing a lot of this lately, trying to clean up old records. Very rarely do I review data in query, unless it's pretty simple - export is ideal for this. I've been doing searching for missing add/sal and missing alias using this method and it works well.
1
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 656 Blackbaud Grantmaking™
- 577 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 941 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


