Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
nicanova
Luminary
Luminary

Variable Input Button - Chart Label

Hi - I have a variable input with 4 buttons, and I want the labels from each button to show up in the referenced chart when used. I can get the variable value or the formula behind the variable, but not the button label to show up. But I want the title to change dynamically so if the image is exported, it's clear what measure was selected.

nicanova_1-1669087831095.png

 

 

Labels (3)
1 Reply
did
Employee
Employee

Solved using peek(match:

- buttons set value of variableX (based on the string 'value1~label1|value2~label2...')

- peek(match(variableX, 'value1', 'value2',...), 'label1', 'label2',...)