Forum Discussion
Anonymous
6 years agoNot applicable
Running total with 0 values
Hi, I have this table in my model : DAY_ORDER SHIFT WEEKDAY QUANTITY 1 NIGHT_SHIFT_WD MON 70 1 MORNING_SHIFT_WD MON 43 1 EVENING_SHIFT_WD MON 75 2 NIGHT_...
- 6 years ago
Anonymous You can create an additional measuere as
Measure = SUMX('Table','Table'[QUANTITY])and new measureMeasure 2 = IF([Measure]=0,0,[QUANTITY running total in WEEKDAY])
TomMartens
6 years agoSuper User
hey Anonymous ,
you can use WEEKDAY(TODAY() , ...) to find out the daynumber of the weekday, incorporate into your statement and return BLANK() if DAY_ORDER is greater than WEEKDAY(TODAY() , ...).
Hopefully, this provides some new ideas that will help to tackle your challenge.
Regards,
Tom