I am trying to add a calculated field in my Data Source connection. If column 'Order Status' is not equal to 'Shipped' then give the sum of the 'Carton Count' else return 0.
This is what I tried and not sure why it won't let me use this.
IF([Order Status]) != 'Shipped'
THEN SUM([Carton Count])
ELSE 0
END