DerickDavis
8 years agoQrew Trainee
Case Function Syntax Error
Can someone help me to identify the syntax error in the following Case function?
Case([calc Days Until Promise Dt],
<Days(0),"Overdue",
<=Days(2),"Due in 2 Days",
<=Days(4),"Due in 4 Days"
<=Days(7),"Due in 7 Days",
>Days(7),"Beyond 7 Days"
)
//Where[calc Days Until Promise Dt] is of type formula Duration
Case([calc Days Until Promise Dt],
<Days(0),"Overdue",
<=Days(2),"Due in 2 Days",
<=Days(4),"Due in 4 Days"
<=Days(7),"Due in 7 Days",
>Days(7),"Beyond 7 Days"
)
//Where[calc Days Until Promise Dt] is of type formula Duration