Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2008 at 02:52 PM

    Hi,

    Any ideas?

    Thanks,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 12:53 PM

    hi,

    is data coming from BI?

    Add a 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,

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.