Forum Discussion
JamesBurke
Helper III
2 years agoMax Month -1
Hi , Max Month Usages = Var MaxMonthValue = CALCULATE(MAX('Date'[Year Month Number]) , FILTER('Date',[UsagesCount] >= 1)) RETURN CALCULATE([Total Kwh],'Date'[Year Month Number] = MaxMonthVal...
JamesBurke
Helper III
2 years agoThanks for the Quick response,
I'm getting a Function Placeholder is being used Error ?
AmiraBedh
Super User
2 years agoCan you share your dataset ?
- JamesBurke2 years ago
Helper III
I'm not able to share my dataset unfortunately
- JamesBurke2 years ago
Helper III
Max Month Usages -1 =Var MaxMonthValue =CALCULATE(MAX('Date'[Year Month Number])-1 ,ALL('Date'),FILTER('Date',[UsagesCount] >= 1))RETURNCALCULATE([Total Kwh],'Date'[Year Month Number] = MaxMonthValue)Does not have an error when using the Filter function however returns blank still