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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.