OBIEE - (Actual - Plan) Calculation

HI,
I have a simple question on OBIEE.
I am using Obiee with Essbase and have a simple calculation to calculate (Actual - Plan) Data.
FILTER("SalesFlat"."Sales" USING "Scenario"."Gen2,Scenario" = 'Actual') - FILTER("SalesFlat"."Sales" USING "Scenario"."Gen2,Scenario" = 'Plan')
This works fine if i have Actual and Plan Data. However, if one of the value (Actual or Plan) is missing, obiee gives null.
It works if i use CASE statement or direct essbase formula.
Any suggestion is highly appreciated.
Thanks
Sam.

Something like
(ifnull(A,0)/ifnull(B,0) - ifnull(C,0)/ifnull(D,0)) * ifnull(B,0)
btw: Generally fact metrics should be 0 try to handle it in db or using etl

Similar Messages

  • Actual & planned costs calculated while creating Plant Maintenance Order

    Hi All,
    I would like to know how the actual & planned costs calculated while creating Plant Maintenance Order (PM Order)
    Thanks,
    Ajay

    You need to create an activity rate for 2014 for cost centre 51260201 and activity type NAHG20.
    This can be done via transaction KP26, but is usually performed by your Finance team.
    PeteA

  • S_ALR_87013611:  Cost Centers: Actual/Plan/Variance

    Hello everyone,
    I am needing some help in understanding the Cost Centers: Actual/Plan/Variance report S_ALR_87013611.  I understand the basic concept, but I am having trouble figuring out how it comes up with its numbers in the "Total Value in Report Currency" field.
    When I go into the report, a list of cost center groups pop-up on the left-hand side of the screen.  So, I select cost center group 200, then the right-hand side of the screen pulls up  a list of the cost elements and their actual VS planned numbers.  When I scroll down to the bottom of the screen I see a section for "Activity Types", so I double click on activity type A200 "ST Personnel Run Hours" and then I select "Cost Centers: Actual Line items" report.  This is where I am seeing the "Total Value in Report Currency" field that I can not figure out how it is calculating.  The column header for this actually reads "Val.in rep. cur.", I have went into F1 for the help information and it, unfortunately, does not help me what so ever.
    Also, where does it come up with the "Total Quantity"  on the same report?
    I would appreciate any insight into the report. 
    Thanks in advance for all of you help,
    Rhonda

    Hello Madhu,
    I am not seeing a different currency, I just do not understand how it comes up with the result in that column?  Where does it pull the amount from exactly?
    The hr quantity shows .250 hrs and the value in rep.cur. shows 6.06.  Where does the 6.06 come from?
    Any help in understanding this would be greatly appreciated.
    Thank you,
    Rhonda

  • Actual Cost Calculation in Process Order

    Hi All,
    I updated Standard cost of a raw material through a cost estimate and also ran cost estimate of the FIN that is using this raw material but when I am creating a Process order, it is taking the cost of this particular raw material from the previous estimate not the recent one to calculate the target cost. Can any body help me with this.
    Thanks
    MKR

    Hi Ashok,
    My Valuation variants for the Costing Variant of Cost Estimate and Production order (Actual/Plan) cost calculation are in Sync to get the prices according to the price indicator in material master. But when it calculates cost for a production order, it is picking up cost from the previous period for that particular raw material. I have updated the standard cost by running the cost estimate but still its not working.
    Any lead on this. This will be really appreciated.
    Thanks
    MKR

  • Actual Price Calculation Issues

    Hi,
    I need explanation on how the system calculates actual prices in KSII.
    In my cases i maintained Rs 1.00  as variable price for my activity type and cost center combination in KP26. My planned activity is 1000 Mins and actual activity is 3600. in KSII system is showing 2129.64 as actual price calculation. how the system is calculation as 2129.64. If i see cost center report it is showing that over absorption as -2600.
    Please guide me on the actual price calculation.

    HI,
    KSII - Actual Cost/Actual Qty.
    Please check what is your actual cost and Actual qty. in your cost center report and check. Planned qty. or Planned cost is not taken for consideration during KSII.
    Bye,
    Ramesh

  • Actual price calculation - acutal price indicator KSII

    Hi Friends
    I am trying to calculate actual price (KSII) and am getting the following message.
    All activity prices are manually entered
    Message no. KP211
    Diagnosis
    All activity prices in controlling area 1000, fiscal year 2009, and version 0 were determined and set as manually entered prices.
    In actual price calculation, all plan activity prices, meaning those calculated automatically (activity price indicator 1 and 2) and those set manually (activity price indicator 3), are treated as if they have been set manually.
    System Response
    The SAP System cannot calculate activity prices automatically.
    Processing is cancelled.
    Procedure
    Check your activity type planning. To calculate the activity price automatically, you must set the activity price indicator accordingly.
    Pl suggest what the actual price indicator should be in activity master data
    I am putting 5 there (after some actual data is posted) but it is not working. it is still giveing the above error and not calculating the actual price.
    Pl suggest the way out.
    Regards,

    Hi,
    In activity type creation check whether you maintained activity category as "1" and actual price indicator as"5"
    Regards,
    Sreekanth

  • Errors arose during actual cost calculation

    Errors arose during actual cost calculation
    No prices could be determinedfor object activitytype company code xxxx , cost center XXXX, activity type XXXX
    Pls let me know immediately friends deperate,
    regards,
    sri

    Hi
    when you gone to the transaction code Kp26 Activity typ price/ planning after give the input press period screen or F6 function key and check what price was maintained for your period 12.
    And even you do one thing go to the transaction code KS02 or 03. Give the cost center and press enter . Then from the meny bar select Environment -> whereused list->.
    And let me confirm how you run the cost estimate for the material
    bye

  • CALCULATION OF ACTUAL PRICE CALCULATION  - KSII

    Dear Friends,
    We are using Make to Order scenario and NOT USING Sales order based costing, I would like to calculate Automatic activity price calculation and revaluate my production order with actual prices (MFN1), for this I need to create & assign splitting rules to cost centers & follow the t.codes KSS2, KSII, KBK7 (DISPLAY) and finally MFN1.
    For Calculation of KSS2, how Plan Quantity has to be decided, this because for calculating Operating rate system take the formula as below, whether the below formula is correct?
    Actual quantity/ Planned quantity * variable price
    If for a cost center, postings are happened in FI for 10000/- then how system calculate & segregate this?
    if possible with an small example, when checked in KSS2 it shows the amount of postings from FI with cost elements.
    But when we checked t.code KSII it was showing the some different Actual Activity and variable price. How system takes the Actual activity and Variable Price and is there any report to check this?
    please guide me
    Regards,
    Sandeep
    Edited by: sandeep jain jain on Nov 2, 2009 4:15 PM

    Hi Paolo,
    You were exactly right that it was rounding off.
    But still am not able to get the calculation working for me.
    In Cost Center Report Actual/ Plan it shows
    Debit Assessment Cost Element 10000
    Credit Machine Hour 458.16-
    Credit labour Hour 124.96-
    over/under Absorption 9,416.88
    This are all actual cost.
    When i run KSII the result is as below
    Oty  Object                        Name                    AUn              Activity Qty Total Price     Price(Fixed) PUnit
    ATY MBX273/L1                Testing CCTR         H                 1.666         3,001.20         3,001.20      1
    ATY MBX273/M1                Testing CCTR         H                 1.666         3,001.20         3,001.20      1
    I am not getting how this value  3,001.20  is calculating.
    Kindly help me to under stand this
    Edited by: lolu jo on Oct 28, 2011 3:57 PM

  • Currency in 'Cost Centers: Actual/Plan/Variance' report for specific user

    Hi there CO people, I'd like to ask about currency settings in CO S_ALR_87013611 report (Cost Centers: Actual/Plan/Variance)
    The question is ... where can I define the currency in which report output should be displayed?
    I've got such situation, that amounts for USER_X are displayed in CURR_X currency, whilst for USER_Y amounts in report are displayed in CURR_Y currency.
    Could You tell me some tip? Or give some literature-track to follw? I'd be thankful for help. Greetings. P.

    USER_X -> TCode: RPC0 -> Tab: Report currency -> Tick 'Objeck currency' (Before was: 'Controlling area currency')
    now USER_X has got the same currency as USER_Y
    That solved my problem
    Greetings

  • User is trying to acces t code S_ALR_87013611  Actual/Plan/Va Cost Center

    User is trying to acces t code S_ALR_87013611  Actual/Plan/Variance and is getting the error message. There are no changes done to the user role.
    The message comes as below :
    The report 'Cost Centers: Actual/Plan/Variance' is incomplete
    No authorization for 20 of 67 read records.
    This type of messages are found in 2 or 3 users. A s per feedback recieved from project security team some user got this problem & later on they stopped getting these type of error .
    The user also says that suddenly from last month they started getting this error for report S_ALR_87013611  .
    If anyone has faced this issue please let me know the resolution .

    Hi
    Seems to be a pure authorization issue... Seems they have no auth for some Cost centers / cost elements
    Go to SU53 when you get such error and you will come to know of the reason
    br, Ajay M

  • Issue with report (S_ALR_87013611) that is actual/plan line items for Cost

    Hi Gurus,
    I am having issue with the report (S_ALR_87013611) that is actual/plan line items for Cost Center.
    When i execute the report for a cost element  510200 the amount is 23,380.13, but when i drill down on it by double click on that amount the value in obj curr is 15468.91. Hence there is the differnce. When i futher drill down by double click on the amont of 15468.91 and i go to display group currency and take the total it is 23380.13 and display in local / doc currency the amount is 15468.91. I guess due to this there is difference. The cost center & the cost elements are the same i have checket it.
    My concerns is that the group curr is USD and obj curr / local curr is USD. So is group curr and doc curr is USD then when i click on dislay curr and select group curr why the amounts are changing.
    Kindly adivce

    Try to look if there is any filtering criteria applied in the report to which you drill-down.
    The difference can be also caused by the "value type" - some reports show actual and statistical costs together in one column while the others strictly show (are defined to show) only e.g. actual costs (type 04) and not the statistical costs (type 11)

  • Report Painter: Cash Flow Actual/Plan Report on Profit Center

    I must create a Cash Flow report Actual/Plan/Variance Figures per Profit Center by using a report painter.
    It will be created in monthly basis format, and year-to-date format (two different formats).
    The format is in GL accounts instead of standard Cash In and Cash Out format.
    I need to extract the Plan figures. However, we don't have planning on PCA. We are only doing plan on cost center, either revenue or cost (revenue is created as cost element category costs/reducing tax).
    Should I extract it from the Cost Center Plan & add up all plan amounts of the cost centers that attached to the specific profit center? How can I do that?
    What do you suggest as the best solution? Please explain briefly and using what t-code, tables and fields to extract from.
    Thanks,
    -=Meila.S=-

    Hi John,
    Go to Menu - > Edit -> Variation
    You can set the order of the Selection Screen fields there.
    Hope this helps you
    Regards
    Andrew

  • Function Modules for Actual, Plan, Budget Cost over internal orders

    Dear All,
    I need a function module for getting the Actual, Plan, Budget Costs for the internal orders assigned.
    I want to fetch the cost related to internal order which is assigned to project C projects in PLM.

    hai tehre are no such funcion moduels
    u have to select from bpge and bpja tables
    and sum up them
    afzal

  • Authorization control for actual price calculation

    Dear all,
    I found that there is no authorization control for actual price calculation(KSII), this means user can calculate actual price for all cost centers, even this cost center belongs to other company. Is there a way to control this?
    Thanks,
    Ben

    Hi Ben,
    By SAP standard we do not have the control.  we also have the same situation.  We are venturing in to Realisation phase and we decided to have some kind of program (development) to control this.
    Please let me know if you find some better solution
    Best Regards
    Surya

  • Actual price calculation

    Hi Experts,
    We have this scenario:
    1. Activity prices are entered manually in KP26.(Activity type indicator=5)
    2. At the time of CO11N only POWER activity will confirm.
    3. Executing CPTA for overhead allocation.
    4. KSS2 for power activity
    5. No splitting for other cost elements
    6. KSII Actual price calculation
    7. MFN1 Revaluation of order
    After revaluatin of order when i am checking actul cost for activities only power cost is coming.
    Please find the enclosed print screens for same above process.
    Please guide me how to get the actual price calculation for other activities.
    KP26 :
    KSS2:
    KSII:
    CO03:
    Regards,
    Vivaan

    Hi Rajneesh,
    Yes Splitting rule is Activity only.
    Ex.
    1.Order Quantity = 1000
    2. I confirmed yeild 500 Qty & power activity 200 in CO11N.
    3. Now when i execute  CPTA for that order its calculating like below.
    4. KSS2:
    KSII:
    Now actual price is coming same for other activities except power.
    If i maintain no split structure that time in KSII only power actual price coming as print screens posted in original query posted.
    Please advise me on Actuall price calculation as per our business scenario.
    Regards,
    Vivaan
    Now my client is asking is as below
    Cost center report  xxxxxx
    Water GL cost = 60000
    Water Qautnity=1000(This is PO Total order quantity)
    Water actual price=60000/1000 =60
    Confirmed Quantity= 500
    Actual price  calculation for water = 500*60=30000
    same for other activities also.
    Please advise.
    Regards,
    Vivaan

Maybe you are looking for

  • Will installing OS X Yosemite ruin my Windows 8.1 Boot Camp partition?

    Hey everyone, The question is pretty self explanatory. I've got a MBA running on latest version of Mavericks, and I'm wanting to update to Yosemite. I have a Windows 8.1 partition created with Boot Camp, and I'm just wondering if installing Yosemite

  • How to install DW 8 Patchpackage.msp for Windows 7?

    I have DW 8 which ran great on Vista Home Premium. I have upgraded to Windows 7 and have many issues with DW 8. I would like to install the 8.02 patch, but it will not install via usual method. I then downloaded Patchpackage.msp and have attempted to

  • Upgraded to iWeb '08 and pictures on my website are gone

    I just upgraded and in the iWeb app everything looks good but when I publish to site there are no pictures on photo pages. Videos are still there but no pics. Any ideas??

  • Implenting BADI in place of customer exit in BEX reports in BW

    Hi all, I am new to implemrnting BADIS in to BW. We have already used user exit  RSR00001. We want to use BADI's in place of exit 'RSR00001' . Can any one tell me how to migrate the existing exit to BADI using tcode SAPU. OR any one can help me regar

  • Exporting file in Flash CS5.5

    Hi, I created an animation segment with Flash Professional CS5.5. and am trying to export it in Quick Time format but everytime I try, one or more of the images are lost. Also, some images leave trace behind. I fiddled around with the settings by cha