Query results don't match the list or export
I've not had RE doing this before. The bulk mailings we do each month, the exported number matches the number shown in the query. Until today.
I tried running this as dynamic and as static to see if it would change and it did not. Both queries show 13, 723 number of records pulled.

When I, or partner relations, export the query (also when I scroll/page down to the end) it shows there are 6,544 records.

We don't want a large number of records excluded. Does anyone know why there is such a large variance? I've not found a solution searching knowledgebase articles yet.
Comments
-
@Dana Burton
Query and Export differences in rows exported usually means 1 thing, in query, you are criteria-ing, outputing, or sorting by a 1-many field.look in query in the 3 tabs and see if there's anything there that is a 1-many relationship (i.e. 1 gift having multiple soft creidt, multiple campaign/fund/appeal/package, multiple gift solicitor, multiple attribute, etc)
4 -
@Dana Burton To see if a record is displaying multiple times in your query, sort by name, ID or field that is only on a record once and see if ‘John Anderson' is listed multiple times. As @Alex Wong cited, a 1-to-many field in criteria, output or sort could inflate the # of records in the query. First thing for troubleshooting is to see if that's the cause for the different #s.
It's possible that your export criteria could reduce # of records say if you're using HOH vs. pulling both records. Is it the same export template or did you create a new one for the mailing?
3 -
@Alex Wong and @JoAnn Strommen, these are the filters set. This is for Partner Relations to do a mass email. I added for the primary phone to be checked to eliminate duplicate names, rather than every email we have for a person - which worked great. Or so I thought.
When exporting the results (as we do with other mailings,) there was a significant change in results - which I am unsure why. My output is very simple - name, constituent id, primary salutation, and email address.I've also scrolled the list more than once and did not see any names listed more than once.
Thank you so much for brainstorming with me!
0 -
@Dana Burton phone types are one-to-many. I love all the advice you have received so far.
Try this: Save your query. Dump all your output and run it again. Does your number match? Then close the query without saving!
Also, can you share how you are handling HOH processing in the Export as @JoAnn Strommen mentioned.
2 -
@Dana Burton
You are hitting problem that we are talking about: 1 to many relationship not handled properly.- Email Number not blank will give you 1 row for every email address a constituent record has that's not blank, which in itself is already producing multiple rows for each constituent record.
- Solicit Code is also a 1-many relationship, as a constituent can have multiple solicit code, so this will further mulitple # of record rows produced.
While I don't know your query intention on the Solicit Code, but it looks like it may be wrong
Note that:
A and B and C or D
is not the same as
A and B and (C or D)
You may need to use some paranthesis or simply just do 1 Solicit Code filter and not 2. Use either one-of or not-one-of operation and select the ones you want/don't want.
Query can be more powerful than Export when you are very aware of what can be 1-many relationship and filter/output accordingly and dedup in Excel consciously knowing what you looking for to dedup your list. If you are not strong with Query, I recommend you use Query for filtering ONLY and use Export to output the info you want.
4 -
@Dana Burton As @Alex Wong pointed out you have many filters that could/will create more than one row in the query.
Phone # not active - line for every inactive number phone and/or email
Phone Do not contact equals no - line for every phone/email without DNCUse your query as a grouping tool - refine the email pulled in the Export function. There you can exclude the DNC, select type, export if it's primary…..
2 -
@Dana Burton, while the others have addressed the parenthetical grouping – A and B or C vs. A and (C or
– allow me to add more context. In your list below:
This OR at the bottom in essence cancels out all your other criteria. All a record has to have is a solicit code “Email Only” and it will pull whether it is marked primary, inactive, etc or not.
Also, I question whether these criteria are really getting you what you want. Many of them are conflicting as written. You have “Phone is Primary” AND “Phone Not Inactive”, which seems redundant since a phone should not be marked as both in a clean database. The “Phone not inactive” filter will exclude anyone with a cellphone or landline marked Inactive, even if they have a viable email address. Also, you included “Deceased equals No”, when that is already a checkbox option at the top of your query.
I don't know the goal of your list, but just throwing it out there, I'd propose the following process. This will get you a list of people with active, solicitable emails.
Pull a broad query. The query is unable to filter as precisely as you are trying to do.
Then, include certain output fields in your export:
Some lines of your export may be blank in the Email column if the donor only has an Inactive email type. Sort these out and remove any blanks, to get your final list. I strongly suggest keeping your email types clean and having a specific email type for active emails, to minimize this issue.
3 -
@Faith Murray, this is actually what I had done yesterday before leaving. It hadn't even occurred to me to build the query then use export - rather than export the query. ? Thank you all for your help! (Doing my job and learning everyone else's!)
1
Categories
- All Categories
- Shannon parent
- shannon 2
- shannon 1
- 21 Advocacy DC Users Group
- 14 BBCRM PAG Discussions
- 89 High Education Program Advisory Group (HE PAG)
- 28 Luminate CRM DC Users Group
- 8 DC Luminate CRM Users Group
- Luminate PAG
- 5.9K Blackbaud Altru®
- 58 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 409 bbcon®
- 2K Blackbaud CRM™ and Blackbaud Internet Solutions™
- donorCentrics®
- 1.1K Blackbaud eTapestry®
- 2.8K Blackbaud Financial Edge NXT®
- 1.1K Blackbaud Grantmaking™
- 527 Education Management Solutions for Higher Education
- 1 JustGiving® from Blackbaud®
- 4.6K Education Management Solutions for K-12 Schools
- Blackbaud Luminate Online & Blackbaud TeamRaiser
- 16.4K Blackbaud Raiser's Edge NXT®
- 4.1K SKY Developer
- 547 ResearchPoint™
- 151 Blackbaud Tuition Management™
- 1 YourCause® from Blackbaud®
- 61 everydayhero
- 3 Campaign Ideas
- 58 General Discussion
- 115 Blackbaud ID
- 87 K-12 Blackbaud ID
- 6 Admin Console
- 949 Organizational Best Practices
- 353 The Tap (Just for Fun)
- 235 Blackbaud Community Feedback Forum
- 124 Ninja Secret Society
- 32 Blackbaud Raiser's Edge NXT® Receipting EAP
- 55 Admissions Event Management EAP
- 18 MobilePay Terminal + BBID Canada EAP
- 36 EAP for New Email Campaigns Experience in Blackbaud Luminate Online®
- 109 EAP for 360 Student Profile in Blackbaud Student Information System
- 41 EAP for Assessment Builder in Blackbaud Learning Management System™
- 9 Technical Preview for SKY API for Blackbaud CRM™ and Blackbaud Altru®
- 55 Community Advisory Group
- 46 Blackbaud Community Ideas
- 26 Blackbaud Community Challenges
- 7 Security Testing Forum
- 1.1K ARCHIVED FORUMS | Inactive and/or Completed EAPs
- 3 Blackbaud Staff Discussions
- 7.7K ARCHIVED FORUM CATEGORY [ID 304]
- 1 Blackbaud Partners Discussions
- 1 Blackbaud Giving Search™
- 35 EAP Student Assignment Details and Assignment Center
- 39 EAP Core - Roles and Tasks
- 59 Blackbaud Community All-Stars Discussions
- 20 Blackbaud Raiser's Edge NXT® Online Giving EAP
- Diocesan Blackbaud Raiser’s Edge NXT® User’s Group
- 2 Blackbaud Consultant’s Community
- 43 End of Term Grade Entry EAP
- 92 EAP for Query in Blackbaud Raiser's Edge NXT®
- 38 Standard Reports for Blackbaud Raiser's Edge NXT® EAP
- 12 Payments Assistant for Blackbaud Financial Edge NXT® EAP
- 6 Ask an All Star (Austen Brown)
- 8 Ask an All-Star Alex Wong (Blackbaud Raiser's Edge NXT®)
- 1 Ask an All-Star Alex Wong (Blackbaud Financial Edge NXT®)
- 6 Ask an All-Star (Christine Robertson)
- 21 Ask an Expert (Anthony Gallo)
- Blackbaud Francophone Group
- 22 Ask an Expert (David Springer)
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 6 Ask an All-Star Sunshine Reinken Watson and Carlene Johnson
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 14 Ask an All-Star (Elizabeth Johnson)
- 7 Ask an Expert (Stephen Churchill)
- 2025 ARCHIVED FORUM POSTS
- 322 ARCHIVED | Financial Edge® Tips and Tricks
- 164 ARCHIVED | Raiser's Edge® Blog
- 300 ARCHIVED | Raiser's Edge® Blog
- 441 ARCHIVED | Blackbaud Altru® Tips and Tricks
- 66 ARCHIVED | Blackbaud NetCommunity™ Blog
- 211 ARCHIVED | Blackbaud Target Analytics® Tips and Tricks
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- Luminate CRM DC Users Group
- 225 ARCHIVED | Blackbaud eTapestry® Tips and Tricks
- 1 Blackbaud eTapestry® Know How Blog
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- 1 Blackbaud K-12 Education Solutions™ Blog
- 280 ARCHIVED | Mixed Community Announcements
- 3 ARCHIVED | Blackbaud Corporations™ & Blackbaud Foundations™ Hosting Status
- 1 npEngage
- 24 ARCHIVED | K-12 Announcements
- 15 ARCHIVED | FIMS Host*Net Hosting Status
- 23 ARCHIVED | Blackbaud Outcomes & Online Applications (IGAM) Hosting Status
- 22 ARCHIVED | Blackbaud DonorCentral Hosting Status
- 14 ARCHIVED | Blackbaud Grantmaking™ UK Hosting Status
- 117 ARCHIVED | Blackbaud CRM™ and Blackbaud Internet Solutions™ Announcements
- 50 Blackbaud NetCommunity™ Blog
- 169 ARCHIVED | Blackbaud Grantmaking™ Tips and Tricks
- Advocacy DC Users Group
- 718 Community News
- Blackbaud Altru® Hosting Status
- 104 ARCHIVED | Member Spotlight
- 145 ARCHIVED | Hosting Blog
- 149 JustGiving® from Blackbaud® Blog
- 97 ARCHIVED | bbcon® Blogs
- 19 ARCHIVED | Blackbaud Luminate CRM™ Announcements
- 161 Luminate Advocacy News
- 187 Organizational Best Practices Blog
- 67 everydayhero Blog
- 52 Blackbaud SKY® Reporting Announcements
- 17 ARCHIVED | Blackbaud SKY® Reporting for K-12 Announcements
- 3 Luminate Online Product Advisory Group (LO PAG)
- 81 ARCHIVED | JustGiving® from Blackbaud® Tips and Tricks
- 1 ARCHIVED | K-12 Conference Blog
- Blackbaud Church Management™ Announcements
- ARCHIVED | Blackbaud Award Management™ and Blackbaud Stewardship Management™ Announcements
- 1 Blackbaud Peer-to-Peer Fundraising™, Powered by JustGiving® Blogs
- 39 Tips, Tricks, and Timesavers!
- 56 Blackbaud Church Management™ Resources
- 154 Blackbaud Church Management™ Announcements
- 1 ARCHIVED | Blackbaud Church Management™ Tips and Tricks
- 11 ARCHIVED | Blackbaud Higher Education Solutions™ Announcements
- 7 ARCHIVED | Blackbaud Guided Fundraising™ Blog
- 2 Blackbaud Fundraiser Performance Management™ Blog
- 9 Foundations Events and Content
- 14 ARCHIVED | Blog Posts
- 2 ARCHIVED | Blackbaud FIMS™ Announcement and Tips
- 59 Blackbaud Partner Announcements
- 10 ARCHIVED | Blackbaud Impact Edge™ EAP Blogs
- 1 Community Help Blogs
- Diocesan Blackbaud Raiser’s Edge NXT® Users' Group
- Blackbaud Consultant’s Community
- Blackbaud Francophone Group
- 1 BLOG ARCHIVE CATEGORY
- Blackbaud Community™ Discussions
- 8.3K Blackbaud Luminate Online® & Blackbaud TeamRaiser® Discussions
- 5.7K Jobs Board