Data Conversion Error
I am very new developer and i'm having formatting issues with an expression. The expression below returns an error message "the Group expression returned a data type that is not valid". My problem is I'm not sure which conversion types to use. Can someone please help?
=(
IIF (Fields!VARIANCE.Value < 0 , (Fields!VARIANCE.Value ),
IIF (Fields!DISCOUNT_VARIANCE.Value < 0 , (Fields DISCOUNT_VARIANCE.Value),
IIF (Fields!TRUE_VARIANCE.Value < 0 , (Fields!TRUE_VARIANCE),(0)))))
I am very new developer and i'm having formatting issues with an expression. The expression below returns an error message "the Group expression returned a data type that is not valid". My problem is I'm not sure which conversion types to use. Can someone please help?
=(
IIF (Fields!VARIANCE.Value < 0 , (Fields!VARIANCE.Value ),
IIF (Fields!DISCOUNT_VARIANCE.Value < 0 , (Fields DISCOUNT_VARIANCE.Value),
IIF (Fields!TRUE_VARIANCE.Value < 0 , (Fields!TRUE_VARIANCE),(0)))))
Last edited: