Hi Guys
I'm trying to sum up all values from the current period. I assumed the below would work:
But I receive:
"Calculation error in measure 'UTILIZATION SHEETS'[Measure 1]: A function 'MAX' has been used in a True/False expression that is used as a table filter expression. This is not allowed."
Typing in the latest period, e.g. 11 instead of "max('UTILIZATION SHEETS'[Period])", works but this obviously isn't ideal.
Does anyone have a solution?
Thanks!
I'm trying to sum up all values from the current period. I assumed the below would work:
Code:
=CALCULATE(sum('UTILIZATION SHEETS'[CS]),'UTILIZATION SHEETS'[Period]=max('UTILIZATION SHEETS'[Period]))
But I receive:
"Calculation error in measure 'UTILIZATION SHEETS'[Measure 1]: A function 'MAX' has been used in a True/False expression that is used as a table filter expression. This is not allowed."
Typing in the latest period, e.g. 11 instead of "max('UTILIZATION SHEETS'[Period])", works but this obviously isn't ideal.
Does anyone have a solution?
Thanks!