Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a measure that calculates the cumulative leavers based on a slicer.
I need to same measure, but to calculate based on the previous month,
Code below.
Any help appreciated.
Thanks,
Brian
Cumulative Leavers = COUNTAX( FILTER ( 'Employee Table', ( 'Employee Table'[Leaving Date]>= MINX(ALL('Calendar'[Date]),'Calendar'[Date])) && 'Employee Table'[Leaving Date] <= MAX ( 'Calendar'[Date] ) ) , 'Employee Table'[ID] )
Solved! Go to Solution.
You may try to change it as follows.
&& 'Employee Table'[Leaving Date] < STARTOFMONTH ( 'Calendar'[Date] )
You may try to change it as follows.
&& 'Employee Table'[Leaving Date] < STARTOFMONTH ( 'Calendar'[Date] )
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |