Isolating attributes on a query
We have alumni who leave before completing a program. We document those incompletes under the education attributes. Attributes are given each time they attend, so some may have 2-3 completed programs, an incomplete discharge, and then another completed program after the incomplete. I need those alumni who have ONLY incompletes to NOT be included in my query. Does anyone have any idea how I might accomplish this?
Comments
-
My first instinct is to use a Merge Query. Write a Query of those with the Attribute. Then write a query of records with only Incompletes. Then use a Merge Query and SUB out the second query from the first. (There's a text link at the bottom of the [Merge Queries] window that gives good explanations of the different Merge Operators.)4
-
I'd probably do it is a merged query
First query would be all records with that attribute equaling incompletes
Second query would be all records with that attribute having a value of anything but incompletes
Then merge having the primary query being the first query (incompletes), secondary query as the other query and use the operator of XOR
I believe that will then weed out people that have the attribute on their record with other values then just incomplete
I'm sure the query gurus will correct meI've used merge queries for AND operator but I'm assuming XOR is the one you would want to use
1 -
Jen Claudy:
My first instinct is to use a Merge Query. Write a Query of those with the Attribute. Then write a query of records with only Incompletes. Then use a Merge Query and SUB out the second query from the first. (There's a text link at the bottom of the [Merge Queries] window that gives good explanations of the different Merge Operators.)OK - what Jen said
So, Jen what does XOR operator do?!
1 -
Merge operator explanations: https://kb.blackbaud.com/articles/Article/391802
-
Essentially (the RE Help page includes graphics, which are helpful), this is what the options do:
AND = records that are in both queries (order of the queries does not matter)
OR = records that are in either query (order doesn't matter)
XOR = records that are in either query, but not both queries (order doesn't matter)
SUB = records in the first query that are not in the second query (the order of the queries matters in this one!)1 -
ok I clicked the link to find out about the different operators and obviously XOR is not the right one to use - though I still don't understand why you would ever use that
Honestly I don't trust queries for something that is more complicated like this - I'd try a query then do an export to make sure that the results are what I thought they should be
That might be the easiest way actually
Do one query with everyone with the attribute = incomplete
do an export (from the export tab, not an export from the query) including that attribute with the value of incomplete and a duplicate column of that attribute with values that are not incomplete then sort on the second attribute column and delete all those rows0 -
Dian Myers:
I'm not sure if the subject explains accurately what I'm trying to do.
We have alumni who leave before completing a program. We document those incompletes under the education attributes. Attributes are given each time they attend, so some may have 2-3 completed programs, an incomplete discharge, and then another completed program after the incomplete. I need those alumni who have ONLY incompletes to NOT be included in my query. Does anyone have any idea how I might accomplish this?Thank you all for your input, I appreciate the ideas. After spending the evening mulling it over in my head and looking at your ideas this morning, I think we're going to have to do something different to "tag" the incomplete only, so we can easily separate them from the mixed complete and incomplete. There doesn't seem to be any easy and efficient way to make this happen. I think the ideas are good, but too burdensome for the rest of the staff to bother working through, and I'm not always available to pull a query for them. Again, thank you all for your time and thoughts on this matter!
0 -
This may be a silly question, but in the Education record, does it not have a "Graduated" date or a "Status" field? All of our graduates have a graduated date and a "Graduated" Status so to find those with no completed course, we would simply query on "Graduated date = blank" and/or "Status does not equal Graduated". Never used Attributes for this.1
-
Faith Murray:
This may be a silly question, but in the Education record, does it not have a "Graduated" date or a "Status" field? All of our graduates have a graduated date and a "Graduated" Status so to find those with no completed course, we would simply query on "Graduated date = blank" and/or "Status does not equal Graduated". Never used Attributes for this.Hmm, interesting. I've gone into admin and added Status because that actually makes more sense than using relation codes in the attributes. I still don't see how we can pull the incompletes only. Our alumni aren't actually students, they're patients. We're a treatment center, and they often have a few incomplete attempts before (or after) finishing a program. Once they've completed an entire program, they're considered full alumni, even though they may have prior (or future) incomplete attempts. So we're trying to keep those who've never come back to complete a program from being pulled on a query, while keeping those who have completed at least one program ON the query. If that makes sense. I like your idea of using the status though - it really makes more sense overall. Thank you!
0 -
I've just been off for a week so there's a real possibility that my brain could have gone to sleep here, but if you want to exclude people who have only "incompletes" on their record, is that not the same as looking for people who have at least one "complete", which could be done without using merge queries?4
-
I wonder if solicit codes might be the way to go? You could then query for everyone, and subtract (merging queries, using a query list, etc.) the solicit code for the incompletes? Just my 2 cents.0
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®
- 2.1K 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
- 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