Forum Discussion
FILTER function with indirect relationship
- 7 years ago
admin_xlsior see attached file for solution. Hope this helps, feel free to reach out if need more assistance.
Hi,
Thanks for replying. Noted on the RELATED function limits. However when I google and look at the samples, it seems CROSSFILTER is just to turn on the relationship, am I right ? how to apply the filter it self ?
Some example from Microsoft Docs:
CROSSFILTER(<columnName1>, <columnName2>, <direction>)
BiDi:= CALCULATE([Distinct Count of ProductKey], CROSSFILTER(FactInternetSales[ProductKey], DimProduct[ProductKey] , Both))
Still confuse, where I put the filter condition it self ?
Forgive me because I really a newbie in Power BI and DAX.
Thanks,
admin_xlsior see attached file for solution. Hope this helps, feel free to reach out if need more assistance.
- admin_xlsior7 years agoPost Prodigy
Hi,
It works. Just what I need. Thank you very much for your help.
- Kat_Finra2 years agoFrequent Visitor
THANK YOU!