Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
abhijith28
Creator II
Creator II

Qliksense KPI object conditional coloring dynamic

Hi,

Someone pls help me with the solution:

I have a KPI object, with two measures.

Measure A and Measure B

The requirement is the Measure B should always be in black and Measure A should be green or red.

If measure A is > than Measure B then green , if measure A is < measure B then red.

 

Labels (1)
5 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You can use the conditional color on KPI object.

https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Visualizations/KPI/KPI-p...

 

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
abhijith28
Creator II
Creator II
Author

Hi,

Thanks for the response.

What would be the expression?

this is what i have implemented.

if(A>B,green(),red())

is this expression fine? or is it mandatory to define red() & green() in the if condition?

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

True,

Make sure that you use Actual Expression instead of A or B.

Regards,

Kaushik Solanki

 

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
abhijith28
Creator II
Creator II
Author

Thank you for your response.

I got the solution

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Can you please share the solution you used, so that anyone who has similar requirement can get an idea from your solution.

Also please mark the post as answered.

 

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!