How show calendar monthly amounts in a query

Hi friends,
I just need to show payroll amounts since a selected calendar year/month one year backward.
I built a structure with the standard Variable 0RSTTCM1 Current Analysis Month (RSTT), but the query shows amounts correctly the selected month.   The rest of the months (I substract 1 until 11) appear in zeros.
Do I have to use another Variable to do that?  Which one?
Thanks.
Ada.

Hi,
You mean to say that you want to suppress the result rows while creating the query itself.
Check these threads.
How to change default for Suppress Results Rows
Suppress results row by default when creating new queries?
Regards,
Rk.

Similar Messages

  • How to merge calendar month dimension on dashboard??

    Hi All
    can anyone get me solution for below issue?
    Report : Vendor Performance
    Reporting tool : Dashboard
    Selection : Vendor1
    Requirement : Should show the report as you see in pic 1
    1. I have three different KPI's which has to be shown in same table like u see in Pic 1 and each KPI values comes from different queries.
    2. When i map this data to excel i am getting values as you see in Pic 2, Pic 3 and Pic 4.
    3. if you see Pic 1 (data comes from query 1)  there is data for JAN where as we dont have JAN data for Pic 2( or query 2).
    Now my question is how we can combine all this values as we see in Pic 1?.. I need all values to be shown for respective month. for example if there is no data for march and it should be blank.
    Can it be done on BW side if not in BO?\
    Note : I am able to done this on webi report by merging calendar month for all three query.
    Thanks in advance

    Hi Vijay
    It can be on BW side also. Check with your BW team if all three queries are built on different infoproviders if yes built a multiprovider on top of all infoproviders and create a new query. This query will have calendar month and your KPI1, KPI 2 and KPI3 key figures in it.
    You can use this single query in Dashboard now.
    As suggested by others you can use webi merged dimension functionality or HLOOKUP also.
    Regards
    Shabnam

  • Calendar month dates in horizontal line

    Is there anyway to show calendar month dates in horizontal line?
    First line will have dates and then second line will have day i.e Sat, Sun, Mon.......
    1 2 3 4 5 6 7 8 9 ........31

    orion_123 wrote:
    Is there anyway to show calendar month dates in horizontal line?
    First line will have dates and then second line will have day i.e Sat, Sun, Mon.......
    1 2 3 4 5 6 7 8 9 ........31You can do all sorts of things if you put your mind to it... e.g.
    SQL> break on month skip 1
    SQL> set linesize 200
    SQL> set pagesize 2000
    SQL> column month format a20
    SQL> column week format a4
    SQL> with req as (select '&Required_Year_YYYY' as yr from dual)
      2      ,offset as (select case when to_char(trunc(to_date(yr,'YYYY'),'YYYY'),'IW') in ('52','53') then 1 else 0 end as offset from req)
      3  select lpad( Month, 20-(20-length(month))/2 ) month,
      4         '('||week||')' as week, "Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"
      5  from (
      6    select to_char(dt,'fmMonth YYYY') month,
      7    case when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 0 then '53'
      8         when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 1 then '54'
      9         when to_char(dt, 'mm') = '01' and to_char(dt,'iw') in ('52','53') then '1'
    10         else to_char(to_number(to_char(dt,'iw'))+offset) end as week,
    11    max(decode(to_char(dt,'d'),'1',lpad(to_char(dt,'fmdd'),2))) "Mo",
    12    max(decode(to_char(dt,'d'),'2',lpad(to_char(dt,'fmdd'),2))) "Tu",
    13    max(decode(to_char(dt,'d'),'3',lpad(to_char(dt,'fmdd'),2))) "We",
    14    max(decode(to_char(dt,'d'),'4',lpad(to_char(dt,'fmdd'),2))) "Th",
    15    max(decode(to_char(dt,'d'),'5',lpad(to_char(dt,'fmdd'),2))) "Fr",
    16    max(decode(to_char(dt,'d'),'6',lpad(to_char(dt,'fmdd'),2))) "Sa",
    17    max(decode(to_char(dt,'d'),'7',lpad(to_char(dt,'fmdd'),2))) "Su"
    18    from ( select trunc(to_date(req.yr,'YYYY'),'y')-1+rownum dt
    19           from all_objects, req
    20           where rownum <= add_months(trunc(to_date(req.yr,'YYYY'),'y'),12) - trunc(to_date(req.yr,'YYYY'),'y') )
    21        ,offset
    22    group by to_char(dt,'fmMonth YYYY'),     case when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 0 then '53'
    23                                                  when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 1 then '54'
    24                                                  when to_char(dt, 'mm') = '01' and to_char(dt,'iw') in ('52','53') then '1'
    25                                                  else to_char(to_number(to_char(dt,'iw'))+offset) end
    26    ) x
    27  order by to_date( month, 'Month YYYY' ), to_number(x.week)
    28  /
    Enter value for required_year_yyyy: 2012
    old   1: with req as (select '&Required_Year_YYYY' as yr from dual)
    new   1: with req as (select '2012' as yr from dual)
    MONTH                WEEK Mo Tu We Th Fr Sa Su
        January 2012     (1)                     1
                         (2)   2  3  4  5  6  7  8
                         (3)   9 10 11 12 13 14 15
                         (4)  16 17 18 19 20 21 22
                         (5)  23 24 25 26 27 28 29
                         (6)  30 31
       February 2012     (6)         1  2  3  4  5
                         (7)   6  7  8  9 10 11 12
                         (8)  13 14 15 16 17 18 19
                         (9)  20 21 22 23 24 25 26
                         (10) 27 28 29
         March 2012      (10)           1  2  3  4
                         (11)  5  6  7  8  9 10 11
                         (12) 12 13 14 15 16 17 18
                         (13) 19 20 21 22 23 24 25
                         (14) 26 27 28 29 30 31
         April 2012      (14)                    1
                         (15)  2  3  4  5  6  7  8
                         (16)  9 10 11 12 13 14 15
                         (17) 16 17 18 19 20 21 22
                         (18) 23 24 25 26 27 28 29
                         (19) 30
          May 2012       (19)     1  2  3  4  5  6
                         (20)  7  8  9 10 11 12 13
                         (21) 14 15 16 17 18 19 20
                         (22) 21 22 23 24 25 26 27
                         (23) 28 29 30 31
         June 2012       (23)              1  2  3
                         (24)  4  5  6  7  8  9 10
                         (25) 11 12 13 14 15 16 17
                         (26) 18 19 20 21 22 23 24
                         (27) 25 26 27 28 29 30
         July 2012       (27)                    1
                         (28)  2  3  4  5  6  7  8
                         (29)  9 10 11 12 13 14 15
                         (30) 16 17 18 19 20 21 22
                         (31) 23 24 25 26 27 28 29
                         (32) 30 31
        August 2012      (32)        1  2  3  4  5
                         (33)  6  7  8  9 10 11 12
                         (34) 13 14 15 16 17 18 19
                         (35) 20 21 22 23 24 25 26
                         (36) 27 28 29 30 31
       September 2012    (36)                 1  2
                         (37)  3  4  5  6  7  8  9
                         (38) 10 11 12 13 14 15 16
                         (39) 17 18 19 20 21 22 23
                         (40) 24 25 26 27 28 29 30
        October 2012     (41)  1  2  3  4  5  6  7
                         (42)  8  9 10 11 12 13 14
                         (43) 15 16 17 18 19 20 21
                         (44) 22 23 24 25 26 27 28
                         (45) 29 30 31
       November 2012     (45)           1  2  3  4
                         (46)  5  6  7  8  9 10 11
                         (47) 12 13 14 15 16 17 18
                         (48) 19 20 21 22 23 24 25
                         (49) 26 27 28 29 30
       December 2012     (49)                 1  2
                         (50)  3  4  5  6  7  8  9
                         (51) 10 11 12 13 14 15 16
                         (52) 17 18 19 20 21 22 23
                         (53) 24 25 26 27 28 29 30
                         (54) 31
    64 rows selected.
    SQL>That's just an example, but yes, of course you can do it. Oracle provides excellent DATE functionality.

  • How set current month in Voyager using BEX Query 7.0

    Hi:
      I have a voyager workspace connected a SAP BI Query 7.0. My query shows information since 2007 to 2009
      How I can set current month in characteristics defined in slice section? I tried to use a exit variable in proposed values query section but it doesn't works, when I use filter section in my BEX query it show only  information for 1 month.
    Thanks
    Marta Díaz

    Hi,
    From the problem report i understand that you want to open the Voyager workspace with all the data, but want to analyze for only the current month. 
    You can achieve it in the following manner.
    a) Open the Voyager report.
    b) Click on the member selector of the slice.
    c) Deselect the default member and then select the current month.
    d) Click on OK button.
    This should show you the data for only the current month.
    If you want to make use of exit variable by using the SAP query designer then try using the current calendars month variable.
    You can also refer from the discussion below in the thread to create a variable.
    Dafault value previous month in BEx
    Hope this helps.
    Thanks

  • Why don't times show in Calendar month view?

    I have 2 MBPs and 2 iPhones (Mavericks 10.9.1; all with current updates). With MBP # 2, Month view of Calendar doesn't show times of events. If I click on any event, the info box shows the correct times. The other 3 devices show times correctly. Restarting the MBP doesn't change anything. All 4 devices are synced with the same iCloud account. How can I get the times to show in Month view? In System Preferences>iCloud, Calendar is checked.

    Hi,
    When you adjust the window size in Calendar if you can make it small enoughy you can hide the event times in Month view. It is not that is it? Have you tried making the Calendar window full screen?
    Best wishes
    John M

  • How to calculate Month on Month growth rates in an OBIEE query?

    Dear all,
    I would like to ask your help on how to calculate Month on Month growth rates [(last month - previous month)/previous month*100%] in an OBIEE query. This ratio should be always calculated for the last 2 available months.
    I have the following query:
    Month0 | Month1 | Month2
    Product A 500 | 100 | 200
    Product B 600 | 300 | 150
    would like to add Month on Month column as following:
    Month0 | Month1 | Month2 | Month on Month(%)
    Product A 500 | 100 | 200 | +100.00%
    Product B 600 | 300 | 150 | -50.00%
    I tried to add a calculated item but it was not successful because I could not find out how to show only the calculated column as % with 2 decimals. Moreover, I would ideally prefer to have an automatic update but as far as I understood it can't be done in the calculated item automatically
    I also tried to add a new column in the column area and to filter the results for the last month, then for the previous month and then based on it to calculate the needed ratio but unfortunately it also does not work out.
    Thank you your hints in advance

    Hi,
    The best way to solve this is using the Ago function. With this you can create a logical column for the previous month. Then you will have 2 columns available with which you can do your calculations.
    If you want to do this with a calculated item (don't know if the formatting will work for you), but you can make the calculation more general by using $1 for column 1 and $2 for column 2 in your calculation. So the relative columns ($x) will change with the columns in your report.
    Regards

  • Do not show dots for 'free' events in the calendar month view

    I wish I could.... not show dots for 'free' events in the calendar month view. For an overview of when I have hard-scheduled events in the calendar it's pretty tedious and slow to go day -by day, and other views... Instead the dot  in the month view... - why does it show even "free" events? Any ideas, tips?
    Thanks!

    Unfortunately there is no option to disable the dots.
    <Edited by Host>

  • How do you show calendar items in Mail?

    How do you show calendar items in Mail?

    The only way possible to send a non-text file by e-mail is as an attachment. Different e-mail programs will handle JPEG attachments differently. Some will show the attachment within the message and some will not.

  • Currency conversion by Calendar month in the query?

    Hellow...
    Users want DB currencies when executing query at first. And then want to change currency conversion by Calendar month in the query, if navigating by target currency. Tried as created TEST Currency Translation Key. Database currency is different currencies.
    Appreciate your help.
    Don.

    Hi,
    Create Currency conversion type using Trans: RRC1.
    1.Specify your Exchange rate type.                     
    2.Dynamic Exchange rate type
    3.Source curency from data rec.
    4.Fixed currency say USD.
    5.Select Variable Time reference "Start Month" and Special Info Object - 0calmonth
    Secondly In the key figure field to be converted in the query,   select properties - select the currency conversion key name .
    Thanks,
    Nagesh
    Sony Singapore

  • My calendar heading shows last month till the middle of this month - does the same each month

    MMy calendar heading each month shows last month till the middle of the current month - e.g. It still shows as February eeven today on 27 March!

    Hello memormor,
    Thank you for visiting Apple Support Communities.
    To see the full scrollable list of events, start from the day view (tap on a day), not the month view, then click .
    Calendar at a glance - iPhone
    View a list of events. In month view, tap to see a day’s events. In day view, tap .
    Take care,
    Nubz

  • Curve 9320 Any browser that shows Google Calendar month view?

    Has anyone found a browser that will show the Google Calendar month view on the Curve? Here, the default browser will show Google Calendar onl in a much inferior agenda view, with no way I can see to select any other view.
    Thanks.

    Thanks for the response. I do have data defined. However, type is not. The specs don't seem to make it necessary to specify both, but if that helps I can. The webconsole shows one error:
    Use of getPreventDefault() is deprecated. Use defaultPrevented instead. That is an error in the jquery javascript code though.
    Firebug doesn't show anything in its console.
    I used iframe and the behavior is exactly sthe same. I'm beginning to think this is a google calendaring issue instead.
    Thanks again.
    -Josh

  • SQL Query to add previous month amount to current month amount

    Beginner - Using SQL 2008 R2 - Having a difficult time adding previous month amount to current month amount on a continual running basis. Table fields and example data are:
    FunctionID    
    UnitID     
    Dateof           
    Result       YTD
    A                   AA           01/01/2014    10             10
    A                   AA           02/01/2014    10            
    20
    A                   AA           03/01/2014     15           
    35
    B                  BB            01/01/2014     20          
    20
    B                  BB            02/01/2014     10           30
    The YTD field would be a calculated field. I would need to be able start a new YTD in Jan of the next year. Really could use some help and direction on this one. Easy to do in an Excel spreadsheet. Can't seem to get it in SQL. Thanks in advance.

    As of 2008 R2 the choices are:
    - Self join
    - Correlated subquery (in the SELECT or APPLY clauses)
    - Cursor
    - SQLCLR aggregation function (winner)
    The first two options yield a poor performance for tables with considerable number of rows.
    Example:
    select
        A.*, 
        select
            sum(B.Result)
        from
            T as B
        where
            B.FunctionID = A.FunctionID
            and B.UnitID = A.UnitID
            and B.Dateof >= dateadd(year, datediff(year, '19000101', A.Dateof), '19000101') --bofyear
            and B.Dateof <= A.Dateof
        ) as YTD
    from
        T as A;
    Check these old but very interesting posts from Adam Machanic.
    http://sqlblog.com/blogs/adam_machanic/archive/2006/07/12/running-sums-redux.aspx
    http://sqlblog.com/blogs/adam_machanic/archive/2006/07/12/running-sums-yet-again-sqlclr-saves-the-day.aspx
    The things get easier from SS 2012 with the enhanced OVER clause (introduction of window frame extent).
    select
        sum(Result) over(
        partition by FunctionID, UnitID, year(Dateof) 
        order by Dateof
        rows between unbounded preceding and current row
        ) as YTD
    from
        T;
    http://sqlmag.com/sql-server-2012/sql-server-2012-how-write-t-sql-window-functions-part-3
    AMB
    Some guidelines for posting questions...
    AYÚDANOS A AYUDARTE, guía básica de consejos para formular preguntas

  • How to show balance insurance amount using FMS?

    HI,
    If goods received in good condition from the Advance insurance amount,the Purchase Invoice amount has to be deducted continuously.But when they adding one more AP Invoice, how to show balance insurance amount in that screen. if they reached ZERO amount they have to add Insurance amount. is it possible to achieve this through FMS?
    Regards
    KMJ

    Hi,
    Client is insuring certain amount before purchasing the item (Sum assured Value)
    When they creating AP Invoice, Invoice document total  has to be deducted from the Sum assured Value. Provision has to be made to add the additional amount to Sum assured Value.
    Is it possible to achieve through FMS?
    Right now am created 3 UDF in marketing documents-title, which are
    1.Sum assured Value
    2.Present balance
    3.Current balance amount,how to add the additional amount to Sum assured Value.
    You have any other idea's...No screen shot as such
    Regards
    KMJ

  • How to show recent month on the local machine?

    With what method or class can show show recent month on lthe ocal machine?

        Calendar calendar = new GregorianCalendar();
        // print out a bunch of interesting things
        System.out.println("YEAR: " + calendar.get(Calendar.YEAR));
        System.out.println("MONTH: " + calendar.get(Calendar.MONTH));
        // ... etc skipped ...--lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Control how much of an event shows in Month view

    How do you control how much of the body text of an event shows in month view? Sometimes it only shows part, and I want it to show more.

    Hi Erich,
    You can call a method of another Controller directly this way:
    sap.ui.controller("namespace.Controllername").method();
    Another, and more decoupled, option would be to use eventing and sap.ui.core.EventBus. You can find more info on this SCN thread:
    Eventing in MVC

Maybe you are looking for

  • Key Date Variable in Webi

    Hi I have one webi report created on top of BW/ Bex Query and im using the KeyDate variable as my exchange rate conversion date. So, whenever i run the Webi Report it prompts a screen where i can key in the Date. Whenever i repoint the universe to th

  • Help building an executable that uses a factory pattern

    Hello, I'm trying to build an .exe from a VI that uses the factory pattern. The VI gives me the error that it can't find the classes to load and is looking outside the .exe file to find them. The specific error is: "Get LV Class Default Value.vi<APPE

  • ME54N Release strategy question over delivery tolerance limits

    I set up a release strategy base on the over delivery tolerance level. My problem is when a Purchase requisition is saved as rejected, and i click on the button cancel reject it deletes the last release strategy level because now it is looking at the

  • Can I turn off XHCI on new Mac PRO?

    I am interested to get a new Mac Pro. I am a bit disappointed that there are only four USB3 Ports. I know that there are expansion appliances and devices that will provide a few more. here is my issue, which will determine if I am a buyer: I will nee

  • Zen Cart - how to edit php

    How do I go about editing zen cart php in Dreamweaver in the design wysiwyg view? Can it be done? If not, edit with what?