Forum Discussion
VinLee1314
4 years agoNew Member
Cumulative monthly count
Hi all, Couldn't get my "Cumulative Mthly Leavers" column to work. Would appreciate your guidance, please. Leavers = CALCULATE( [Count of Employees], USERELATIONSHIP('...
- 4 years ago
Hi VinLee1314
you have to YearMonth number column in your date table. The try the following
Cumulative Mthly Leavers =
CALCULATE (
[Leavers],
'Calendar'[YearMonth] <= MAX ( 'Calendar'[YearMonth] ),
ALLSELECTED ( 'Calendar' )
)
tamerj1
Community Champion
4 years agoHi VinLee1314
you have to YearMonth number column in your date table. The try the following
Cumulative Mthly Leavers =
CALCULATE (
[Leavers],
'Calendar'[YearMonth] <= MAX ( 'Calendar'[YearMonth] ),
ALLSELECTED ( 'Calendar' )
)
VinLee1314
4 years agoNew Member