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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Venkatesh_Yellu11
Contributor III
Contributor III

Hide/Show Buttns

Hi All,

I have a requirement as below  

There are Three buttons.

1) Risk

2) Non Risk

3) Full View

Each button has set of Layout container in side KPI's 

When I click on Risk , Only this one  

Satish_111_0-1734282908603.png

When I click on Non Risk, Only this one 

Satish_111_1-1734283079424.png

When I click on Full View, Only this one 

Satish_111_2-1734283136478.png

Like this below buttons.

Satish_111_3-1734283343394.png

How Do i achieve this?

 

Labels (2)
3 Replies
Somasundaram
Creator III
Creator III

Create three variables: vRisk, vNonRisk, and vFullView, and initialize their values to 0.

Set up three buttons, each configured with an action to update the corresponding variable's value to 1 when clicked, while ensuring the other two variables are reset to 0.

For the layout charts, use conditional show logic based on these variable values (vRisk=1, vNonRisk=1, or vFullView=1) to display the relevant KPIs dynamically. Add corresponding variables for each KPI to handle their visibility logic.


-Somasundaram

If this resolves your Query please like and accept this as an answer.
Venkatesh_Yellu11
Contributor III
Contributor III
Author

Not a Single KPI

Risk Layout Container have a 5 KPI's

Non Risk Layout Container have a 5 KPI's

Full View Layout Container have a 10 KPI's

Somasundaram
Creator III
Creator III

Place all KPIs within a single layout container, and use buttons to update variable values. Utilize these variables in the Show condition to dynamically control the visibility of KPIs, displaying or hiding them based on the variable values.


-Somasundaram

If this resolves your Query please like and accept this as an answer.