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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
slondono
Partner - Creator II
Partner - Creator II

Semaphore problem

Hi guys.

Im having a problem with a semaphore. I have two dates and i need the difference in days between them so i just do date 1 - date 2 and it works fine. The problem is that when the difference is zero, qlik paint black...and should paint green.

sem.PNG

conf.PNG

Having only 3 segments (green, yellow, red) why is it painting black when the difference is zero??

really apreciate your help on this. Thanks

3 Replies
settu_periasamy
Master III
Master III

Hi Sebastian,

What is the expression?

slondono
Partner - Creator II
Partner - Creator II
Author

LiquidacionesDefinitivas.FechaNotificacion - LiquidacionesDefinitivas.FechaCorte

Is just date1 - date2

settu_periasamy
Master III
Master III

For me, it shows green.. May be instead of Gauge, try to use the image representation. Like

if(Date1-Date2>10,'qmem://<bundled>/BuiltIn/led_g.png',

if(Date1-Date2>5,'qmem://<bundled>/BuiltIn/led_r.png','qmem://<bundled>/BuiltIn/led_y.png'))