What is wrong with my query?
I am getting unexpected results from a constituent query. I am trying to find people who have given money to both Fund A and Fund B since Jan. 1, 2018.
The query I wrote is Gift Date greater than or equal to 01/01/2018 AND Gift Amount greater than $0.00 AND Fund Description one of (each) Fund A, Fund B (with the box checked for "each record must meet all specified criteria").
It is returning 213 too many records including people who have given to one of the funds within the date parameters, but gave to the other fund before 1/1/18. And some people whose gifts to one of the funds are valued at $0.00 i.e. inkind donations.
Where am I going wrong?
The query I wrote is Gift Date greater than or equal to 01/01/2018 AND Gift Amount greater than $0.00 AND Fund Description one of (each) Fund A, Fund B (with the box checked for "each record must meet all specified criteria").
It is returning 213 too many records including people who have given to one of the funds within the date parameters, but gave to the other fund before 1/1/18. And some people whose gifts to one of the funds are valued at $0.00 i.e. inkind donations.
Where am I going wrong?
Tagged:
0
Comments
-
This is tricky. I'd probably do it in export and then filter in excel.
But I was able to do it in query using a regular search for a fund within a time frame AND a summary search for the other fund with the same time frame.
I would set your query with the time frame first
(gift date greater than or equal to 1/1/2018)
AND Fund description = fund name for fund #1)
Put those in parenthesis. Then add a gift summary with the same date and the second fund and put that in parenthesis.
Try that.
Another way to do it is to create a query that pulls all donors who gave to the first fund within that time frame. Save it and then use that query in the query options as you pull the 2nd fund in that time frame
I hope this helps.
2 -
Couldn't you get the results from 2 gift summary sets?
Summary for gift>gift amount greater than 0, gift date greater than 1/1/18, fund description=x
AND
Summary for gift>gift amount greater than 0, gift date greater than 1/1/18, fund description=y
I don't have data in front of me to check...but I think this is the first thing I would try
6 -
I think Katherine Mannion is on the right track.
It is also important to know that gift summaries in query have a set of default gift types, and Gift in Kind is one of them. It is worth specifying the gift types YOU want summarized in your criteria, so that the software doesn't make that decision for you.
Karen
3 -
There are a couple ways to try this.
1. Gift Date Greater than or equal to Jan 1 2018 AND Gift Amount greater than or equal to $0.01 and Gift Type One of everything except leave all GIK off AND Gift Fund One of Fund A AND Fund B with checkbox
2. Two queries, one for Fund A and one for Fund B and then Merge them using AND.3 -
Many thanks to you all. I'll give those suggestions a try. I appreciate it. And I'll quit trying to use that checkbox on the "one of" query.0
-
The "one of" checkbox does work well for some types of query so I wouldn't avoid using it altogether - it's very useful if you want to find constituents who have a particular combination of constituent codes, for example.4
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 403 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
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 249 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 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
- 794 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)




