Study FAQ
How do I model many-to-many associations without double-counting Power BI totals?
Also asked as 2
- How should a Power BI bridge table handle shared members and totals?
- Why can customer balances through a many-to-many bridge be non-additive?
Answer
Use an explicit bridge to represent each valid association, and define the attribution rule separately from membership. A bridge identifies which entities are related; it doesn't decide whether their measures are additive.
For customers sharing accounts, use Customer, CustomerAccount, Account, and Transaction. CustomerAccount has one row per valid customer-account pair. Customer filters the bridge, an intentionally bidirectional bridge-to-Account path lets the selection reach Account, and Account filters Transaction. Check for competing active paths before adopting that pattern.
Suppose two customers jointly own an account with a balance of 100. Each customer can correctly show 100 under full attribution, while the overall account balance remains 100. Adding the customer rows would incorrectly suggest 200. If the business requires allocation, store association weights where appropriate and apply the agreed allocation calculation; don't infer equal allocation from the existence of a bridge.
Validate a member with one association, a member with several associations, shared accounts, combined slicers, and the grand total. Enforce unique bridge key combinations and hide technical keys where they aren't reporting fields. Direct many-to-many relationships can be valid for specific higher-grain cases, but shouldn't be used merely to suppress duplicate-key errors.
Full explanation
DP-600: Designing Power BI Semantic Models and Relationships in Microsoft Fabric
Study guide · DP-600
Read the full explanation