Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
ivandrago
Creator II
Creator II

Toggle Button Multiple Choices

Hi,

I have the attached Document, at the moment when you click the Button it will switch between dimensions and measures. I want it also to incorporate "Show Filters", so after the measure I want it to only show the Multi Box only and then when the Button is clicked again it will go back to Dimensions and will only show that, hope that makes sense.

Thanks

1 Solution

Accepted Solutions
sasiparupudi1
Master III
Master III

5 Replies
richard_chilvers
Specialist
Specialist

At the moment, your variable toggles between 2 values.

You need to change your Actions so it loops round 3 values, for example D (dimensions), M (measures), F (filters).

The conditional show in your object will need to use the relevant value in this variable.

eg. vShowMultiple = 'M' for the measures.

ivandrago
Creator II
Creator II
Author

So how would this be achievable  using my current logic, not sure what to change using the current actions, would it have to be mutiple IF statements

sasiparupudi1
Master III
Master III

Like Attached?

ivandrago
Creator II
Creator II
Author

Thanks Sasidhar, Yes this is what I am after, but how to I get the correct Description to show on the Button for the next Object it shows next?

ivandrago
Creator II
Creator II
Author

Sorted it now, I amended it to the following:

=' Show '  &if(vShowMultiple = 1, 'Dimensions',

if(vShowMultiple = 2, 'Filters','Measures'))