Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

ref line not working

Hi all

I have tried to use add reference line in bar chart presentation tab .

but when I use expression like below

if(sum(sales)>100,red(),green()) 

but its not reflecting  ,

where am doing wrong?

4 Replies
YoussefBelloum
Champion
Champion

Hi,

the expression used here is a coloring expression, did you used on the reference line expression part ?

soniasweety
Master
Master
Author

yes I used this in ref line add  --- definition

I added .

YoussefBelloum
Champion
Champion

this will not work, like I said it is a color expression.

you need to define the value of your reference line before..

stabben23
Partner - Master
Partner - Master

show us a snapshop of the settings in Reference lines.