Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
klee7290
New Member

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?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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.

vhuijieymsft_0-1714456697917.png

 

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!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

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.

vhuijieymsft_0-1714456697917.png

 

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!

NaveenGandhi
Memorable Member
Memorable Member

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

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.