Forum Discussion
AllanBerces
Post Prodigy
2 years agoRemoved Zero from Previous Date
Hi Good day,
I have a calculated column, can anyone help me on how can i removed the zero from previous date and leave it blank.
cumul forecasted =
var cumul_foreacsted =
SUMX(
FILTER(
'S-CURVE_OVERALL',
'S-CURVE_OVERALL'[Plan Date] <=EARLIER('S-CURVE_OVERALL'[Plan Date])
),
'S-CURVE_OVERALL'[forecasted]
)
return cumul_foreacsted
Thank you
AllanBerces , You can use blank function for this
cumul_forecasted =
VAR cumul_forecasted =
SUMX(
FILTER(
'S-CURVE_OVERALL',
'S-CURVE_OVERALL'[Plan Date] <= EARLIER('S-CURVE_OVERALL'[Plan Date])
),
'S-CURVE_OVERALL'[forecasted]
)
RETURN
IF(cumul_forecasted = 0, BLANK(), cumul_forecasted)
2 Replies
- bhanu_gautam
Super User
AllanBerces , You can use blank function for this
cumul_forecasted =
VAR cumul_forecasted =
SUMX(
FILTER(
'S-CURVE_OVERALL',
'S-CURVE_OVERALL'[Plan Date] <= EARLIER('S-CURVE_OVERALL'[Plan Date])
),
'S-CURVE_OVERALL'[forecasted]
)
RETURN
IF(cumul_forecasted = 0, BLANK(), cumul_forecasted)- AllanBerces
Post Prodigy
Hi bhanu_gautam thank you, its working