Futher Calculation on cumulative values

Dear All,
I have a key figure Zsales, on that key figure i have made a calculated key figure and in calculation tab i have checked the tab for CUMULATED value. Now i have to perform futher calculations on this calculated key figure, but in report output i am not getting th e desired values the calculation is being performed on original key figure rather than on cumulated values.
Thanks

Hi Ravish Singh ,
Actualy  CKF is global values,once create CKF in query we can use N number of times but we can get same value in all reports.
if you want change ( or new calculation ) first remove referance (global to local) then only we get correct datas.
in your query coloum or row select ur CKF then right cilck --->remove referance.firest do this then u will get corect values
regards,
sundar

Similar Messages

  • Cumulative value calculation in script logic

    Hi,
      Assuming i have the following values:
    Acc1, time1 = 2
    Acc1, time2 = 10
    Acc1, time3 = 20
    Acc1, time4 = 30
      What script logic can i write such that the end results are:
    Acc2, time1 = 2
    Acc2, time2  = 12
    Acc2, time3 = 22
    Acc2, time4 = 32
      time1 could start from any month of the year, and the next month is always one month after the current month (i.e. if time1 = june, then time2 = july).
      Basically the above calculation involves some sort of cumulative effect. I would like to have this cumulative amounts stored in the database, hence i don't want to rely on measures="ytd" in the report.
    Cheers

    Hi Raja,
    You can get the daywise cumulative value for the user selected date range by creating a formula on the KF & turning on the 'Cumulated' checkbox in the 'Calculations' tab.
    --Priya

  • Cumulative Value Calculation

    Dear Experts,
    I extracted data with the standard datasource 0CO_OM_OPA_1. Cost from this datasource is costs by month. However, I need to have another key figure for cumulative cost.
    1) How can I get cumulative values through the transformation? (I need to display data on Xcelsius, and I am not sure this cumulative value can be achieved in the report)
    2) I heard that we can calculate the cumulative value by Non Cumulative Key Figure. However, I don't know how it works. I try to create Non Cumulative Key Figure based on 0AMOUNT from the datasource, but it requires me to add 0CALDAY into my infocube. (The finest level in time dimension in my infocube is 0CALMONTH) Is it true that I can use Non Cumulative value to calculate cumulative value. If yes, how can I do that?

    Hi.
    Use a bex query to do the cumulative calculation of the monthly values. Hook that query up to a universe and retrieve it in Xcelsius.
    You can set the key figure property to "cumulative" in the query designer. That should get over to the BO Universe... if not, then you can cumulate it either straight in Xcelsius (you have to know the structure anyway, in order to build the graphs...) or use a web-i report.
    br
    Jacob

  • 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.

  • How to use cumulative Value in a formula

    Hello Gurus,
    I would like to use the cumulative value in a query as part of a formula calculation. I have created a KF which is assigned a constant value 1. When displaying the KF I am cumulating it so for each row I am getting 1,2,3,4...etc. How can I use this cumulated value in a formula calculation?
    For example, in a column cumulative count is 1,2,3,4...etc .My requirement is ,i want to identify the record with number 36 , to do this i have created a formula with boolean Equal to function comparing with the required number, but the boolean result what am i getting is Zero instead of one(1).
    The reason i found behind the problem is, the cumulative count that we see is dynamically happening during the run time for display ,but the internal value is 1 only.
    Is there any other way to meet this requirement or am i missing anypoint?.
    Thanks.

    Dear Yaseen,
                To get the value in formula cumulative,after you have created the formula for that particular key figure,go to edit and click on tab "calculations".
    In that select overall result as 'count all values not equal to zero' and single result as 'count all values not equal to zero' .
    And mark the cumulative check box underneath.
    I hope you get the desired result and please do me favour .
    Sumit goomber

  • Issue with Cumulative Value in BW Query

    Hi
    Here am trying to calculate a percentage over the two key figures which has the cumulative check in Calculation
    but in result the percentage is appearing with non-cumulative values though am selecting the cumulative kf in formula.
    find below the example :
    C-OQTY --> Cumulative Ord Qty  -- This is based on OQTY wherein the properties under Calculation i haved the Cumulated
    C-TOQTY-->Cumulative Total Ord Qty --This is based on TOQTY wherein the properties under Calculation i haved the Cumulated
    OQTY--> Order Qty
    TOQTY--> Total Order Qty
    C-OQTY/C-TOQTY *100
    Calendar Day     C-OQTY     C-TOQTY  OQTY      TOQTY       %
    2008.02.01     115     115     115     115     100.00
    2008.02.02     115     197          82     
    2008.02.04     158     381     43     184     23.37
    2008.02.05     287     596     129     215     60.00
    As you all can see that the % is showing the value as OQTY/TOQTY*100  Instead of C-OQTY/C-TOQTY *100
    Need help
    Thanks in Advance
    Cheers
    Taher

    Thanks for your quick replay,
    well am using "Use standard Aggregation" could you pls give me little more details abt before Before aggregation concept..
    which option  to choose in aggregaion..
    Cheers
    Taher

  • Subsequent use of cumulated value in query

    Hi All,
    We are using BEx Query Designer to create a query having one formula variable “Stock on Hand” as a cumulated value (along the columns).Now we need to use this cumulated value in another formula variable. Is this possible to do? If not could you please suggest an alternate for the same?
    Stock on hand (for any given week) = (Total Receipts – Total Demand) + Stock on Hand (for previous week).
    Inv. Carrying Cost (for any given week) = Stock on hand (cumulated values as above) * Per unit inv. cost
    Data for Total Receipts, Total Demand and Per unit Inv. Cost is present in the infocube at daily level. A sample report template has been given below:
    Product    Location       Week                      W1   W2    W3
       P1                L1        Total Demand           10     10     10
                                      Total Receipts           20      0       5
                                      Stock on Hand          10      0      -10
                                      Per unit Inv. Cost        2       2       2
                                      Inv. Carrying cost       20      0      -20
    Points assigned in advance for your replies
    Regards,
    Bansi.

    Hi PV,
    Thanks for the prompt reply. But we have already created two different formulae variables for the above requirement.
    The formula variable for Stock on hand is displaying the desired cumulative values. But the formula for Inv. Carrying cost is not able to use the display-value (cumulative value) of Stock on hand and it just uses the value corresponding to that particular week. For eg.
    for w2 if stock on hand =20 (cumulative value displayed on screen)
    and the original value of stock on hand for w2 = 0
    then the formula for Inv. carrying cost is using the original value(i.e. 0) but not the display value(i.e.20), whereas we want the cumulative value (i.e. 20) for our calculation.
    Any help in this regard would be highly appreciated.
    Regards,
    Bansi.

  • Non-Cumulative value Infoset will not work

    Why doesn't an Infoset work with non-cumaltive values? Can I just use a multiprovider to get around this issue?

    Hi,
       Non cumulative values are not stored anywhere in the database. These are just definitions which are calculated at runtime. Consider the Stock cube. It has 2 key figures. Received stock and issued stock. It also has a Non cumulative Kf total stock which is defined as inflow : Received stock and outflow : issued stock.
    At Query runtime, the total stock is calculated as inflow - outflow. No data is physically stored in your database.
    Since an infoset joins values stored in a database, you will not be able to use it for Non cumulative values.
    What you can do is find your Non cumulative KF definition, and map the input fields for this KF. You can then try and use these fields to calculate the value as a formula.
    Hope this helps.
    Regards.

  • 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

  • Query: Making pct. calculations on cumulated rows.

    Hi Experts
    I have a problem in a query. See the query below. The problem is that column 8 shows the same result as column 7 What I find strange is that column 6 is just right - it shows the YTD-deviation, which I would like to show in pct in culumn 8.
    Does anybody know how I can make the %Dev on the YTD numbers in column 8?
    Rows:
    - Calendar month2 (monthnumbers: "1", "2"..."12")
    Columns (Units sold):
    1. Actual Month: current calendar year, billed quantity
    2. Actual Month LY:current calendar year -1, billed quantity
    3. Actual Year To Date: current calendar year, billed quantity (cumulated)
    4. Actual Year To Date LY: current calendar year -1, billed quantity (cumulated)
    5. Dev Month: Actual Month - Actual Month LY
    6. Dev Year To Date: Actual Year To Date - Actual Year To Date LY<b>(OK)</b>
    7. %Dev Month: Actual Month % Actual Month LY
    8. %Dev Year To Date: Actual Year To Date % Actual Year To Date LY<b>(NOT OK)</b>
    Kind regards and thanks in advance,
    Torben

    Torben,
    The cumulation for the KF is done only in the front end and hence the cumulated value is not available to the OLAp processor and hence you cannot use the cumulated value in another formula.
    This basically means that even if you use a cumulated figure in another formula you will still get the calculation on the basic value..
    for example :
    char|Basic Value|CUmulated Value|Cumulated value *2
    A|1|1|2
    A|2|3|4
    A|3|6|6
    If you notice row two it is taking the base value into 2 and not the cumulated value..
    The only option for the same is to use a macro if the query is in excel or use the table modifier to change the displayed value..
    Arun
    Hope it helps...

  • Getting a percentage on cumulative values in Bex Query

    We have a Bex Query where we have 4 columns. For the actual and projected attendence, I'm displaying cumulative values and a percentage.  I want the percentage to be based on the cumulative values, but it's giving it to me based on the actual values (what's coming in, not what's being displayed).  How do I get it to do the calculation on the displayed values?
    This is the actual data coming through:
    Month/yr____actl att___________ proj att   
    01/2005_____10________________10                            
    02/2005_____10________________10                                   
    03/2005_____10 ________________20              
    What I'm getting now:
    Month/yr_____cumulative actl att_____cumulative proj att_____percentage
    01/2005_____10____________________20_________________50%
    02/2005_____ 20 ___________________30________________100%      
    03/2005 _____30 ___________________50_________________50%
    What I want is:
    Month/yr_____cumulative actl att_____cumulative proj att_____percentage
    01/2005_____ 10 _____________________20_______________50%
    02/2005______20_____________________30_______________66.67%      
    03/2005______30_____________________50_______________60%

    Julie,
    The OLAp processor in BI cannot take cumulated values - that is  - once you cumulate your values - the cumulated values cannot be used further in BeX formulae - even if you use them the actual values will be used.
    Month/yr____actl att___________ proj att
    01/2005_____10________________10
    02/2005_____10________________10
    03/2005_____10 ________________20
    What I'm getting now:
    Month/yr_____cumulative actl att_____cumulative proj att_____percentage
    01/2005_____10____________________20_________________50%
    02/2005_____ 20 ___________________30________________100%
    03/2005 _____30 ___________________50_________________50%
    What I want is:
    Month/yr_____cumulative actl att_____cumulative proj att_____percentage
    01/2005_____ 10 _____________________20_______________50%
    02/2005______20_____________________30_______________66.67%
    03/2005______30_____________________50_______________60%
    This would mean you will not get the desired output - the only way to do that is to use local macros / formulae in the workbook.
    Arun
    Hope it helps...

  • Calculations with Cumulated CKFs

    Hey,
    I need to make additional calculations on the values of a CKF that is marked as cumulated.
    We know that the calculation made on this column are executed against the non-cumulated value, and we basically need to execute them on the cumulated value.
    Can you please provide some insight on the ways to deal with this limitation?(BTW - we tried to check the "cumulated" checkbox for the calculated column and that doesn't help of course.
    Thanks,
    Gili
    Message was edited by: Gilad Weinbach

    Hi,
    and thx for the quick answer. But unfortunately the Server Complex Aggregate aggregation doesn't solve my problem. I also think I didn't express my self clear enough.
    My problem is, that I have the same tuple multiple times in my database table. When I sum this data up - I get wrong results. To avoid this I used the SUM DISTINCT aggregation. This worked very fine. But now I'm facing an other problem. I have to perform a simple subtraction.
    I have a fixed non measure value. I have to subtract the Sum Distinct measure from this fix value for a specified time periode.
    it looks like this:
    Pivot table
    Name --- Days available(non measure) --- Work date --- Days worked (SUM) measure --- Days worked SUM(Distinct) measure
    Mr.A --- 40 --- 1.5 --- 6 --- 3
    Mr.A --- 40 --- 1.5 --- 6 --- 3
    Mr.A --- 40 --- 2.5 --- 6 --- 3
    Mr.A --- 40 --- 3.5 --- 6 --- 3
    Mr.A --- 40 --- 3.5 --- 6 --- 3
    Mr.A --- 40 --- 3.5 --- 6 --- 3
    SUM ---- 40 --- .... ---- 6 --- 3 -> Days left: 34 (wrong result - should be 37)
    I get the right result - but when I now try to calculate "Days available - Days worked SUM(Distinct)" I get the same results like I would do the calculation with
    "Days available - Days worked SUM".
    And is there a way to hide the multiple values in Days worked?
    thx

  • Non-cumulative Values not showing in Inventory Management Queries

    Hi:
    Has anyone had a problem with the new version and Non-cumulative key figures not showing up in Bex for Inventory Managemet reports? Specifically, they showed and validated back to ECC for our Development and QA boxes but now in our Regression box they are all showing zeros. Our Cumulative values are all showing correctly still within the Regression box. For example, Total Receipts and Total Issues are correctly poplating values but Total Stock is not.
    I have checked and validate that the configuration in the Regression box matches or Dev and QA box.

    Found the problem.  It had to do with the compression variant in the delta process chain.  The compression was set to 'no marker update'.  Since we only started receiving measureable deltas in or regression box this is where the incorrect setting showed up.  Reinitalized and the deltas are working correctly now.

  • Differences between Contract Cumulative Value an Release Orderes Value

    Hi All
    I have found differences in:  EKPO (PO Items)  and  EKAB (Release Orders) tables vs. Cumulative Target Contract value.
    The total amount in EKPO net values is grather than Cumulative Target Value in Contract, in EKAB net values as well.
    Do you know the considerations that the system are taking?....because the Cumulative value must not be exceeded
    Thanks for your tiime.
    Regards
    Mauricio

    I have found the issue, the delivery complete indicator restore the Cumulative Amount in Value Contracts (Quantity = 0). After that, a new PO could be created with Agreement link limited for the amount restored.
    So the all PO generated related with the contract could exceed the Cumulative Amount established in contract
    Thatu2019s a problem because All PO could be received even though the delivery complete was activated
    This behavior is only for Value Contracts
    Saludos
    Mauricio

  • How to use a cumulative value in a formula

    hi, experts
    I have a question about how to use a cumulative value in a formula. Below is the example:
                            wk1   wk2   wk3   wk4   wk5....wk n
    sales order        5       10    15      10      5
    build plan          8       8     10      15     10
    result                3       1      -4       1       6
    result row is what I want to get, the formula is:
    wk1 result = wk1 build plan - wk1 sales order
    wk2 result = wk1 build plan + wk2 build plan - (wk1 sales order  + wk2 sales order)
    wk3 result = wk1 build plan + wk2 build plan + wk3 build plan - (wk1 sales order  + wk2 sales order + wk3 sales order)
    I've already ticked the cumulative in properity of the key figures. It seems like that the cumulative results only can display, but can't be used in formula. Could you please help me? Many many thanks !!

    Hi
    In properties of that formula, there is option called 'formula collision' there you select 'formula from compiting result'. I think this will solve the problem.

Maybe you are looking for