Variable - Show Item Value Not Key
Posted: Sun Mar 19, 2017 4:01 am
How do can I show a Variable Items Value rather than the Key.
In the Expression Editor of a text component I have the expression {Expired} where Expired is the name of the Variable.
The Variable is set up As String Value with Items
Key 1
Value Show All
Key 0
Value Show Expired in Date Range Only
The Report is returning 1 OR 0 but I want it to return Show All OR Show Expired in Date Range Only dependent on the user selected variable.
Thanks
In the Expression Editor of a text component I have the expression {Expired} where Expired is the name of the Variable.
The Variable is set up As String Value with Items
Key 1
Value Show All
Key 0
Value Show Expired in Date Range Only
The Report is returning 1 OR 0 but I want it to return Show All OR Show Expired in Date Range Only dependent on the user selected variable.
Thanks