Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
nicanova
Contributor III
Contributor III

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',...)