Forum Discussion
bbbt123
Helper I
6 years agoall selected () unexpected behavior
amitchandak
Super User
6 years agoIf 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
Helper I
6 years ago
- bbbt1236 years ago
Helper I
- amitchandak6 years ago
Super 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 ago
Helper I