Forum Discussion
Creating Relationships with duplicative values
- 1 year ago
Hi Anonymous
The issue likely stems from bidirectional filtering in your many-to-one relationship. When relationships are set to filter in both directions, especially in a many-to-one setup, it can cause context propagation issues and inflated aggregations, leading to incorrect calculations like the 27.17 ratio you're seeing. Even though you created a composite key, if the relationship is still ambiguous or if the data model allows both tables to filter each other, Power BI might be duplicating values during evaluation.
Use TREATAS to control context explicitly: Instead of relying on automatic relationship filtering, use TREATAS to apply the correct filter context in your measure.
If you are still facing the issue, it is advisable to reach out to Microsoft Support for better assistance
You can submit a ticket through the Microsoft Power BI Support Portal:
https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket.
Thanks
- 1 year ago
Hi Anonymous
Power BI can accurately calculate total values for cross-table ratios, but only when relationships, filter directions, and context are modeled correctly. In scenarios with multiple fact tables or ambiguous filter paths, totals may appear incorrect not due to a system limitation, but due to the underlying data model. If the total still seems off, it's a signal to revisit the model structure. Common fixes include introducing a proper date or country-month dimension table, adjusting relationship directions, or using revised DAX with clearer filter context. With the right design, totals and row-level results will align consistently. It's better to reach out to Microsoft Support for Better Assistance.
If this post helps, kindly mark it as Accepted Solution.
Thank You.
Sorry about that. I dont know how to attached files to a post but here is a wetransfer link again. This is a sample of data. I noticed you had a 3rd table created in your scenario so that could be my problem
Hi Anonymous
We sincerely regret the inconvenience this issue has caused.After a thorough analysis, we’ve identified that the behavior is due to bidirectional filtering within the data model, leading to complex evaluation challenges. Since this appears to be a deeper issue involving Power BI’s internal relationship handling, we believe it would be best to engage Microsoft Support for more specialized assistance, as suggested by ABD128 .
We hope your issue is resolved soon and appreciate your understanding.
Regards,
Karpurapu D,
Microsoft Fabric Community Support Team.
- v-karpurapud1 year agoCommunity Support
Hi Anonymous
We are following up once again regarding your query. Could you please confirm if the issue has been resolved through the support ticket with Microsoft?
If the issue has been resolved, we kindly request you to share the resolution or key insights here to help others in the community. If we don’t hear back, we’ll go ahead and close this thread.
Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread. We’ll be happy to help.
Thank you for your understanding and participation.