The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I'm facing a problem on filter context in bi-directional model. I need a bi-direction relationship because i need a count in dimension can work in other dims.
For example, from AdvantureWorkDW, i load FactInternetSales, DimDate, DimCustomer. And create relationship between Fact & DimCustomer as bi-direction, single direction between fact & DimDate.
Then, i create a meausre CustomerCount:=
Solved! Go to Solution.
Hi @Anonymous
I would discourage the use of bi-directional relationships:
https://www.sqlbi.com/articles/bidirectional-relationships-and-ambiguity-in-dax/
You can use cross filter to simulate the biredictional filter temporarily
https://www.wiseowl.co.uk/blog/s2597/cross_filter.htm
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Hi @Anonymous
I would discourage the use of bi-directional relationships:
https://www.sqlbi.com/articles/bidirectional-relationships-and-ambiguity-in-dax/
You can use cross filter to simulate the biredictional filter temporarily
https://www.wiseowl.co.uk/blog/s2597/cross_filter.htm
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Awsome, thank you very much for such prompt response.