Forum Discussion
Juliet1
3 years agoFrequent Visitor
ALL Function to exclude a slider that contains dates
Hello All
I would like to create a matrix in Power BI that includes specific columns. However, I want one particular column to remain unaffected by external filters. To achieve this, I have used the following formula:
CALCULATE(
COUNT('Table1'[On Time]),
ALL('Table1'[Date])
)
Despite using this formula, I've noticed that when I select a date in the slicer, the filter is still being applied to the column. It's worth noting that I tested the formula with countries instead of dates, and it worked as intended.
Hope anyone can help me!
Edit: I just noticed that the mesure work when I use in the slicer the date as it is but not when I use Date Hierarchy. Any idea why?
Thanks 🙂
1 Reply
- some_bih
Community Champion
Hi Juliet1
implmeent function ALLEXCEPT depending on your need. Link below and watch video on youtube from same link
https://dax.guide/allexcept/ . I hope this help