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: 
shekhar_analyti
Specialist
Specialist

Dynamic String variable creation challenge

Hi All ,

Let say I have a variable v_hold = Pic,Pen,Stand,PC,Lamp

And I have two buttons

pen.JPG

I have a requirement in which

when a user presses  button Pen for first time then Pen from variable v_hold should be removed and

if user presses button Stand time then Stand should removed from variable v_hold  and result should be v_hold = Pic,PC,Lamp.

Now again if button pen is pressed then Pen should be added to v_hold and result should be v_hold = Pic,Pen,PC,Lamp

similarly if stand is pressed for second time then Stand should be added and v_hold = Pic,Pen,Stand,PC,Lamp

1 Solution

Accepted Solutions
sunny_talwar

Check the attached

View solution in original post

1 Reply
sunny_talwar

Check the attached