Reputation: 13
In SSRS, How to show two columns in drop down of parameter value ? For Example, how to show Product id and Name in drop down of parameter ? Thanks in advance
Upvotes: 0
Views: 2808
Reputation: 39586
I would create a Calculated Field which concatenates the ProductID
and ProductName
in the Dataset you're using to populate your Parameter.
e.g. with the Dataset:
I created a new Calculated Field called ProductIDName
with the expression:
=CStr(Fields!ProductID.Value) & ": " & Fields!ProductName.Value
Now use this new field to populate your Parameter:
End result:
Upvotes: 2