Actuals vs Budget

I need some help please.
I have created a report showing actual monthly revenue amounts based on a parameter I created choosing the month.  I called it PTD Value (Period to Date).  It is written as follows:
if {?Month} = "1" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer1}
else
if {?Month} = "2" and {GenHistory.GlYear}= Year (CurrentDate)then {GenHistory.ClosingBalPer2}
etc, etc  for each month of the year.
I also created another formula for the budget for PTD, I called it BPTD (Budget Period to Date) just like the above code.
When I place the 1st value in the "Actual" column of the report everything works fine but when I place the 2nd formula into the budget column it shows 0 in the budget column and changes the Actual total to include the budget amount.
How can I show these two amounts in two separate columns?

The information comes from 2 different tables
I have 1 parameter and 2 formulas
Parameter named {?Month}
      Parameter formula is as follows:
if {?Month} = "1" then "January" else
if {?Month} = "2" then "February" else
if {?Month} = "3" then "March" else
if {?Month} = "4" then "April" else
if {?Month} = "5" then "May" else
if {?Month} = "6" then "June" else
if {?Month} = "7" then "July" else
if {?Month} = "8" then "August" else
if {?Month} = "9" then "September" else
if {?Month} = "10" then "October" else
if {?Month} = "11" then "November" else
if {?Month} = "12" then "December"
Formula 1 is named PTD Value
   Formula 1 is as follows:
if {?Month} = "1" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer1}-{GenHistory.BeginYearBalance}
else
if {?Month} = "2" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer2}-{GenHistory.ClosingBalPer1}
else
if {?Month} = "3" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer3}-{GenHistory.ClosingBalPer2}
else
if {?Month} = "4" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer4}-{GenHistory.ClosingBalPer3}
else
if {?Month} = "5" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer5}-{GenHistory.ClosingBalPer4}
else
if {?Month} = "6" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer6}-{GenHistory.ClosingBalPer5}
else
if {?Month} = "7" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer7}-{GenHistory.ClosingBalPer6}
else
if {?Month} = "8" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer8}-{GenHistory.ClosingBalPer7}
else
if {?Month} = "9" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer9}-{GenHistory.ClosingBalPer8}
else
if {?Month} = "10" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer10}-{GenHistory.ClosingBalPer9}
else
if {?Month} = "11" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer11}-{GenHistory.ClosingBalPer10}
else
if {?Month} = "12" and {GenHistory.GlYear}= Year (CurrentDate) then {GenHistory.ClosingBalPer12}-{GenHistory.ClosingBalPer11}
Formula 2 is named BPTD Value
   Formula 2 is as follows:
if {?Month} = "1" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget1}
else
if {?Month} = "2" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget2}
else
if {?Month} = "3" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget3}
else
if {?Month} = "4" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget4}
else
if {?Month} = "5" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget5}
else
if {?Month} = "6" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget6}
else
if {?Month} = "7" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget7}
else
if {?Month} = "8" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget8}
else
if {?Month} = "9" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget9}
else
if {?Month} = "10" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget10}
else
if {?Month} = "11" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget11}
else
if {?Month} = "12" and {GenBudgets.BudgetType} = "C" and {GenBudgets.BudgetNumber} = 0 then {GenBudgets.Budget12}

Similar Messages

  • How to get actuals at budget exchange rate

    Hi All,
    I am working on a multi currency planning application.
    I want to do variance reproting wherein I have to calculate variance between actual * actual exchage rate and actual * budget exchange rate.
    What can be the best way to do this?

    To get actuals at budget exchange rate the normal practice is to have another scenario called something like actual_bud_rate where you have the budget exchange rates loaded.
    The variance can then be accomplished in many ways whether that be via SmartView, Financial Reports, or creating another scenario and using one of the variance functions @VAR, @VARPER.
    The key to any of the methods for variance is that new scenario and loading the budget rates to that scenario.
    Regards,
    John A. Booth
    http://www.metavero.com

  • 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

  • Actual at budget rate

    Does the SPRUNCONVERSION rule calculate the scenario Categories (Actual at Budget rate, Actual at Prior Yr rate ...). I have all the required properties in place but cannot get the FX conversion to run on these categories.
    Aimee

    Hi Aimee,
    This should work.
    Most important is some requirements and settings in the category dimension. Below some properties in the category dimension that are needed:
    FX_SOURCE_CATEGORY: is the category where the data comes from
    RATE_CATEGORY: is the category where the rates are retrieved from
    RATE_YEAR: is the relative year where the rates come from (ie -1/1)
    RATA_PERIOD: is the period where the rates are retrieved from (ie dec)
    For example if you want actual @ budget rates then you have to create a new category called ACTBUD en apply the following property values:
    FX_SOURCE_CATEGORY: actual
    RATE_CATEGORY: budget
    RATE_YEAR: blank
    RATA_PERIODL blank
    Hope this helps,
    Alwin

  • YTD Actual and Budget Formula in Logical column

    Hello,
    Im trying to replicate a report from Oracle EBS into OBIEE.
    I have to create logical columns for YTD Actual , YTD Budget,Current month actual, Current Month Budget using GL_BALANCES table. The formula currently im using is,
    YTD Actual:
    CASE WHEN GL_BALANCES.ACTUAL_FLAG = 'A' THEN (GL_BALANCES.PERIOD_NET_DR - GL_BALANCES.PERIOD_NET_CR)+ (GL_BALANCES.BEGIN_BALANCE_DR - GL_BALANCES.BEGIN_BALANCE_CR) ELSE 0 END
    YTD Budget :
    CASE WHEN .GL_BALANCES.ACTUAL_FLAG = 'B' THEN GL_BALANCES.PERIOD_NET_DR - .GL_BALANCES.PERIOD_NET_CR + (.GL_BALANCES.BEGIN_BALANCE_DR - GL_BALANCES.BEGIN_BALANCE_CR) ELSE 0 END
    Current Month actual :
    TODATE(GL_BALANCES."YTD Actual", "Time Dim"."Month")
    Current Month Budget :
    TODATE(GL_BALANCES."YTD Budget", "Time Dim"."Month")
    Please let me know, if my calculations are right.
    Thanks

    Hi,
    I have only one KF and after closing the month, I would load actuals to the Budget KF itself.
    Right now this coulmn is a formula with below:
    ( 1 <= 'Last Actual' ) * 'Jan / Actual' + ( 1 > 'Last Actual' ) * 'Jan / &0T_VERS&'
    And the column heading is "January Act/Budget"
    At the moment it is confusing for users to know which figures are Actuals and which are Budget.
    Thanks
    Priya

  • Adding YTD Columns by Source Actual vs Budget

    Hi,
    I need to add a calculated column that sums accross months, but by the data source (Actuals vs Budget).
    I have three colonm levels, period number (ie 1,2,3  - hidden only for sorting), period name( ie DEC-07) and  Source (Actual & Budget). The default total includes all columns. I need to be able to sum by Actual and Budget and then add a variance.
    I am not very familiar with the grid formulas.
    ANy ideas or suggestions would be appreciated.
    Thanks,
    Trish

    Trish,
    If I'm reading this right you have an Actual column and a budget column for every month column.
    ActualTotal = {tbl.Actual1} + {tbl.Actual2} + {tbl.Actual3} + ...
    BudgetTotal = {tbl.Budget1} + {tbl.Budget2} + {tbl.Bugget3} + ...
    VarianceTotal = {@ActualTotal} - {@BudgetTotal}
    Is this what you are looking for?
    Jason

  • YTD Actual and Budget Formula from Oralce EBS into OBIEE

    Hello,
    Im trying to replicate a report from Oracle EBS into OBIEE.
    I have to create logical columns for YTD Actual , YTD Budget,Current month actual, Current Month Budget using GL_BALANCES table in OBIEE repository. The formula currently im using is,
    YTD Actual:
    CASE WHEN GL_BALANCES.ACTUAL_FLAG = 'A' THEN (GL_BALANCES.PERIOD_NET_DR - GL_BALANCES.PERIOD_NET_CR)+ (GL_BALANCES.BEGIN_BALANCE_DR - GL_BALANCES.BEGIN_BALANCE_CR) ELSE 0 END
    YTD Budget :
    CASE WHEN .GL_BALANCES.ACTUAL_FLAG = 'B' THEN GL_BALANCES.PERIOD_NET_DR - .GL_BALANCES.PERIOD_NET_CR + (.GL_BALANCES.BEGIN_BALANCE_DR - GL_BALANCES.BEGIN_BALANCE_CR) ELSE 0 END
    Current Month actual :
    TODATE(GL_BALANCES."YTD Actual", "Time Dim"."Month")
    Current Month Budget :
    TODATE(GL_BALANCES."YTD Budget", "Time Dim"."Month")
    Please let me know, if my calculations are right.
    Thanks

    Hi Srini,
    Thanks for the reply.
    The personalisation is working as far as it is embedding all of the OBIEE Application into the OAF personalisation. What I actually want to do is just embed the dashboard itself without the Search, Home, Catalog buttons.
    Do you know if this is possible? I was hoping the parameter Action=print would work but so far no luck.
    Thanks,
    Mike

  • Actual vs Budget

    Hi Experts,
    We are using SAP BPC 7.5 NW. We have planned to create a variance report wherein we want to capture actual vs budget data. Now, the problem is that we have maintained account members like Sales Production, Sales Value etc in our Account Dimension (P_ACCT) in SAP BPC. We want to create BEX Reports from which Webi Reports will be created using Universe. But in the BPC namespace in BW backend P_ACCT is present as an charateristic whereas in BW these are present as key-figures. We planned to use a multiprovider wherein we will store the budget and actual cube and do reporting on the multiprovider. But i am clueless how can i map BW Key-figures like Sales Value, Sales Production to BPC Account dimension members like Sales Value,Sales Production etc.
    Thanks in advance.
    Appu
    Edited by: Appu Del on Sep 20, 2011 5:23 PM

    What we do is have a dimension member in our Accounts called 'Actuals' then we export our Actual data from our financial system into our planning system then run variance reports.
    Another thing you could do if you don't want it in planning is create a separate essbase planning app for reporting, again export from Oracle into Essbase, export planning into the essbase reporting db and report off of that.
    I think you could also (someone else can confirm) link the oracle database to bring data over without the export.
    JTS

  • Actual and Budgeted amount

    Hi,
    I required total Actual and Budgeted cumulative amount cost centerwise. From which table can I get it. Please suggest.
    Regards,
    Harsh

    The plan line items entered in KP06 post to table COEJ, Actual are in COEP. for profit centers, plan in table GLPCP and actual in GLPCA, you can also use GLPCA to get cost center actual .
    The cost center is represented by an object number in COEJ and COEP, it will look something like this KSxxxx001-00101, the X represent the controlling area, and the digits after that represent the cost center number.
    pay attention that its possible to have more than on document (several line items ) for one value you see in KP06, for example if you entered $100 for Jan budget then you changed that to $150, you will see 2 documents in COEJ, one for 100 and one for 50

  • How to View the Actual Remaining Budget for Earmarked Fund?

    Hi All,
    First of all, pardon if my questions below are very basic, I'm an ABAPer trying to gasp the big FI process.
    Background:
    I created a project definition then allocate a budget via CJ30.  I created WBS Element then allocate a budget again.
    I created an Earmarked Fund via TCODE FMZ1 using WBS Element as my main budget allocation.  I then created a vendor invoice using that WBS Element.  I then post a payment against the invoice created.
    Via PS Report s_alr_87013557, I can see that my actual budget was deducted by the funds disbursed from my payment document.
    Does it have an impact on my earmarked fund?
    If I use the Earmarked Fund in my posting, is there a similar report to PS where I can see the actual budget deduction?
    Thanks.

    I am dealing with a similiar situation right now. In the standard PS reports, I cannot find where the value type (2A) for funds reservations (earmarked funds) is included in the report characteristics.
    We made a copy of one of the standard PS reports S_ALR_87013534 (form 12KST1G)  by going into CJE6 and then added value type 2A. After changing the custom report, your payment using the earmarked fund will be in the actual column and the remaining unused amount for the earmarked funds should be in the commitment column.
    In the earmarked fund document when you display it there is a button for consumption that shows the activity for that document.

  • YTD Actual & YTD Budget

    Hi All,
    How to calculate year-to-date Actual & Budget funds available through SQL query. Any hint?
    General Ledger Responsibility:-
    Version:-11.5.10
    Navigation :- Inquiry-->Funds
    kindly help..

    Trish,
    If I'm reading this right you have an Actual column and a budget column for every month column.
    ActualTotal = {tbl.Actual1} + {tbl.Actual2} + {tbl.Actual3} + ...
    BudgetTotal = {tbl.Budget1} + {tbl.Budget2} + {tbl.Bugget3} + ...
    VarianceTotal = {@ActualTotal} - {@BudgetTotal}
    Is this what you are looking for?
    Jason

  • Budget/Actual/Commt/Plan Costs

    Hi Gurus,
    i am running the below transactions,
    S_ALR_87013558 - Budget/Actual/Commt
    S_ALR_87013560 – Execute Budget Updates
    S_ALR_87013533 – Plan/Actual/Commt
    Now my Job is to extract the Data out of these reports,
    now since there are so many Finance costs are there , and most of them are being calculated , it's though to get correct Table Logics.
    Also debugging the whole standard transactions seems to be impossible,
    I tired fetching the report Data using ALV Extraction , but due to fact that ALV is disabled in standard code, i can not, fetching from Spool is also not feasible due to Performance issue.
    Also since PS Module interacts with every Other Modules so installing BI Content is also not feasible to me,
    Now , can anyone please help to understand , how to fetch data from these reports.
    i have already seen so many posts with same problems, but none were able to solve it.
    i would love to go with the Table Logic Approach, can you please help me.
    Thanks in advance
    Aman

    You could try to extract yourself the data
    Use logical database PSJ or report RKPSEL00 + variant to generate list of objects in project hierarchy
    Read CO Total table (e.g. COSS, COSP) or FM (e.g. K_COSSA_READ_MULTI, K_COSPA_READ_MULTI)  to access cost for those objects, field WRTTP identify cost type. (actual, commited, budget, etc.)
    Regards,
    Raymond

  • Budget to Actual Variance Formula in Scenario Dimension help

    I am trying to calculate the Budget to Actual variance by using a member formula in the Scenario dimension.
    The formula I'm using is: @VAR("Final"->"Actual" -> &CurrentYear,"Budget");
    This formula yields a value that equals the budgeted amount.
    The Variance % formula I'm using is: @VARPER("Final"->"Actual" -> &CurrentYear,"Budget")/100;
    This % formula equals 100% for most accounts, but is 200% or 300% for other accounts
    What am I missing? Many thanks in advance

    Jake,
    I'm a newbie, so I'm not sure what you mean by cross-dim. I didn't write the formula but it's up to me to figure this out. Yes, I do want to compare budget data to same year actual data.
    It is dynamic. A sample retrieve for -200% would be Total Operating Revenues:
    Actual = 2,404,789
    Budget = 2,117,250
    Variance $ = (2,117,250)
    Variance % = -200%
    A really crazy one is Benefits Rollup:
    Actual = 66,353
    Budget = 73,817
    Variance $ = 73,817
    Variance % = 500%
    I appreciate your help very much.
    Max

  • Tables for  BUDGET & ACTUAL - COST CENTER

    Hi
    I want to know what are the table in which the actual and the budget for the COST CENTER are stored....
    Regards
    SAP4ME

    Hi Eli,
    Thnx for the reply.i have already checked those mentioned by u.
    My req is  that i want to pull the DATA for developing a report of ACTUAL and BUDGET for a particular cost center o range of cost cost centersfor a range of period.
    But in the table mentioned by,how can i will come to know,to which cost center ,what is budgeted and the actual .
    Please give some details.
    Regards
    SAP4ME

  • Standard Report showing Released Budget versus Actuals

    Hi All,
    Can any 1 tell me that is there any report that shows Released Budget versus Actuals

    Hi,
    Use this tcode to compare actuals vs budget.
    S_ALR_87013557 - Budget/Actual/Variance
    Muzamil

Maybe you are looking for