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: 
hafaneh
Contributor III
Contributor III

Qlik sense button action in container

i have 2 containers that has 3 tabs 1(daily) 2(monthly) 3(yearly) 

i want a button that when i click on it to change the tab for both container

 

like 1 button for daily

2 button for monthly 

3 yearly 

 

can someone help me to achieve this??

7 Replies
MartW
Partner - Specialist
Partner - Specialist

you can use conditional show here.

if the conditional show isn't active (let's say 0 = 1 ) then the tabs will not show (until condition is met) (see screenshots, also note: 3rd screenshot barchart tab condition is not met so out of edit mode the tab doesn't show)

MartW_0-1694612593434.pngMartW_1-1694612666023.png

MartW_2-1694612682736.png

 

sbaro_bd
Creator
Creator

Hello @hafaneh ,

From my point of view, I don't think this possibility exists on Qlik Sense.

If your tables have the same dimensions and structure, you can use a button to change alternatively measures according  to a variable : each button give a different value to the variable (daily, monthly, yearly).

Sohan_Patil
Contributor III
Contributor III

Hi,

In the below snapshot three bar chart Year, Month an daily are placed in a container and three buttons.

Sohan_Patil_0-1694614254629.png

you can add show condition in container

Sohan_Patil_1-1694614429332.png 

button condition :

Sohan_Patil_1-1694614598359.png

 

 

 

hafaneh
Contributor III
Contributor III
Author

hello thank you for the answer 

do you recommend doing this also with bookmarks ? or with var is better ? 

also for me with the var its just hide the tabs not going to the tab like button(yearly) to tab (yearly) can you help me with this 

hafaneh
Contributor III
Contributor III
Author

hello thank you for the answer 

do you recommend doing this also with bookmarks ? or with var is better ? 

also for me with the var its just hide the tabs not going to the tab like button(yearly) to tab (yearly) can you help me with this 

MartW
Partner - Specialist
Partner - Specialist

@hafaneh, I would recommend using variables instead of bookmarks. because then the user can keep there selections.

I think that what @Sohan_Patil is basically what you will end up having. only difference here is that with the buttons (gray and green) the user will control 2 container objects instead of 1.

the hide tab thing is a Qlik thing. it will hide the tab because of the conditional show. it will only show the tab is the condition is met.

hafaneh
Contributor III
Contributor III
Author

i did the same thing here but it didnt go to the next tab thats why i said bookmarks cuz when i did the bookmarks it did go and changed the selection like i want, and when i try to use the filter its only effect like (DAily sales) only the button i selected,

but with the var i only hide and show the tab without going to the table i want in the container