Qlik Community

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Customer & Partners, DEC. 9, 11 AM ET: Qlik Product & Strategy Roadmap Session: Data Analytics REGISTER NOW
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
Partner

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
Partner

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

sunainapawar
Creator
Creator
Author

Hi Ali_hijazi,

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