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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
i_luv_data88
New Member

Many-to-many relationship using a bridge table?

Hello, I have the following data model: a dimensional table that links to the fact table using the "Marketing ID" field. The problem is the "Marketing ID" field in the dimensional table is not unique, so I have to set up a many-to-many relationship. I'd like to analyze the sales amount by customer state, but the problem is I get duplicate values in the matrix. The total sales amount for all the transactions is $846, but the sum of the individual values in the matrix does not equal $846, most likely because of duplicate values. Would anybody know how to solve this scenario? Would a bridge table help in this scenario? If yes, how can I set this up to avoid double counting sales?

i_luv_data88_0-1680839254531.png

i_luv_data88_1-1680839299510.png

i_luv_data88_2-1680839367058.png

 

1 REPLY 1
amitchandak
Super User
Super User

@i_luv_data88 , Create common/bridge Tables like

 

Power BI- Power Query: When I asked you to create common tables: https://youtu.be/PqfGW6pl1Sw

 

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors