Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
deepakachar21
Contributor II
Contributor II

How to color the bar above the reference line to Red and below the reference line to Green?

I have used the below expression in the Dimension reference line section. But no luck

=if (sum(Spend) > avg(total aggr(sum(Spend), Region)), red(), Green())

deepakachar21_0-1708675953337.png

 

@rwunderlich Any help sir?

Best,

Deepak

Labels (1)
1 Solution

Accepted Solutions
deepakachar21
Contributor II
Contributor II
Author

I think I have found the solution myself.

Instead of having the expression in Dimension reference line, I put in the Color and Legend section and marking from auto to custom.

This is great learning..

deepakachar21_0-1708676350113.png

 

View solution in original post

1 Reply
deepakachar21
Contributor II
Contributor II
Author

I think I have found the solution myself.

Instead of having the expression in Dimension reference line, I put in the Color and Legend section and marking from auto to custom.

This is great learning..

deepakachar21_0-1708676350113.png