Forum Discussion
Anonymous
6 years agoNot applicable
PREVIOUSMONTH & FITLER
Hi, I am trying to report a previous month's number but only when another column is filtered. i would like the model to report the previous month count for when it is terminated. i have tried t...
- 6 years ago
Try with IF:
=IF(MAX(Sheet1[Status]="Terminated",CALCULATE(SUM(Sheet1[WSE]),PREVIOUSMONTH(Sheet1[Report Date])), "-")
Tahreem24
Super User
6 years agoTry with IF:
=IF(MAX(Sheet1[Status]="Terminated",CALCULATE(SUM(Sheet1[WSE]),PREVIOUSMONTH(Sheet1[Report Date])), "-")
- Anonymous6 years agoNot applicable
Tahreem24 Thank you for your assistance, unfortunately i received the below error when trying the Max function
"The MAX function only accepts a column reference as an argument"