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

Similar Messages

  • 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

  • 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

  • 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

  • Actual YTD & MTD value is not showing in BEx report....

    Dear Experts,
    Thank you all for the suggestions and support in solving the issues.
    I need your help once again in one of the complicated issues I am facing.
    Details :
    We are using one report Dealer Target.
    This report uses YTD and MTD. It shows the Target value (Planning Cube ) and Actual Sales value ( Actual Sales ). Here we are getting the right value of planning but not picking the actual sales figure from Sales cube.
    As we are using YTD and MTD :
    Actual YTD should show the a net sales from 1st'April to till date .
    And Actual MTD should show the 1st of any month to that date (User input).
    But in our case , both Actual YTD and MTD is blank. That means , data is not getting populated.
    We are using an USER EXIT for the requirement...
    But I am not able to find the way to proceed to find the problem where its getting stucked..
    Please suggest .. Waiting for your valuable response.
    Thanks,
    Sanjana.

    Hi,
    In this case have you restricted Value Type for Actuals as 10 and Budget as 20 ???
    This may be the reason why you are not getting Actaul values, pls check for the same.
    Regards,
    Vishnu

  • 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

  • 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

  • To Display two previous months YTD-Actual columns from the current month

    Hi All,
    i want to create a FSG report in which i require three columns describing months one for the current month and two for the previous months in order like if i run report in Oct 06 then other columns will be Sep 06, Aug 06 is this possible?
    if yes then how ??
    i m using POI-2 and POI-1 which is giving wrong results.
    thanks.

    i got the solution:)
    i was just assigning an offset to the cumulative column as well.

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

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

  • YTD in Measures or TIME

    Hi Guys,
    I wonder what is best practice, having YTD and MTD as a Measure for each of the core measures like:
    Actual
    Actual YTD
    Actual MTD
    Budget
    Budget MTD
    Budget YTD
    .. about 30 measures
    Or having it in the time dimension
    2010
    ---Qtr
    ----Jan
    -----Jan YTD
    -----Jan MTD
    -------1
    -------2
    -------3
    -------4
    -------

    While I agree with Cameron I also disagree with him at the same time. There are many isntances where it is favorable to have these calcualtions outside of the time dimension. Doing MDX range based formulas in an ASO cube is one. Also using TB in ASO cubes is another. Cameron's point "you are duplicating members for Actual, Budget, etc" is slightly accurate. Typically you are creating formula based member based on those other members. If a BSO cube is you make the formula members dynamic, you have not increased block size or calculation time. What I think one of the best solutions is what Gary Crisci describes in his blog as an Analytic (what I call a View) dimension. It works well for either ASO or BSO and really does not increase your DB size.

  • Unusual Output from Report ...

    Hi ...
    I'm constructing a report using report painter I have a requirement in my column for (Current Month Actual, Current Month Actual Last Year, YTD Actual, YTD Last Year)... I would like to use Predefined Key Figure
    My delema is I have several option when I select the Predined Key figure ranging from Actual Posting till Total Year.
    Question 1) For Current Month Actual -- which I should map under Predefined Key Figure and what are the selection should I do. The same goes for Current Month Actual Last Year, YTD Actual and YTD Last Year.
    Any I'm using Library 8A2 (PCA) which is 8A2-002
    Please assist me
    TQ
    Nathan

    For basic use KSL- Amount in profit center . For others try. KONZ_IST                 Actual postings       
    KONZ_IST2                Act. postings/ current
    KONZ_IST3                Act. postings / cumulat
    You'll need a columns defined with the period and years to do ty and py comparisons. Use a variable with a -1 to derive ly.
    Stick with currency KSL which is profit center currency.
    pls assign points as a way to say thanks.

Maybe you are looking for

  • SQL query returning error in 1 db and not in other db

    database1 Select AMT_OFF, COMMENT_TXT, COOP_AMT_OFF, DEAL_NO, DETAIL_ID, DETAIL_TYPE, MAX_QTY, MIN_QTY, PACK_QTY, PACK_TYPE, PCT_OFF, SEQ_NO, SITE_NO, VENDOR_ITEM From dealdtl WHERE (deal_no, site_no, seq_no) IN (select deal_no, site_no, seq_no from

  • Recursive Data types

    Hi all, There have been some threads about mapping of a message that has some recursive structures. I am wondering how to define recursive structures. Eg <Persons>      <Person>        <Name>        <Height>        <Father>               <Name>      

  • Why does the Flex app not looking right?

    Hi, I am making an AIR application. But what ever application that I make in AIR using Flex has grey area at the bottom. The canvas or what can I say, the stage isn't covering the whole area.    <------------  See here is the grey area In the design

  • HELP! - adding keywords to multiple images in Bridge

    I have about 2000 images that a client wants multiple people to add keywords to.  Is there a way to export thumbnails and keywording fields to excel and reimport when the keywords have been added?  Photos are of different locations and need to be ema

  • Check stock availability in non-PROD loc

    Hello, I have set my production st/location(PROD) in material master, When I creates the prod order it always check the stock availability in PROD location and pops up missing parts as stock is in raw materials loc. Can we set something, so that whil