Forum Discussion
Ambiguous path - Don't understand why
- 1 year ago
Hi DouweMeer , Thank you for reaching out to the Microsoft Community Forum.
Instead of separate bridge tables between your red filter and Customer/Product, build a single Customer Product bridge dimension that links both Customer and Product to Fact. Then connect your red filter table to this composite dimension. This removes ambiguity and correctly represents the many-to-many relationship between Customer and Product without circular dependencies.
Model relationships in Power BI Desktop - Power BI | Microsoft Learn
Many-to-many relationships in Power BI Desktop - Power BI | Microsoft Learn
You would have to go back to the data engineer of the dimension and fact and separate thise dependency. Even tough more than one customer can sell a product, you can not have the same customer selling the same product on one sales line item. Designing the customer/product dimension would be a way, but you would need a snowflake ProductList table that can filter to one product if the customer is not included.
- DouweMeer1 year ago
Impactful Individual
I'm that engineer. Also, in the picture, blue box on the left would be product, blue box on the right is customer. They individually filter the fact table. Thus, if you'd filter fact table form the product table, it can individually filter the fact table from the customer table.
The intent on the red table is that for a specific customer-product combination, it can provide, say, the sales value. And then for a focusses list of customer-product combinations.
Also, perhaps needed additional context, the blue tables are dimensional table for 2 ERPs at the same time. Intent to see the dollar figure for that customer-product combination from both ERP's perspectives.
- v-hashadapu1 year ago
Community Support
Hi DouweMeer , Thank you for reaching out to the Microsoft Community Forum.
Instead of separate bridge tables between your red filter and Customer/Product, build a single Customer Product bridge dimension that links both Customer and Product to Fact. Then connect your red filter table to this composite dimension. This removes ambiguity and correctly represents the many-to-many relationship between Customer and Product without circular dependencies.
Model relationships in Power BI Desktop - Power BI | Microsoft Learn
Many-to-many relationships in Power BI Desktop - Power BI | Microsoft Learn