Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi.
I use "Variable input" objects, where the user gets two choices (buttons): 'Yes' and 'No' and uses a variable: vShowName. Depending on the selection, different fields are displayed, the selection 'Yes' shows the field 'Name' and the selection 'No' shows the field 'Does not show'.
In another expression I want to check if the user pressed 'Yes' or 'No'?
I want the input like this:
if (vShowName = 'Yes', Field1, Field2).
Have tried GetFiledSelection etc but not found anything to work.
Help needed 🙂
Add below as a Calculated Dimension in Chart, pass field names as string in single quotes
=$(=if ($(vShowName) = 'Yes', 'Field1', 'Field2'))