Qlik Community

Ask a Question

App Development

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

Announcements
Join us for a live Q&A! September 21, 10 AM ET - Onboarding Fast in Qlik Sense SaaS! REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
jerryhelms2017
Partner
Partner

Multi KPI - icons and conditional coloring

The following graphic is from the Qlik help site.  Does anyone have a code sample showing how to conditionally set icons and colors?

kpi.PNG

Labels (4)
4 Replies
UserID2626
Creator II
Creator II

this is you can achieve under each measure section

Image.JPG

you can simply select the icon for each measure by clicking below icon

Image.JPG

or you can give condition in set expression like if(sum([Revenue])>0,'lui-icon lui-icon--log-in', 'lui-icon lui-icon--person')

giving icon based on dimension is not possible.

rakeshshah
Partner
Partner

Thanks, I've got a similar issue - wondering how you do this for colours though. the image provided by Qlik seems to show conditional colours based on value - but im having trouble finding it. I saw this "conditional value colour" but it doesn't bring up an FX to enter the condition.

rakeshshah_0-1593142890592.png

 

orstenkarki
Partner
Partner

Hello, in order for this to work, you need to set the conditional colours at the Master Item (measure) level.

Cheers!

smgt90
Contributor II
Contributor II

This is the correct solution, thanks!