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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
aaronnayan
Creator III
Creator III

How to change text of button when clicked

Hi Guys

I have two charts


vtotal= 1 is chart 1

vtotal=2 is chart 2


=if(vTotal=1, 2, 1)

How do i get the text of the button to change when 1 or 2 is selected?

1 Solution

Accepted Solutions
sunny_talwar

May be like this

If(vTotal = 1, 'Text When vTotal = 1', 'Text When vTotal = 2')

View solution in original post

1 Reply
sunny_talwar

May be like this

If(vTotal = 1, 'Text When vTotal = 1', 'Text When vTotal = 2')