Traffic light on the basis of last month

Hi guys,
I have a question about the traffic light in the model Visual Composer. I would like to have a traffic light besids a table or graphic that wil be shown the status ( Green, red, yellow!) on the basis of the last month. In the table or in a graphic wil be shown several data of several months. But the traffic light have to respond on the basis of last month. That means that, if the last month exception( in the query) is green, the traffic light also wil be green.
Can anybody help me please?
Another question.
How can i get only two types of order as example in a pie chart? I have seen that in a pie chart you can only add one formula, not two.So!!
Thanks,
Regards,
Esrat

In the VC model create an Expression Box. Double click on this box to open up its Properties.
In the control properties window there is tab "Styles", here give Green color to the column 'Style' and in the next column 'Condition' select 'Enter Formula...'
Select the field and enter the condition.
Like
Style      Condition
Style 1   @CITY == 'Frankfurt'
Style2    @BANK_CTRY == 'DE'

Similar Messages

  • I just purchased an airport extreme router to increase the range of    my wifi. I have an imac with 10.5.8. I get a flashing yellow light on the base unit and it tells me I need airport utility to install yhe ubnit. Where do I get this and how do I do it?

    I just purchased an airport extreme router to increase the range of my wifi. I have an imac with 10.5.8. I get a flashing yellow light on the base unit and it tells me I need airport utility to install yhe ubnit. Where do I get this and how do I do it?

    sylviafromhanover wrote:
    So I assume that the original modem stays installed with the coaxial cable and the Exrtreme is in addition to that. 
    Yes, that is correct.
    Did you have the instructions that came with your Airport Extreme?  Are you sure you have it setup properly?  Here is the setup guide:
    http://manuals.info.apple.com/en/airportextreme_802.11n_userguide.pdf 
    Ensure you have everything setup properly.  Once you do this and if you are still having trouble, follow Star's instructions. 

  • To fetch data on the basis of last program run date and time

    Hi all,
    My query is as folows:
    I am selecting BOM components from STPO table on the basis of some criteria.
    My requirement is to select only BOM components which are newly added or created after last program run,i.e. STPO-AEDAT and STPO-ANDAT are greater than last program run.Here i fetched last program date from customised structure(client specific) which has date field also,and compared with aedat and andat in STPO records.But how can I connect it with last run time as there is no such time field in STPO table.I need to fetch this data on the basis of last program run(time+date).
    Please help me..it's crucial,
    Thanks in advance,
    Meena

    Hi,
    We had a very similar requirement.
    We developed a custom-solution for this.
    Create a Z-Table and update it with your progname, date and time.
    Whenever the BOM was changed, it generated a change number ( this has to be done by the user)
    You can get the date and time from the change Number Table AENR and compare it with the timestamp in Z-TABLE
    Hope it helps,
    RJ

  • How to find, the growth of the database since last month?????

    How to find the growth of the database since last month
    my db name is orcl
    There are multiple operations perfomed in my database.......I want to find,
    how much my database is increased with the last month......
    Thanks in advance.......

    Define what you mean by growth?
    More datafiles
    More tablespaces
    More table rows
    More objects
    More operating system space used
    In what version to four decimal places?
    On what operating system?

  • Order by on the basis of last characters of the column

    hi
    i have this type of data in Column
    ABL - Allied Corp. services (XES) - Newyork
    ABL - Allied Corp. services (XES) - Chicago
    SBS - Logistics - Newyork
    ETC..
    As the last characters are for city and i want to perform order by on the basis of city.The naming convention is "the name always contain two hiphens(-)
    and the city name in the last".(means after second '-')
    Regards

    SQL> INSERT INTO dt_test VALUES('ABL - Allied Corp. services (XES) - Newyork');
    1 row created.
    SQL> INSERT INTO dt_test VALUES('ABL - Allied Corp. services (XES) - Chicago');
    1 row created.
    SQL> INSERT INTO dt_test VALUES('SBS - Logistics - Newyork');
    1 row created.
    SQL>
    SQL> select
    2 column_1
    3 FROM
    4 dt_test
    5 ORDER BY
    6 SUBSTR(column_1, INSTR(column_1,'-',1,2) + 2);
    COLUMN_1
    ABL - Allied Corp. services (XES) - Chicago
    ABL - Allied Corp. services (XES) - Newyork
    SBS - Logistics - Newyork

  • Traffic light showing the red colour in vl10g after all status completed

    Hi Team,
    My client facing one issue regarding the vl10g traffic light it show red colour after all document status is completed so please let me know I have to used which oss note / I have to debug the program(this is the standard T.code) or which way i have to used for resolved this issue so please replay argentely this great help to me and I am very thankful for corporation.
    Regrads,
    Ravi SAP SD

    RaviSAPSD wrote:
    it show's the error i.e. "No delivery-relevant items in order 0527087193, order type OR"
    With this in mind, I'd doubt the previous statement that the order status is 'completed'. Such orders wouldn't be picked up for the Delivery Due list. It is possible that either there is a line item that is not relevant to delivery yet it makes the order header status incomplete. Thus Delivery Due list picks up the order # based on the header status but when it checks the line items, there is nothing relevant for delivery.
    Check again the order statuses, not just on screen but in the tables VBUK/VBUP. Additionally, you can search for the notes yourself using the message ID/number (e.g. VL 001, which you should see, along with the long text, when you double-click on the message).

  • Get the yesterday or last month data

    Hi ,
    I've need a small help .
    This is the scenario.
    If today is 1st feb. so I need to get last month data.
    if today is 30 th i need to get the current month data before 30 I mean 29 days data.
    I have to do it automatically i mean i need to write case statement in my existing query by using sysdate and i have to get it .
    pls help me out . Your help is greatly appreciated.
    Thanks & Regards,
    madhav.

    Haven't tested it, but you could try something like
    This gives you last months data if executed on the first day of the month otherwise this months data until the day before today
    select *
    from my_table
    where my_date >= add_months(trunc(sysdate, 'MM'), sign(trunc(sysdate)-trunc(sysdate, 'MM'))-1)
    and   my_date <trunc(sysdate)After I read your posting again, I guess you wanted something else
    This query now gives you last months data if executed on the first day of the month otherwise the data of the day before today
    select *
    from my_table
    where my_date >= (case when trunc(sysdate) = trunc(sysdate, 'MM') then add_months(trunc(sysdate, 'MM'), -1) else trunc(sysdate-1) end)
    and   my_date <trunc(sysdate)Message was edited by:
    Jens Petersen

  • Getting the data for last month of every year

    Hi,
           How to declare the date if we want to pull the data from the December of every year.
    For example if the query is run in march 2015 and they want the historical data it should pull only the data from dec 2014.
    In the same way if they ran the query in future jun 2016 and if they want to historical data it should pull only data from dec 2015.
    It should not coded manually. Please help me with date format that need to used.
    BALUSUSRIHARSHA

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    A table has to have a key to be table.  Here is my guess at a repair job: 
    CREATE TABLE Test_Data
    (pu_id INTEGER NOT NULL
      REFERENCES PU(pu_id),
     pu_date DATE DEFAULT CURRENT_TIMESTAMP NOT NULL,
     PRIMARY KEY (pu_id, pu_date),
     x_count INTEGER,
     y_count INTEGER);
    Identifiers are not numeric in a good schema. What math do you do with them? They are also the key in the table that models the entity they identify. Where is the PU table (and what is a PU anyway)? 
    INSERT INTO Test_Data
    VALUES
    (28, '2014-01-01', 10, 20), -- crap! No key in this mess!! 
    (28, '2015-01-01', 30, 20), -- 
    (28, '2014-12-12', 10, 20), 
    (28, '2015-02-02', 10, 20);
    A PIVOT is not a query and not even part of SQL. It is how Microsoft programmers who do not know RDBMS or have a report writer violate the tiered architecture of SQL. We also do not use XML mixed in SQL. It is a bitch to maintain, has poor performance and again
    violates the tiered architecture principle. 
    A query is not sorted because it is a table. A file in COBOL can be sorted and that seems to be what you really want to write. 
    Old COBOL love the Sybase CONVERT() string function to avoid SQL temporal data. 
    We never use SELECT * in production code; Google it. Not only are you generating code, you are generation bad code. 
    Since SQL is a database language, we prefer to do look ups and not calculations. They can be optimized while temporal math messes up optimization. A useful idiom is a report period calendar that everyone uses so there is no way to get disagreements in the DML.
    The report period table gives a name to a range of dates that is common to the entire enterprise. 
    CREATE TABLE Month_Periods
    (month_name CHAR(10) NOT NULL PRIMARY KEY
       CHECK (month_name LIKE <pattern>),
     month_start_date DATE NOT NULL,
     month_end_date DATE NOT NULL,
      CONSTRAINT date_ordering
        CHECK (month_start_date <= month_end_date),
    etc);
    These report periods can overlap or have gaps. I like the MySQL convention of using double zeroes for months and years, That is 'yyyy-mm-00' for a month within a year and 'yyyy-00-00' for the whole year. The advantages are that it will sort with the ISO-8601
    data format required by Standard SQL and it is language independent. The pattern for validation is '[12][0-9][0-9][0-9]-00-00' and '[12][0-9][0-9][0-9]-[01][0-9]-00'
    This will port and waste time calling string function row by row. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Agent Inbox - how to change SLA colors (traffic lights) in the Web UI

    In agent inbox,
    component: ICCMP_INBOX
    view: InboxResultView and view: InboxItems
    There is a field : overdue
    This field displays red or green based on the due date of the inbox items.
    I want to change this color based on my own custom logic.
    Where do i write code for this ?
    While debugging I see that the field Overdue has only the due date and time but on the web UI screen I see that this field has a red or green icon. Does anyone know where is the code written for displaying the sla color.
    Thanks,
    Karthik

    Hi Karthik,
    In the context node class -> goto Attributes -> there you can see iterator class, for example : CL_ICCMP_IN_INBOXRESULT_IT
    Go to the iterator class and look at method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START
    There's logic on how to show the icon overdue become red, yellow or green. You can enhance the iterator class and modify the logic to whatever you want and then change the attribute of the context node class to the Z-iterator class
    Hope it's help,
    Lina

  • Ever since i downloaded the new firefox last month i cant watch movies or live tv like the news and before it work!! can someone tell me whats wrong?

    i cant watch any kinda movies nor live tv like the news and before i upgraded i could i have even upgraded my flash and adboe and still nothing!! whats the deal?

    You can check for problems caused by a recent Flash 11.3 update and possibly downgrade to Flash 11.2 or 10.3.
    *https://support.mozilla.org/kb/flash-113-doesnt-load-video-firefox
    *https://support.mozilla.org/kb/flash-113-crashes
    *http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html

  • How to calculate the sales in the last month of last year

    Hi all,
    I have a requirement need to implement ,
    the report has three columns,
    MONTH----SALES----SALES2
    201201----10------------100
    201202----20------------100
    201203----30------------100
    201204----40------------100
    201205----50------------100
    The Sales2 is the sales of last month of last year, that is sales in 201112, value is 100.
    How to realize this requirement ?
    thank you in advance!!!

    sorry,
    I think you maybe not understand my requirement.
    What I want to implement as follow,
    MONTH----SALES----SALES2
    201201----10------------100 (This is 201112's Sales)
    201202----20------------100 (This is 201112's Sales)
    201203----30------------100 (This is 201112's Sales)
    201204----40------------100 (This is 201112's Sales)
    201205----50------------100 (This is 201112's Sales)
    201206----60------------100 (This is 201112's Sales)
    If I set SALES2 =AGO(SALES,MONTH, <number of period>)
    how can I set <number of period> ?
    201201 should mapping to 201112
    201202 also mapping to 201112
    201203 also mapping to 201112
    201204 also mapping to 201112
    201205 also mapping to 201112
    201206 also mapping to 201112

  • Powershell Change date to the first day of last month whenever i run the script.

    If I run the script on 2/4/2013 or any other day in February I want the date to be change to 1/1/2013. I am replacing date on line 59 with this value.
    Get the content of the CMS Script.
    $CMSReport = Get-content C:\reports\CMSReport.acsauto
    Go to line 59 and replace the date for Last Month date.
    $CMSReport[58] = $CMSReport[58] -replace "([1-9]|0[1-9]|1[012])- /.- /.\d\d", [datetime]::Today.ToShortDateString() $CMSReport | Set-Content C:\reports\testCMS.acsauto
    Run the CMS script
    Invoke-Expression -command "c:\reports\testCMS.acsauto"

    PS C:\> $lastMonth = (get-date).AddMonths(-1)
    PS C:\> $firstDayOfLastMonth = get-date -year $lastMonth.Year -month $lastMonth.Month -day 1
    PS C:\> "{0:yyyy-MM-dd}" -f $firstDayOfLastMonth
    2013-01-01
    Bill
    Hello AbqBill,
    Thanks for getting me there. I am a lot closer to the final goal. I input what you suggested and I am getting different results as you. here what I did.
    $LastMonth = (Get-Date).AddMonths(-1)
    $FirstDayofLastMonth = Get-Date -year $LastMonth.year -month $LastMonth.month -day 1
    $CMSReport = Get-content C:\reports\CMSReport.acsauto
    $CMSReport[58] = $CMSReport[58] -replace "([1-9]|0[1-9]|1[012])[- /.]([1-9]|0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d", "{0:dd/MM/yyyy}" -f $FirstofLastMonth
    $CMSReport | Set-Content C:\reports\testCMS.acsauto
    I get 12/1/2013. Which bring me to 2 questions. How will this solve when it is January and it has to put last month last year? and why is it going back two month instead of 1?

  • I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each.  Now again I'm getting that same $38 charge. I can

    I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each.  Now again I'm getting that same $38 charge. I can't  believe that the monthly CT tax is higher than the payment for the phone itself. Does this make sense. Last time I spoke with them on the phone it was for 1 1/4 hours for something simple. I don't want to call unless I need to. The salesman told me nothing about any of this. Thank you for any help you can offer.

    The bill from last month states:
    CT state sales tax**     $38.10
    ** In some states sales tax or surcharges are calculated on the full cost of the full retail price or VZW cost of the device you purchased and not on the discounted price you pay. The sales tax or surcharges charged on your device was based on $599.99 and appears on this first bill.
    The current bill says the same.
    Actually, now I'm realizing that last month's bill stated I was making the first payment toward the phone. Now this month also says it's the first payment toward the phone when it's really the second.

  • Book revenue on this month but the cost of goods sold need to get from last month

    Hi experts,
    I have a question about cost and revenue. We have a standing service repair order and a contract to customer. Because the revenue is calculated by flight cycle so maybe when we get the flight cycle information for this month should be the midle of next month. Due to the monthly end close schedule I need to book the revenue on this month but the cost of the revenue we need the get the cost occur last month. For example, current month is May, 2014 and I book the revenue and posting date is May, 31, 2014. But the cost I just want the amount occurred in customer service order(IW31) on Apr, 2014. And the cost occured in May, 2014 should become WIP. Is it possible? Please advise.
    Thanks and Best Regards,

    Hi experts,
    I have a question about cost and revenue. We have a standing service repair order and a contract to customer. Because the revenue is calculated by flight cycle so maybe when we get the flight cycle information for this month should be the midle of next month. Due to the monthly end close schedule I need to book the revenue on this month but the cost of the revenue we need the get the cost occur last month. For example, current month is May, 2014 and I book the revenue and posting date is May, 31, 2014. But the cost I just want the amount occurred in customer service order(IW31) on Apr, 2014. And the cost occured in May, 2014 should become WIP. Is it possible? Please advise.
    Thanks and Best Regards,

  • How to display Last month close as the footer

    Hi all,
    We are in the process of building a report that will have a footer that says "Last month Actuals loaded into the database: September FY13"
    I can do this by adding a data column (then hide it), change the period to CurMth subvar, which we update every month after loading the latest actuals then use the following function:
    Last month Actuals loaded into the database: <<MemberName("Grid1", A,"Period")>>
    This would work if the Period dimension was already in the Column but it is not.  If I go with this option then we would have to change the layout of all our reports.
    Is there an easier way?  Maybe a function that calls a value of a SubVar?
    Thanks,
    Mehmet
    p.s. We are on 11.1.2.2.300.  This is an Essbase connection

    Mehmet,
    I don't think there is a function to get the value of subvar. Another option you can try is to add another grid which can be used for all these activities. I do that most of the times
    You can save that one and link all reports to that one, so in case if you have to add more then change that at one place and all reports will start picking the change.
    Regards
    Celvin

Maybe you are looking for

  • A question of BAPI_BILLINGDOC_CREATEMULTIPLE

    i have BAPI_BILLINGDOC_CREATEMULTIPLE working OK with this code: wa_vbrk-ref_doc = '0010001318'. wa_vbrk-ref_item = '000010'. wa_vbrk-ref_doc_ca = 'C'. wa_vbrk-bill_date = sy-datum. APPEND wa_vbrk . wa_text-ref_doc = '0010001318'. wa_text-ref_item =

  • Trade-ins down and value dived

    So yesterday I went in to my Plover BB with a stack of games to trade in only to be told they were down for the day and to come back tomorrow (today). Of course, now the game value has plunged, a difference of $60-$70 for my trade! I assume there is

  • How to fix vowel placement in Adobe Gurmukhi?

    I am using Adobe InDesign CS2. I bought the Adobe Gurmukhi font package. The vowels look good in my word processing program, but when I use the font in InDesign the siharis end up on the wrong side of the letters and most other vowel marks are too fa

  • Error when I try to send document to Business Objects Inbox in Infoview

    I am testing XI 3.1 and when I select a Webi document then click on the option to send a document to a Business Objects Inbox, I get the following error: An Error has occurred: Unspecified error. Any ideas?

  • DateTimeConnect in UCM Call Detail Report

    An example of a dateTimeConnect value in UCM CDR: 1289328321 What is that?  How would I convert this to mm/dd/yy:hh:mm::ss?  Thank you.