Forum Discussion
RichardJ
6 years agoResponsive Resident
SWITCH assuming a blank numeric column is zero - need help with syntax
Apologies for the rookie question but I cant figure out the correct syntax to generate values in a new column. I think the issue I am having is due to the switch function identifying a Blank numeric...
- 6 years ago
maybe this
Forecast Accuracy = SWITCH( TRUE(), ISBLANK(DrawingSet[Duration between Forecast and Approval]), "No Data", DrawingSet[Duration between Forecast and Approval] >0, "Delivered Early", DrawingSet[Duration between Forecast and Approval] =0, "Delivered On Time", DrawingSet[Duration between Forecast and Approval] <0, "Delivered Late", "Undefined" )
az38
6 years agoCommunity Champion
maybe this
Forecast Accuracy =
SWITCH(
TRUE(),
ISBLANK(DrawingSet[Duration between Forecast and Approval]), "No Data",
DrawingSet[Duration between Forecast and Approval] >0, "Delivered Early",
DrawingSet[Duration between Forecast and Approval] =0, "Delivered On Time",
DrawingSet[Duration between Forecast and Approval] <0, "Delivered Late",
"Undefined"
)