Forum Discussion
Anonymous
4 years agoNot applicable
Clearing filter context from key column
Hello Team, I am having a problem with understanding what filter function should I use in my example: I have some simple model with fact table and 2 dimensions with attributes and 2 measures whe...
- 4 years ago
Hi Anonymous ,
For the difference between ALL(column) and ALL(table), you can check this blog:
Managing “all” functions in DAX: ALL, ALLSELECTED, ALLNOBLANKROW, ALLEXCEPT - SQLBI.
Then in your scenario, try this:
total = CALCULATE ( [sales_measure], TREATAS ( ALL ( 'fact'[color id] ), 'Dim'[Dim color id] ), ALL ( 'fact'[color id] ) )Here's my test example:
Reference: TREATAS function - DAX | Microsoft Docs
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
4 years agoAnonymous , Dimension will filter Fact(1-M) , Fact will filter dimension only if join is bi-directional
You can stop interaction between two slicers if needed
https://docs.microsoft.com/en-us/power-bi/service-reports-visual-interactions