- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Modeling Relationship
I have a unique issue that I am not sure can be solved.
I have two data sets with the following fields:
-Table A - Spend family, Category, Sub-category, country, global lead, regional lead
-Table B - Spend family, Category, Sub-category, country, spend amount, PO number + more
I am trying to bring in the global and regional lead from Table A to have the proper drill down of spend per lead from Table B. However, there are cases where there are multiple leads for the same category, sub-category, country. For example, I tried concatnating country, category, sub-category to create a unique ID (duplicates exist in both tables bc there are sometimes multiple leads for the same country.category.sub-category ID). I also have tried using a bridge table leveraging country but it shows me a whole instead of a piece (e.g., if the spend for Spend Family in France was $15, it would show $15 for every category that is associated with the Spend Family).
There does not seem to be a way to get a unique ID out of table A. Anyone have any suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @klee7290 ,
Thanks for the reply from NaveenGandhi .
Please consider adding an additional field, lead, to the connection string to make it truly unique.
For example: country category sub-category lead.
This can be done in Power Query.
If you have any other questions please feel free to contact me.
I would be grateful if you could provide me with pbix file, please remember not to log into your account in Power BI Desktop when uploading the pbix file.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @klee7290 ,
Thanks for the reply from NaveenGandhi .
Please consider adding an additional field, lead, to the connection string to make it truly unique.
For example: country category sub-category lead.
This can be done in Power Query.
If you have any other questions please feel free to contact me.
I would be grateful if you could provide me with pbix file, please remember not to log into your account in Power BI Desktop when uploading the pbix file.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hello @klee7290
Can you share sample data and expected outcome as it will be easier to resolve your issue quicker? Read the below articles if needed.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/td-p/144...
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
10-22-2024 03:41 AM | |||
02-12-2025 10:51 AM | |||
02-25-2025 03:04 PM | |||
08-19-2024 07:27 AM | |||
09-09-2024 09:42 PM |
User | Count |
---|---|
141 | |
111 | |
81 | |
61 | |
46 |