Forum Discussion
prvn
7 years agoFrequent Visitor
Previous month and Current month values are same
I'm building a report, the matrix should show current and previous month figures. When i tried both current and previous columns show same values. I have tried multiple ways for the calc...
- 7 years ago
Hi prvn ,
Based on my test, you could refer to below formula:
Measure = CALCULATE(SUM(Table1[Active]),PREVIOUSMONTH('Calender'[Date]))Result(note to use calender date as date):
You could also download the pbix file to have a view.
Regards,
Daniel He
v-danhe-msft
Microsoft Employee
7 years agoHi prvn ,
Based on my test, you could refer to below formula:
Measure = CALCULATE(SUM(Table1[Active]),PREVIOUSMONTH('Calender'[Date]))
Result(note to use calender date as date):
You could also download the pbix file to have a view.
Regards,
Daniel He
munchkin666
Helper II
2 years agov-danhe-msft such a simple formula and works like a charm 🙂 thank you!