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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Iamsoul69
Contributor
Contributor

Set Color : Bar Chart by Expression

Hello ! 

  I am a beginner, I would like to know how to set expression on bar chart like this, 

Iamsoul69_0-1676607482966.png

So I need to set Top 3 Bar as other color  for different other bar , How can I set expression for this,

 

Thank you in advance!! 

Labels (1)
3 Replies
abhijitnalekar
Specialist II
Specialist II

Do you have fix values in the dimension? 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
Iamsoul69
Contributor
Contributor
Author

don't fix, 

Thanks, 

abhijitnalekar
Specialist II
Specialist II

Hi @Iamsoul69 ,

Sorry for the late reply. Try adding the below expression in the color expression

=if(rank(measure)<3,red(),blue())

 

abhijitnalekar_1-1680008483882.png

 

 

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!