I have SSRS report With 1 Parameter which I want to change datafield based on parameter selected value. I am using the following expression but when report runs value appearing as #error
=iif(Parameters!otype.Value = "order",
Fields!ordernumber.Value,
Fields!grnnumebr.Value)




