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: 
sunainapawar
Creator
Creator

Show and Hide a KPI based on button selection in qliksense

Hello,

I have a requirement of Showing KPI's based on Button Selections in Qliksense. 

This is possible in Qlikview i am aware but in Qliksense i am not getting how to do this. 

I have seen various posts in Qlik community but it is not related to what i am searching for.

Buttons are for QTD,Day on Day and QTD vs PQTD%. If user selects QTD, KPI must reflect QTD value, If DOD, then DOD value in Qliksense and similarly for QTD vs PQTD%. 

i need something to be done like this. 

sunainapawar_0-1620287249790.png

Any Suggestions.

1 Solution

Accepted Solutions
ali_hijazi
Partner - Master II
Partner - Master II

Create a variable let's say it's vL.DisplayOption
each button should set this variable to a value; let's say button1 sets it to 1, button2 sets it to 2 and so on...
in the KPI's expression put the following:
pick($(vL.DisplayOption),expression1, expression2,...)

ali_hijazi_1-1620293710480.png

 

I can walk on water when it freezes

View solution in original post

2 Replies
ali_hijazi
Partner - Master II
Partner - Master II

Create a variable let's say it's vL.DisplayOption
each button should set this variable to a value; let's say button1 sets it to 1, button2 sets it to 2 and so on...
in the KPI's expression put the following:
pick($(vL.DisplayOption),expression1, expression2,...)

ali_hijazi_1-1620293710480.png

 

I can walk on water when it freezes
sunainapawar
Creator
Creator
Author

Hi Ali_hijazi,

Thanks for your response.. The solution is working as expected.