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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Phara
Contributor III
Contributor III

Selected buttons

Is there any way that a button can change color it's selected? I have a button that is matched with a favorite and I want for the user to see that the button has been selected instead of looking in the filters. Does this exists?

For instance, I have the white button here that is not selected but when it does, it has to become grey.

 
Phara_0-1715630989715.png Phara_1-1715631036867.png

 

Thanks to all of you for your help!

Labels (1)
3 Replies
igoralcantara
Partner Ambassador/MVP
Partner Ambassador/MVP

Yes. I made a video a while ago showing a technique I developed with prime numbers.

https://www.ipc-global.com/post/ipc-global-tips-8-using-mathematical-concepts-to-control-visibility-...

Check out my latest posts at datavoyagers.net
Phara
Contributor III
Contributor III
Author

Hello @igoralcantara 

Your technique seems very interesting but I dont need any column to disappear because it's a pivot table. Do you know a trick that will make the button change color or just for it to be obvious that the filter has changed? 

Thanks

igoralcantara
Partner Ambassador/MVP
Partner Ambassador/MVP

You can adapt that technique. The main point is to use a single variable and prime numbers to control multi-state situations like this.

Check out my latest posts at datavoyagers.net