Forum Discussion
How to: Multiple Active Relationships
How to: Multiple Active Relationships
Dear All,
I would need some help to achieve multiple active relationships.
Currently it is showing me below error.
I need to achieve that I can get mutliple acive relationships between only 2 data sources.
Is this possible?
3 Replies
- ibarrauSuper User
Hi. There is no way to have two activated relationship between two tables. For this case you need to think which of them are just for one calculation and which one is for filter propagation. If you understand the relationship for just a value calculation, you can use an inactive relationship for a measure.
Check this articule to get a better understanding on how to solve this.
https://www.sqlbi.com/articles/userelationship-in-calculated-columns/
Regards,
- AnonymousNot applicable
It is impossible to have multiple active relationships between two tables, However, you can use inactive relationship in your DAX with USERELATIONSHIP.
https://docs.microsoft.com/en-us/dax/userelationship-function-dax
Best, regards
Paul Zheng
- AlainDFrequent Visitor
Hi ibarrau & Anonymous,
Thank you for the answers, it's unfortunate that it is not possible the easy way and I havent got it to work with both solutions offered yet. I must take a little bit more time since power bi is still very new to me.
Will revert back once I get it to work or give up.
Thank you