cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bbbbbiiiii
Helper II
Helper II

Previous month Measures not appearing in the table

Hi all, I am trying to make the previous month measures to appear even with the year selection on. However, I cant get the slicer not to apply the filter on the previous month. However, I need to show the table to filter according to the slicer filter. Can help?

 

These are the formula i used.

Current =DIVIDE(COUNT(Headcount[Attrition Date]),DISTINCTCOUNT(Headcount[EmpNo.]))

Previous = CALCULATE([Current],PREVIOUSMONTH([DATE]))

 

bbbbbiiiii_0-1627703291280.png

 

1 ACCEPTED SOLUTION
Mohammad_Refaei
Solution Specialist
Solution Specialist

You have to use a separate calendar table and refer to it in your time intelligence functions.

View solution in original post

1 REPLY 1
Mohammad_Refaei
Solution Specialist
Solution Specialist

You have to use a separate calendar table and refer to it in your time intelligence functions.

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Dev Camp Session 26

Check it Out!

Mark your calendars and join us on Thursday, September 29 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors