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: 
Furblos
Contributor
Contributor

How to change the values of a KPI based on filters?

Hey Guys,

I have a problem related to my dashboard.

I have two main KPIs, one is for people still active, the second one is for people who are going to retire.

My problem is that when I filter people who are going to retire, I wanna hide or show the value of 0 in the KPI (the one with active people)

How can I do that? 

 

Thanks in advance!

Labels (3)
1 Reply
Lauri
Specialist
Specialist

Try this as the expression for the active KPI, if you want it to be empty when you select retiring people:

If(GetSelectedCount([Retiring])>0, Null(), Count([Active]))