Hello
I add this expression on matrix on ssrs report:
=IIF(Parameters!BOMCalcTransDetailDS_parmOrderByCalc.Value = "TRUE", Fields!PriceCalcId, Fields!LineNum)
I'm sure that BOMCalcTransDetailDS_parmOrderByCalc.Value returns TRUE of FALSE but report returns this error:
Sort expression used on 'MainTablix' returns a type data that is not valid. (rsInvalidExpressionDataType)
I want order by field PriceCalcId or linenum depend on parameter OrderByCalc.
Somebody can help me?
thanks