Power BI and Gift Table Column Expansions
I have been experimenting with expanding all possible Gift table columns to see what other data is available to me and so I can dump my overly complicated gift_splits table (my own fault).
So far so good, with the biggest discovery is that gift_splits.id is not unique so I had to update a few revenue measures to make sure I did not sum up duplicate amounts.
Has anyone else looked into this and run across any other caveats?
Comments
-
@Mark Zigadlo
not sure what you mean by “gift_splits.id is not unique". It is unique to the gift split. So the issue likely has to do with what other one-to-many relationship you may have “expanded”.a single gift with 5 gift splits will have 5 rows and each with its own unique gift splits id, however, if you also expanded fundraisers (for example, as it is another one-to-many relationship), and the single gift has 2 fundraisers, then you are going to get 10 rows of data for the combination of 5 splits times 2 fundraisers, there by making gifts split id showing twice (once for each fundraiser).
0 -
Yes, it is because I expanded fundraisers so I now have rows with the same split id
0 -
@Mark Zigadlo
expanding more than one-to-many relationship in a single data table is not a good idea, at most you should only expand one of such relationship, and keeping in mind that expanding that will cause your data table to duplicate columns that would (1) waste space in the power bi storage (local and cloud) and (2) potential double counting if not careful, such as the amount column that represent amount on the gift levelit is much better to have separate data table, where one is the main gift table that has all the one-to-one field (i.e. gift date, gift amount, gift id, gift type/subtype, etc) and then one table for each one-to-many relationship keeping the gift id for relationship linking (i.e. gift split table - gift id, campaign id, fund id, appeal id, package id, split amount) and (i.e. gift fundraiser - gift id, constituent id, amount credit to fundraiser) and (i.e. soft credit - gift id, constituent id, amount soft credited)
0
Categories
- All Categories
- 2 Blackbaud Community Help
- High Education Program Advisory Group (HE PAG)
- BBCRM PAG Discussions
- Luminate CRM DC Users Group
- DC Luminate CRM Users Group
- Luminate PAG
- 186 bbcon®
- 1.4K Blackbaud Altru®
- 389 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 14 donorCentrics®
- 355 Blackbaud eTapestry®
- 2.4K Blackbaud Financial Edge NXT®
- 616 Blackbaud Grantmaking™
- 542 Blackbaud Education Management Solutions for Higher Education
- 3.1K Blackbaud Education Management Solutions for K-12 Schools
- 909 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 207 JustGiving® from Blackbaud®
- 6.2K Blackbaud Raiser's Edge NXT®
- 3.5K SKY Developer
- 236 ResearchPoint™
- 116 Blackbaud Tuition Management™
- 160 Organizational Best Practices
- 232 The Tap (Just for Fun)
- 30 Blackbaud Community Challenges
- Blackbaud Consultant’s Community
- 18 PowerUp Challenges
- 3 Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 3 Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 71 Blackbaud Community All-Stars Discussions
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 743 Community News
- 2.8K Jobs Board
- Community Help Blogs
- 52 Blackbaud SKY® Reporting Announcements
- Blackbaud Consultant’s Community
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- Blackbaud Francophone Group
- Blackbaud Community™ Discussions
- Blackbaud Francophone Group