Hi,
Can you try using if function??
if(("ScheduleLineCommitedQuantity"='0' AND "ScheduleLIneCummulativeConfirmedQty"='0' ANA "ScheduleLineDeliveredQuantity"='0'),"OrderQuantity",("ScheduleLineCommitedQuantity"-ScheduleLineDeliveredQuantity"))
In calculated column with 'case' function syntax is,
case (arg1, cmp1, value1, cmp2, value2, ... , default)
so, if arg1 == cmp1 will return value1 , arg1 == cmp2 will return value2 and so on , default will be returned if no match.
But in your scenario, there is no need to use case function, with if function only it can be achieved.
Regards,
Rashmi








.jpg)


