Forum Discussion
bbbt123
6 years agoHelper I
all selected () unexpected behavior
amitchandak
6 years agoSuper User
If you want cumulative
This need row context to need to be in filter and in max
cumulated hours =
CALCULATE(
[Hours] ,
ALLSELECTED( 'calendar' ), filter('calendar'[week num] <=max('calendar'[week num]))
)
bbbt123
6 years agoHelper I
- bbbt1236 years agoHelper I
- amitchandak6 years agoSuper User
Forgot table in filter
cumulated hours =
CALCULATE(
[Hours] ,
ALLSELECTED( 'calendar' ), filter('calendar','calendar'[week num] <=max('calendar'[week num]))
)Appreciate your Kudos.
- bbbt1236 years agoHelper I