Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi guys, I am wondering if there is a way to fix this. My total sales calculation is right, but my sales by contract name is duplicated. Any fix> please see below for my model.
@cdawidow , You can create a bridge table like.
contract Name = distinct(union(all(Hope[contract Name]),all(contracts[contract Name])))
The same way you can create other dimensions/master/bridge tables
Well I just changed my model hopefully you can see below. What I did was I concatenated both the sales and contract tables to create a relationship but still even with this bridge I created my total values were still wrong
Taking your advice as we speak, Thanks so much
@cdawidow - 9 times out of 10 that's an issue with the relationship. It's almost certainly caused by having many-to-many relationships. I would seek to eliminate those using bridge tables most likely.
Thanks for the help!
I just have one unique column in my tables (Contract Name) which is distinct to only its table. How would I create a bridge table that could allow me to calculate total sales by contract name? Thanks in advance
User | Count |
---|---|
14 | |
10 | |
7 | |
6 | |
5 |
User | Count |
---|---|
30 | |
19 | |
12 | |
7 | |
5 |