Access the "value" field of a variable
Posted: Tue Jul 19, 2016 8:37 am
Hi!
Lets say a report has a variable "Variable1" as defined in the attached screenshot. The "key" field of the variable is the unique identifier of a row and the "value" field is a user friendly description text. The variable is used as a input field (user requested) to filter the report through a parameter refering to the variable "Variable1". The report has a text component on top that shows the value of "Variable1" to show the selected filter to the user. The content of the text component is: {Variable1}. However it shows the "key" value of "Variable1", which is a number and is not very user friendly. Is there a way to access the more descriptive "value" field of the variable so that the user friendly description text will show?
For instance something like {Variable1.Value()}
Regards
Frode
Lets say a report has a variable "Variable1" as defined in the attached screenshot. The "key" field of the variable is the unique identifier of a row and the "value" field is a user friendly description text. The variable is used as a input field (user requested) to filter the report through a parameter refering to the variable "Variable1". The report has a text component on top that shows the value of "Variable1" to show the selected filter to the user. The content of the text component is: {Variable1}. However it shows the "key" value of "Variable1", which is a number and is not very user friendly. Is there a way to access the more descriptive "value" field of the variable so that the user friendly description text will show?
For instance something like {Variable1.Value()}
Regards
Frode