Skip to Content
avatar image
Former Member

Traffic Lights Issue

Hi all,

I'm trying to set up some traffic light alerts with visual composer and having trouble to specify the right conditions.

When I put conditions with negative numbers (i.e. "deviation<-10") the alert disappears. I've tried many combinations such as "deviation+10<0" or even writting the formula with the means of deviation, like "real>objective*0,90". But nothing seems to work properly. Any ideas?

Thanks a lot in advanced!

Best regards,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 11, 2008 at 03:10 PM

    Hi Roger,

    I'm not sure what expression you are building but you may find it useful using the sign function to check if the value is negative and if so work with abs(<value>).

    (

    see more details about functions in:

    http://help.sap.com/saphelp_nw70/helpdata/en/bd/90db4238bbf140e10000000a1550b0/frameset.htm

    )

    Hope this helps.

    Regards.

    Omer.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 11, 2008 at 02:52 PM

    Hi,

    Any ideas?

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 18, 2008 at 12:53 PM

    hi,

    is data coming from BI?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      FInally solved taking some boolean arguments:

      For green light: BOOL(IF((@F3Desviac_1_value>-1),'1','0'))

      For yellow light: BOOL(IF((@F3Desviac_1_value>-10),'1','0'))AND BOOL(IF((@F3Desviac_1_value<-1),'1','0'))

      For red light: BOOL(IF((@F3Desviac_1_value<-10),'1','0'))

      Thanks anyway,