Forum Discussion
mshparber
4 years agoAdvocate I
ALLEXCEPT entire table
I am trying to build a measure that removes filters from any table, except for Calendar. I try to do: = CALCULATE([Sales Amt], ALLEXCEPT(Calendar) but it requires specific columns. Maybe this sho...
- 4 years ago
In CALCULATE(), tables can be used as filter modifiers; thus you can author DAX formula this way,
= CALCULATE([Sales Amt], ALL(), Calendar)
Jihwan_Kim
4 years agoSuper User
Hi,
I am not sure if I understood your question correctly, but I assume your fact table and a calendar table are connected via [Date] column.
Please try the below measure.
new measure: =
CALCULATE (
[Sales Amt],
ALLEXCEPT ( 'Your fact table', 'Your fact table'[Date] )
)
- mshparber4 years agoAdvocate I
No, this will not work.
It is not how it works in data models in Power BI