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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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