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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Ankit3
Contributor II
Contributor II

How to add conditional flags in Qlik Sense KPI Charts ?

Hi All,

My requirement is to show  ▲ arrow when Sales Growth is >5000 else  ▼ arrow.

Please guide how to achieve this.

Thanks

Labels (1)
2 Replies
KGalloway
Creator II
Creator II

It will depend on what calculation you use to get Sales Growth. For my example, I assume a simple sum:

if(sum([Sales Growth]) > 5000, sum([Sales Growth]) & ' ▲', sum([Sales Growth]) & '  ▼')

This would show the following for a Sales Growth value of 5237:

5273 ▲

and it would show the following for a value of 4222:

4222 ▼

vinieme12
Champion III
Champion III

I would suggest using the expression shared by @KGalloway  but encapsulating it in Dual() as  below

 

=Dual ( Num(sum([Sales Growth]),'#,##0') & if(sum([Sales Growth]) > 5000,' ▲', '  ▼') ,  sum([Sales Growth]) )

 

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.