How to query on duplicate relationship phones
Comments
-
Gina Gerhard:
After conversion to 7.95 I ended up with a lot of individual relationships where the phones are coming over from the linked record but they're also showing on the individual relationship as well.
Does anyone know how to query on this condition (so I can remove the duplicate phones?)
Within RE the only thing I can think of is a Pivot Table where you'd look for a Count > 1.
2 -
We have a staged upgraded Environment and our older live environement right now. I'm curious if your individual relationship record is between two constituent records or with a non-constituent individual?
0 -
I'm guessing this is happening on relationships to non-constituent individuals. If it's happening on relationships between two constituent individuals, I'm rather confused how it got like that.
What I would recommend, is building a Relationship query. Restrict this how you want, or not at all. Include these fields in the output:
--Constituent ID
--Constituent Import ID
--Relationship Import ID
--Phone Import ID
--Phone Type
--Phone Number
--Any other human-readable fields you might want for context
Export the output of this query to Excel. Sort by Relationship ImportID, then by Phone Type, then by Phone Number.
Concatenate these three columns into a single column.
Add a column next to that one, starting in row 3 that is something like =IF(E3=E2,"Dup","Keep"). Once that formula has been dragged down the whole column, and spot-checked for accuracy, copy the column, paste as values, sort by that column, and delete everything that is "Keep."
At this point, you could take that list and manually fix all of the records you found. However, I'd think that fixing them in bulk would be much easier.
Replace all of the "Phone Numbers" with the carrot symbol, "^", and import the file. (You may want to test this with a small number of rows, just to make sure it works as intended.) This should delete the phone number, but leave the phone type. If the test worked well, import the remainder, and then run the Delete Phones plugin based on blank phone number fields.
If you want me to elaborate on any of those steps, please let me know.1 -
Alicia - Thanks so much for your thoughtful response!
This is actually happening on individual relationships to organizations, where the individual has their own constituent record.
So here's what I'm getting in my query results (sorry the picture is teeny and I can't seem to make it bigger):- So there are 4 lines for 9304-0 with repeats of the Pref Email and Work Email.
- This is the situation where the relationship has 2 emails coming from the constituent record and 2 'repeats' on the relationship.
But I don't see any distinguishing information on those 4 lines that would allow me to distinguish between the 2 phones on the individual record and the 2 phones on the relationship?
0 -
Ahhhh, ok. That makes more sense. We're currently preparing for upgrade, and we migrated all business phone numbers off of the business relationship record, and onto the Bio 1 of the individual.
What is the bulk of your data cleanup? Would you want to do it manually or automate it? In either case, I believe the instructions I gave would still work. You'd definitely want to test it with just a couple rows to make sure it works as intended though.0 -
Alicia Barevich:
Ahhhh, ok. That makes more sense. We're currently preparing for upgrade, and we migrated all business phone numbers off of the business relationship record, and onto the Bio 1 of the individual.
What is the bulk of your data cleanup? Would you want to do it manually or automate it? In either case, I believe the instructions I gave would still work. You'd definitely want to test it with just a couple rows to make sure it works as intended though.So in the example above, how would I know which 2 of the 4 phones to mark for removal?
0 -
Sorry, but I'm not entirely sure, as I don't have an example of this in our system. You could try exporting out every field available for phones and see if there's any way to figure it out. Also, if you try to import over the "yellow" numbers, it may error out on you, and only let you import over the "blue" ones. Take a test record and play with it to see if you can figure it out.0
-
That's what the last screenshot was showing, I exported out the relationship phones and there's nothing to distinguish the 'yellow' ones from the 'blue' ones -- nothing that I could find. So there's no what to actually know which phone I'm looking at. Very weird .... maybe Blackbaud will chime in0
-
Can you get at anything useful via Export? I'm wondering if the Import ID or System Record ID might be able to shed some light. Compare these IDs to the parallel IDs on the constituent's record. Can you find a match? Discern a pattern?0
-
Nope -- all I see are the 4 phones attached to the relationship and the phone IDs and the phone type - so how do I distinguish the two Pref Emails and the two Work Emails? No way to tell them apart ...0
-
If you look at the Relationship record and make the column "Source Record" visible, you can tell which phones come from the Organization's Constituent record. Unfortunately, this isn't a queryable or exportable field.
If you want to delete all of the duplicate "blue" numbers, I have a theory of what would work, but it would involve a lot of Excel formula work:
Export all phone numbers on relationships suspected of having duplicate phone numbers, including Const ID, Phone Type, Phone Number, and Phone Import ID.
Export all phone numbers on organization records (you could restrict this down to only include organizations with individual relationships...or something like that). Include the same fields.
On the relationship phones list, concatenate Const ID, Phont Type and Phone Number, then use "Highlight cells rules" to highlight duplicate values. Delete any that are not duplicates.
V-lookup based on Phone Import ID, a field into the relationships phone list to indicate which phones are also present on the Organization's record. Any that don't have a match from the V-Lookup are ones you should delete.
Realize, this is theoretical and untested, but it seems to me like it would make sense for the Import IDs to match, and thus, be able to format an import file this way.
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