BEx and cumulative value restarting every year

Hi all,
I have a question: when I set the "cumulative" flag for a key figure, it starts to cumulate starting from the first row until the end. What I should obtain is the following:
On the row: Fiscal Year/Period
On the column: the cumulative key figure
But the cumulation operation should restart each year. For example:
01.2005   20
02.2005   25
12.2005 500
NEW YEAR, RESTART FROM 0
01.2006    0
02.2006  12
Any idea about it?
Thanks a lot.
Gianluca

Hi,
Here Just craete one variable on calmonth with the range
then keep the cal month in Columns ad under taht cal month keep the Profit
, in rows w on which basis profit ( like keep plant or company code ) then save it.
Just keep the calmonth on columns tab top of the profit (Ckf) your issue will be resolved
again one more thing in cal month properties  displays , result show a always display teh you can get the over all result for all themonths which you are selected in varaible screen.
Thanks & regarsd,
sathish

Similar Messages

  • After updating to ios 8 i keep losing my internet connection, and have to restart every time?

    After updating my ipad mini to ios 8, i keep losing my internet connection and have to restart.

    Hi Turn Router off for  30 seconds Goto Settings Reset Network Settings After reset you need to enter your router wireless key. Also later check on website for a Firmware update for your router. Cheers Brian

  • V$sqlarea and cumulative values

    hi gurus,
    does v$sqlarea provide cumulative values for a SQL?
    for eg:
    Step 1
    SQL=select * from emp where empid=1
    elapsed_time = 2829
    Step 2
    SQL=select * from emp where empid=1
    elapsed_time = 2980
    1) if the values are cumulative, is there a way to find the elapsed_time for the last executed SQL as in step 2?
    2) is there any limit for the number of rows returned by v$sqlarea,(or when would be a particular SQL cleared from v$sqlarea)?
    thanks,
    charles

    SELECT sql_text,
          executions,
          CEIL (cpu_time / GREATEST (executions, 1)) ave_cpu_time,
          CEIL (elapsed_time / GREATEST (executions, 1)) ave_elapsed_time,
          CEIL (disk_reads / GREATEST (executions, 1)) ave_disk_reads,
          persistent_mem per_mem,
          runtime_mem run_mem,
          CEIL (sorts / GREATEST (executions, 1)) ave_sorts,
          CEIL (parse_calls / GREATEST (executions, 1)) ave_parse_calls,
          CEIL (buffer_gets / GREATEST (executions, 1)) ave_buffer_gets,
          CEIL (rows_processed / GREATEST (executions, 1)) ave_row_proc
    FROM v$sqlarea
    WHERE sql_text = 'select * from emp where empid=1'Regards,
    Mahesh Kaila

  • Daily sales by month and cumulative sales for year

    Hi Experts,
    I have a reporting requirement where I have to show daily sales by month and cumulative daily sales for particular month for the year.
    e.g. If the current month is January then my result shows fine. see below
    Calendar Day
    Net Sales
    Target
    Sales Year
    Actual
    Target
    01/01/2014
    100
    90
    01/01/2014
    100
    90
    02/01/2014
    200
    180
    02/01/2014
    300
    270
    03/01/2014
    300
    290
    03/01/2014
    600
    560
    04/01/2014
    400
    350
    04/01/2014
    1000
    910
    But If I am in the month of Feb and I want to show sales for the month and cumulative sales for the year for just Feb but instead of showing cumulative total from 01/01/2014 to end of Feb it starts again at begining of Feb - See below
    e.g. 
    Calendar Day
    Net Sales
    Target
    Sales Year
    Actual
    Target
    01/02/2014
    200
    190
    01/02/2014
    200
    190
    02/02/2014
    400
    380
    02/02/2014
    600
    570
    03/02/2014
    600
    590
    03/02/2014
    1200
    1160
    04/02/2014
    800
    750
    04/02/2014
    2000
    1910 
    Expected Result - sales for the year shoud show cumulative result from 01/01/2014 - 31/12/2014
    Calendar Day
    Net Sales
    Target
    Sales Year
    Actual
    Target
    01/02/2014
    200
    190
    01/02/2014
    1200
    1100
    02/02/2014
    400
    380
    02/02/2014
    1600
    1480
    03/02/2014
    600
    590
    03/02/2014
    2200
    2070
    04/02/2014
    800
    750
    04/02/2014
    3000
    2820 
    How do I achive this?
    please help.

    What else you need?
    looks like you got #working days for the month, use that metric as of jan 15th

  • SQL Query to find cumulative values for a Financial Year

    Dear users,
    My requirement is to create a SQL query for a table/view where I have day-wise data. I want to find out cumulative values for financial year by giving any date. It should add the values from start of financial year till that date in the financial year.
    I think creating a view of such type will post heavy burden on resources since accuimulation will be done for each day upto that day.
    Thanks

    Dear users,
    My requirement is to create a SQL query for a
    table/view where I have day-wise data. I want to
    find out cumulative values for financial year by
    giving any date. It should add the values from start
    of financial year till that date in the financial
    year.
    I think creating a view of such type will post heavy
    burden on resources since accuimulation will be done
    for each day upto that day.
    ThanksKumar's solution will serve yours purpose but m not agreed
    I think creating a view of such type will post heavy
    burden on resources since accuimulation will be done
    for each day upto that day. Khurram

  • Show actual values before current month and forecast values after

    This is a tricky one (but I guess it will be easy for you clever guys out there), so my apologies for the heading.
    Thanks for reading.
    I need to build a report in BEx (BW3.5) that does the following:
    I will get actual values and forecast values for a year, grouped per period.
    But in the report, I don't want to display the actual and forecast values of every period.
    I want to display the actual values for the past, and the forecast values for the future.
    So, if we are now in period 6 (which is June) all the actual values must be displayed for Jan, Feb, Apr and May.
    But from June onwards to December, only the forecast must be displayed for each month.
    Is this possible?
    Thanks in advance, points will be assigned
    Rudolph
    Edit: This might help. The actual value is based on KF 0AMOUNT, where value type = 10. The forecast is based on the same KF, value type = 20, version = F2

    Hi Rudolph,
    No need to write any code for this one.
    Have done couple of forecast reports using following logic.
    Hope historical data getting from R/3 & Forecast values from APO.
    these are seperate 2 keyfigures.
    1.created restricted key figure (keyfigure1) for historical values & drag drop time characterstic with off set till date (means offset -6 to 0)
    2.created restricted key figure (keyfigure2) for forecast values & drag drop time characterstic with off set till date (means offset +1 to +6).
    create calculated keyfigure Add up above(keyfigure1+keyfigure2) two restricted keyfigure.
    Thnx,
    Vijay Reddy.

  • Cumulative balance - reset at Year

    Hi All,
    I'm moving data from one cube to another cube. While doing this, I have a requiremen to cumulate the amount key figure which has to be reset at Fiscal Year.
    For example:
    Source Cube:
    C1   c2  Amount   Fiscal Period/Year
    1     2    10            200801
    2     3     20           200712
    3     4     30           200802
    4     4     20           200801
    5     6      50           200701
    Target Cube: How do I calculate the cumulative amount here?
    C1   c2  Amount   Fiscal Period/Year     CumulativeAmount
    1     2    10            200801                    10
    2     3     20           200712                     20
    3     4     30           200802                     40
    4     4     20           200801                    60
    5     6      50           200701                   70
    I need this ASAP. Require inputs at the earliest.
    Thanks in advance

    Hi,
    If you need to aggregate from one cube to another and cumulate values at fiscal years, and if c1 and c2 are not important, set the update type in update rules to no-update for these two, and the aggregation for key figure Cumulative amount to addition (only possible setting in cubes). The data will aggregate based on that setting during update from one cube to another.
    This however can be solved with a report, which uses (implicitely) aggregates defined on fiscal year. Consider using the same cube with an aggregate.
    Regards,
    Arek

  • Invalid value for Fiscal year/period

    Hi all,
      I have an user exit variable which populates the fiscal year period value from two separate fields.
    1) Fiscal Period
    2) Fiscal Year
    But when I contatenate it and place it in the format 200601 the report in BEx gives me the error
    "Value 200601 for user-exit variable ZRMA_FIP is invalid"
    ZRMA_FIP is my variable name
    The code I have is:
    WHEN 'ZRMA_FIP'.
      l_yr_zrma_fip = l_v_cur_year.
      l_per_zrma_fip = l_v_cur_period.
      CONCATENATE l_yr_zrma_fip l_per_zrma_fip INTO
    l_calmth_zrma_fip.
            r_vari-low = l_calmth_zrma_fip.
            r_vari-sign = 'I'.
            r_vari-opt = 'EQ'.
            APPEND r_vari TO e_t_range.
        ENDCASE.
    I thought I had to take care of internal/external format but nothing is working...can anybody help?
    thanks

    Hi
    I have demo code
    hope that will help u.
       WHEN 'ZMXFIPED'.
    clearing the storage areas used above.
         CLEAR: l_s_range , loc_var_range .
    checking step if it is after inputing the variable value.
         IF i_step = 2.                "After selecting of input variable
    looping at interval range table .
           LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZMSFPER8'.
    assigning values to year and period values.
             l_year_exit   = loc_var_range-low+0(4).
             l_period_exit = loc_var_range-low+4(3).
    putting the from and to values together with year and period values.
             CONCATENATE l_year_exit '001'  INTO l_s_range-low .
             CONCATENATE l_year_exit l_period_exit INTO l_s_range-high .
    sign I-> includes the range between.
             l_s_range-sign =  'I'.
             l_s_range-opt =   'BT'.
    appending the fianl interval range table.
             APPEND l_s_range TO e_t_range.
    exiting after appending.
             EXIT.
           ENDLOOP.
    clearing the storage area for next iteration.
           CLEAR: l_s_range .
         ENDIF.
    by using tha logic u can try.

  • Cumulated values with 0FYTCFP variable

    Hi All,
    Can anyone write me how to use 0FYTCFP variable to design query with value of current period and cumulated values of previous periods. I tried to use this variable with 0P_FPER to which I manually enter current period, but BEx returns a message "The variable 0FYTCFP couldn't be repalced"
    Thanks for help

    I can, but I want to use on input variable in for example '010.2005' way and basing on this value dynamically specify the 001.2005-010.2005 period.
    Regards,
    Maciek

  • WIP Cumulative value(Material Ledger)

    Hi,
    We have executed the material ledger acutal cost WIP Transaction Code --  COMLWIPDISP. This t.code is reflecting the WIP Cumulative value which is inclusion of WIP Price difference. Cany anybody let me know how this value is calculating and in which t.code. In which table or function module we can see the WIP price difference value and cumulative value.
    Regards,
    Shree J

    Hi SJ,
    The below example will help you to understand your query:
    SFG product standard cost is 90 ( as per the BOM materials).
    Production/Process order is created, released and Raw material are issued to this Production/Process order. The status of this Order is not yet changed to TECO/CNF due to there are still some more operations has to be carriedout. So assume at this stage total cost is 100.
    When you run your month activities like WIP/Variance/Settlement Calculation and also CKMLCP (Actual Costing Run).
    After the month end activities, if you execute COMLWIPDISP, system will display Cummulative WIP value as 100 and difference 10.
    Thanks and Regards,
    ADI

  • Period Activity vs Cumulative value

    Hi Experts,
    I am running a report that has Period Activity and Cumulative value, the problem is that the Period activity figures and the cumulative value figures are the same. The cumulative value is pulling values = the month being reported ; what do i need to change so that the Cumulative value is not the same as Period Activity?? Thanks, points will be awarded

    Hi...i supossed that you have a cummulative value and one differente key figure for period activity....period activity must not be cummulative...
    Regards

  • How do I get cumulative value

    hi,
    I have table with columns as Employee_id,Salary,Commission.
    I need query which will show total sal of each Employee_id and cumulative value of total.
    Thanks
    Ram

    select empno,
    sal,
    sum(sal) over (partition by null order by rownum rows unbounded preceding) running_total
    from emp;
    ordering by rownum in the partition clause is also another way thereby allowing one to order in any other way for reporting.
    --Samson                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I have purchased the Acrobat pro subscription for 1 year and have followed the steps to install it. But when i go to start it, It crashes and it does this every time! I have restarted my mac pro and also restarted in safe mode but it just doesn't work! PL

    I have purchased the Acrobat pro subscription for 1 year and have followed the steps to install it. But when i go to start it, It crashes and it does this every time! I have restarted my mac pro and also restarted in safe mode but it just doesn't work! PLEASE HELP!!

    Hi jim1287,po
    Check for the latest updates. Installing latest updates should resolve this problem.
    Also, try to ran disk repair using safe mode in Mac, for instructions please visit: http://support.apple.com/kb/PH14204
    Try enabling root user profile on mac and try to check. OS X Mavericks: Enable and disable the root user
    Regards,
    Ajlan Huda.

  • Dynamic cumulative Value in Bex report

    Hi
    I need to implement the following report but meet problem,
    User-input variables:
    Year: (single value variable ready for input)
    for instance 2005
    Period: (interval variable ready for input)
    for instance from 4 to 6
    The report should display as follows:
    Period 4         | Period 5 | Period 6

    Sorry, continue as follows:
    For each Period there are two kfigs should display
    Amount and Cumulative amount, the cumulative amount means the amount accumulated from period 1 to current period, the report should display like
    Period 04 | Period 05 | Period 06
    Amout ***.Amount | Amount ***.Amount | Amount ***.Amount
    Normally we can enable "cumulative" flag in key figure setting, however, the cumulative function only works for the displayed columns, e.g. the ***.amount of period 05 is the sum of amount period 04 and amount period 05, but we need the sum of amount from period 01 to period 05.
    I am considering the following solutions but need your suggestion:
    1. Use customer-exit variable to add the selection "from period 1 to period X",here in this case "from period 1 to period 3", and calculate the ***. amout in virtual key figure, but I have no idea how to hide the column period 1 to period X in exit.
    2. Define 24 predefined fixed key figures(12 columns for amount and 12 for cumulative amount), but I have no idea how to let user filter on key figure name (1KYFNM?) when executing the query.
    3. Use VBA and Web Table interface to hide the columns at runtime, but I have no idea whether if it still works when user drill down the key figures to the rows.
    Any suggestion is highly appreciated!!!
    it's urgent!!!
    Thanks in advance,
    Patrick

  • Using cumulated values for further calculation in a bex report

    Hi ya'll,
    I have a problem with using cumulated values in a bex report.
    the report has three lines:
    Values 1:    100    200  300
    Values 2:    10      5     40
    Values 3:    1000  500  4000
    The values of row 3 is a formula multiplying the values from row 1 and 2... My problem is that the values of row 3 are wrong - for example 200*5 isn't supposed to result in 500 !!
    I figure the reason is that the values of row 1 is a cumulated result, meaning the <i>actual</i> value of the second column of the first row i 100 (and not 200).
    How can I ensure that my formula for row 3 uses the <b>cumulated</b> result from row 1, instead of the underlying result ?.

    Create a column structure with Actual Value columns as well as cumulated value columns. Hide Actual Value Columns from display.
    Example :
    Actual1 | Actual 2 | Actual 3 | *** 1 | *** 2 | *** 3 |
    100 | 100 | 100 | 100 | 200 | 300 |
    You can create a forumla to calculate Value 3 : (Actual 1 * Value 2 ).
    I guess you are using Cell Referencing to achieve this.

Maybe you are looking for