12 Month rolling Variance formula

Hi,
I have been struggling with writing a member formula for variance of 12 month rolling Budget vs Prior Year Actual. My substituion variables are &CurrMonth, &PriorMonth, &CurrYear and &PriorYear. I am probably able to get 12 month trailing with the below given formula
@Sumrange(Budget,Dec:&PriorMonth->&LastYear),@Sumrange(Budget,&CurMonth:Jan->&ThisYear);
the challange is how to get variance between this and Actual of Prior Year. Can I give this calculation a name (like "12 month trailing"), so that I can use the formula
@Var("12 month trailing",(&CurrYear->Actual));
Any other simpler ways of doing it would be appreciated. Any ideas as to how this can be done in EPMA, as of now I am using the formulas in the Outline.

Hi,
You can use variables in business rules but unfortunately not in member formulas. You can however paste the firs formula to a dynamic calc member and call this member from the second dynamic calc member. But mind you, the second one should be two pass calc.
Cheers,
Alp

Similar Messages

  • 12 months rolling forecast

    I am trying to write a calc script that should be able to do 12 months rolling forecast in one of our cubes.
    The months are the fourth gen of dimension "Period", "Year" has FY07, FY08, FY09.... in it and the "Scenario" has projection, budget, forecast, actual, etc.
    Can someone please help me out and tell me what do I have to write in my script to be able to do the forecasting.
    Thanks in advance,
    Bobby

    1) put 0fiscper in the heading but your variables for the dynamic columns need to be set to the right type of text heading for that or you set it to characteristic value.
    2) I could not get quarterly totals as
    P1 P2 P3 Q1 P4 P5 P6 Q2 etc since the dynamic columns does not allow for BPS totals on quarterly in BPS layout definition but I use local Excel formula in layout definition in that at the last page of the layout definition, I count out 12 columns in the heading to figure out where the monthly amounts P12 ends and the following 4 columns I set up 4 Excel formula totals for sum(p1column:p3column), sum(p4column:p6column) etc.  I tend to put the annual total after the 4 quarterly totals and specify the excel formulas as sum(p1column:p12column).  If you want it even nicer since you don't know the number of rows of data, you would actually have something like:
    IF(ISBLANK(A4),"",SUM(C4:E4))
    Hope this helps,
    Mary
    Hope this helps.

  • Query with 12 month roll up

    Hi,
    Can anyone let me know how to  create a query with 12 month roll up offset.
    Thanks,
    Sunny.

    Hi Sunny,
    Create a restricted KF with a variable restrictions on Fiscal Year Period (0FISCPER) or Calander Month (0CALMONTH) whicever is present in your Infocube .
    The Characterstic Variable used on Fiscal Year Period (or Calander Month) should be Single Value, Mandatory and Ready for Input.
    The Fiscal Year Period Restriction on  the KF should be a Value Range
    From Value - Variable with offset of ( -11)
    To Value - Variable Value (this value will be entered by User)
    This will display the Rolling 12 value if you want to divide it by 12.
    Create a Formula and divide the above Restricted KF by 12 to get Rolling 12.
    Thanks
    CK

  • Variance Formula: Cost of Service between 2 years

    Good day everyone,
    I am using BOXI r2 sp 4.
    The following variance formula will ONLY work if the client selects the time frame of 1 year.  For example 2008-01 to 2008-12
    =<Cost of Service>Where{<Billing Year Month>=UserResponse{Enter Billing Year Month Start:"} - <Cost of Service>Where{<Billing Year Month>=UserResponse{Enter Billing Year Month End:"}
    PROBLEM: the client must select 2 years  For example 2007-01 to 2008-12
    But none of my formulas work.
    =<Cost of Service>Where{<[Billing Year Month>=UserResponse{"Enter Billing Year Month End:"}}-<Cost of Service>Where{RelativeDate{<Billing Year Month>;-365}}}
    or
    =<Cost of Service>Where{<Billing Year Month>=UserResponse{"Enter Billing Year Month End:"}}-<Cost of Service>Where{RelativeDate{<Billing Year Month>;-365)=UserResponse{"Enter Billing Year Month End:"}}
    or
    =<Cost of Service>Where{<Billing Year Month>=UserResponse{"Enter Billing Year Month End:"}}-<Cost of Service>Where{<Billing Year Month>=UserResponse{"Enter Billing Year Month End:"}}Where{RelativeDate{<Billing Year Month.;-365}}
    Someone please put me out of my misery.  
    Wannetta

    Hi Gentlemen,
    Thank you for all of your patience, guidance, and expertise trying to create this formula on the report level. 
    Could either one of you explain the significance of creating these types of formulas at the semantic level vs. the report level?  I have been working on the following formulas and reports to varying degrees of success.  Once finalized, these templates may be utilized as Opendoc reports between 2 universes.
    After a great deal of research, I am inclined to think that these formulas need to be created at the semantic level rather the report level.  What is the best way to argue this case to my design team?
    REPORT SPECS:
    I. FORMULAS:
    These reports will have formulas built in for variance analysis.  These variants would compare the values versus different time period or constraints (budgets, forecast, etc.):
    Vs. Prior Year, Quarter, or Month
    Vs. Budget
    Vs. Forecast
    Vs. Sequential time period/OPEN (This one essentially means the user can pick the time period to compare)
    Vs. Productivity / Attributions (more detail needed)
    $ Variance
    % Variance
    Rate  = Current Rate - Previous Rate * Current Volume (Cost/Unit)
    Volume = Current Volume - Previous Volume * Previous Rate
    II. REPORTS:
    Report Structure u2013A: Twelve month summary trend report
    This report is intended to summarize the product data for any twelve (12) periods.  Reporting periods will be monthly, with the maximum capacity for twelve (12) months.
    Report Structure u2013 B: Two period variance report
    This report is intended to summarize the product data for any two (2) periods and provide variances for each of the product/service details.
    Reporting periods will be month vs. month, quarter vs. quarter, YTD vs. YTD or year vs. year. Month vs. month and quarter vs. quarter can be year-over-year comparisons (1Q08 vs. 1Q09) or sequential period comparisons (4Q08 vs. 1Q09).
    Report Structureu2013C: Two year, four quarters and total year report
    This report is intended to summarize the product data for any two (2) years by quarter and total year.
    Reporting periods will be monthly, with the maximum capacity for twelve (12) months.
    All of these reports will generate tabs for the total cost, total volumes and average rates per product for the selected periods.
    REPORT BUILDER RESEARCH:
    In addition to all of your great help, I have found many formulas that would appear to be similarly useful for my requirements, yet my design team has indicated otherwise.  For example, I found the following code samples within this and the design forums:
    Compare Prompted Period to Previous
    DESIGNER LEVEL: create new Filter object
    @Select(Sales Dates\Sale Year) = @Prompt
    >('Select a Year','Sales Dates\SaleYear',mono,comstrained)OR@Select(SalesDates\Sale Year)+1 = Prompt('Select a Year','N','Sales Dates\Sale Year',mono,comstrained)
    This will return the Prompted year as well as the previous year.
    UNIVERSE FORMULAS:
    count CYTD (Current Year to date)
    count PYTD (Previous Year to date)
    count CMCY (Current Month Current Year)
    count CMPY (Current Month Previous Year)
    count CYTD 
    >CASE WHEN data_year=@Prompt('Enter Year','N',,,) and data_month<=@Prompt('Enter Month','N',,,)THEN sales_figures END
    count PYTD 
    >CASE WHEN data_year=@Prompt('Enter Year','N',,,)-1 and data_month<=@Prompt('Enter Month','N',,,) THEN sales_figures END
    count CMCY 
    >CASE WHEN data_year=@Prompt('Enter Year','N',,,) and data_month=@Prompt('Enter Month','N',,,) THEN sales_figures END
    count CMPY 
    >CASE WHEN data_year=@Prompt('Enter Year','N',,,)-1 and data_month=@Prompt('Enter Month','N',,,)THEN sales_figures END
    Hereu2019s a sample  problem that my design team encountered:
    Using a derived table; one of my designers attempted to create the following object, $ Var (A-B) based upon UserResponse for any time frame which he said would not work.  Can someone identify the problem here?
    SELECT DISTINCT
    (T_FA_DATA.BILLING_YEAR_MONTH) as BILLING_YEAR_MONTH,
    (select T_FA_DATA.COST_OF_SERVICE from T_FA_DATA where T_FA_DATA.BILLING_YEAR_MONTH=@variable('Enter Billing Year Month End:'))-( select T_FA_DATA.COST_OF_SERVICE from T_FA_DATA where T_FA_DATA.BILLING_YEAR_MONTH=@variable('Enter Billing Year Month Start:')) as SEQ_VAR
    FROM
    T_FA_DATA
    Can someone provide me with a realistic and CRITICAL assessment of this request?   I know itu2019s complex but I would greatly appreciate it.  In the end, we will create over a dozen reports which, I think also indicates the need for objects at the universe level.
    Thanks!

  • 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

  • Report Painter: 12 month rolling

    Hi all,
    In SAP IDES, we have 12-month rolling under the library 0F1, 0F-EX001 12 months rolling.
    The column of period, which is &0F-RP11 &0F-RY11 to &0F-RP00 &0F-RY00 ... When execute, this will display as follows: 1 2000, 2 2000, 3 2000, ... 12 2000, where 2000 is the fiscal year.
    Question:
    I tried to simulate the same setting, but my new report does not have enough column width to capture the variable (short text), but medium and long text is OK).  But during running, no matter how I change the replort layout, like lead column, columns, etc ... the report still cannot cater the fiscal year variable.
    Therfore, does anyone know how to "enlarge" the column width?
    Thanks in advance.
    sbmel

    Hi
    To change the column width of the report painter columns, follow the below steps:
    1. Keep the cursor on the column header which you want to change
    2. From the Menu, select Formatting->Columns
    3. Change the value of the column width field to what you want
    4. and press enter
    This will change the column width of all the columns assigned to this Format group.
    However if you want to change the column width of one particular column without changing the others, then you can follow the below steps:
    1. Keep the cursor on the column header which you want to change
    2. From the Menu, select Formatting->Columns
    3. Change the Format group to say a different value which is not used in the report (say 04 or 05)
    4. Change the column witdh
    5. Press assign and press enter.
    Hope this answers your question.
    Regards

  • Re: Last 12 Months Rolling

    Dear All,
    I am using OBIEE 11g, Can any one help me pls..
    i have two prompts like Year and Monthname..
    For example: User selects 2013 June
    report has to display last 12 months from selected month, that i achieved using supporter report. (ref:: Last N months(Rolling months) data By year-month prompt in OBIEE | OBIEE by Shiva Molabanti)
    But here i have to allow user to select multiple months from the prompt.
    if user selects 2013 April,May,June here i need to take the maximum month in our case it is June.
    From june to last 12 months i need to display..
    how can i do this..give me an idea pls
    Regards,
    Bhargav 

    Hi Bhar,
    You are correct in your use of a "supporter report" You just have to use 2 columns in the supporter report.
    Structure your supporter report in this way:
    2 columns:
    Col1 = Max(Month)
    Col2 = Timestampadd(SQL_TSI_MONTH, -11, MAX(MONTH))
    Filter: Month = user prompted month(s)
    year = User prompted year
    Then in your final report, your filter is based on both column #1 of your supporter report, AND column #2 of your supporter report like so:
    Month <= Col1 of supporter report
    AND
    Month > Col2 of supporter report.
    Understand that this logic wont not work if the user selects wildly different months. ( 3 months from different decades )
    have fun, please mark as helpful if this gets you on the right track. Otherwise post and I will try to clarify.

  • OBIEE 12 months rolling average

    Hi,
    I have a report requirement where i want to see 12 months rolling average for measure.
    Report filter:  Year, Period
    Ex: If i select Month and Year Sept 2013 is given as filter, it should pull data from Oct 2012 to Sept 2013 and divide it by 12.
    Please let us know the thoughts
    Thanks in advacne.

    hi,
    A general procedure hierarchy you can use.
    Create a hierarchy for time dimension, use time series function
    ago("measure",level(12 months))
    then make one logical column use this existed calculated column as sum and again make one more logical new column use the sum value column and divide it by 12.
    Just gain the solution in RPD itself.
    for more information visit here OBIEE -Time Series in OBIEE
    Regards,
    VG

  • 12 Month Moving Average and 12 months rolling average

    Hi All,
    please let me know what is difference 12 Month Moving Average and 12 months rolling average
    can i get 1 example to achieve the solution

    Hey suneel,
    Both average are more or less same, for better understanding. go through below link, where you can get some clarifications.
    http://www.brighthubpm.com/project-planning/111351-guide-to-computing-rolling-averages-for-business-forecasts/

  • 12 month rolling forecast report using FR

    Hi All,
    Could you all advice me on how I can create a 12 month rolling report using Financial Reports? Basically what we need is a report where we would be able to see across years, so for example if I were in March and running this report, I'd be able to see my forecasts from March this year up to Feb of the next year.
    Thanks for all answers!

    try to read this link. i hope this one will help you:
    http://www.oracle.com/technology/obe/hyp_fr/fr_rolling_forecast/obe_rollingforecast.htm
    Cheers,
    LYN

  • 12 Months rolling forecast with prev. 4 month actuals - Integrated Planning

    Hi,
    What is the best practice for setting up a 12 month rolling planning with -4 months of actuals and +12 months of forecast with IP?
    Let's think about a very basic setup, Cost Center planning:
    - We have 2 infoproviders (for act/plan) and they are combined as a multiprovider and that is used on the aggregation level.
    In the planning layout/query:
    - On the lines Cost Elements are shown
    - On the columns periods and keyfigures are shown.
    The requirement is that actuals are shown for 4 previous months and planning is open & visible for the current month +11 months. We do not wish to show any actuals beside the figures for planning NOR old planned values beside the actuals for the previous months.
    Versioning works as follows: Zero version is always open for planning and snapshots are loaded into different versions at a given point in time. Actuals are also loaded as version 0.
    Value types are as usual: actual = 10, Plan = 20 and we use 0FISCPER for periods.
    So the result should be that we'll show 16 periods for each line (cost element) with the 4 first columns as static cells displaying only actuals and the 12 latter as input ready cells open for planning.
    All tips leading to workable solution are rewarded!
    -Miikka

    Hi
    Miikka Åkerman  
    how are you set 4 first columns as static cells displaying only actuals and the 12 latter as input ready cells open for planning.?
    and how about you designer cube that is include what characterices and key figure
    you said
    In the planning layout/query:
    - On the lines Cost Elements are shown
    - On the columns periods and keyfigures are shown.
    this periods is set as a keyfigures?
    Now I am face the same problem
    how to  set 4 first columns as static cells displaying only  and how to set the 12 latter as input ready cells open for planning.?
    if periods is move to next periods
    how to rolling this plan ??
    hope you can help me
    thanks a million

  • I had previously installed the trial adobe cc illustrator which expired months ago, can i re install on a month by month rolling contract so I can just use it for a month??

    I had previously installed the trial adobe cc illustrator which expired months ago, can i re install on a month by month rolling contract so I can just use it for a month?? please help

    Hi munzafeedback,
    I have checked your order registered under your email ID posted here, it has a muse single App CC purchased on September 23rd 2013,
    You have not yet activated it, the billing date is 23rd of each month(you will be charged on this date irrespective of the fcat that you are using it or not).
    Incase you do not want to use it now, please get it cancelled as it is within 30 days of purchase.
    If you plan to cancel it after 3o days of purchase, the subscription will attract cancellation fee .
    Please go through the cancelation detail at :
    http://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting- creative-cloud.html
    Regards
    Rajshree

  • 12 months Rolling data

    Hai friends,
    Urgent requirement. Plz help me out.
    I have time characteristics Fiscal year(0fiscalyear) and Posting Period (0fiscper3). Based on these I will create 2 user input variables one for fiscal year and another for posting period. Now Based on input , I have to get 12 months rolling data. Key figure is sales.
    suppose user enter fiscal year as 2008 and posting period as 02. I have to get sales data for 01/2008,12/2007,11/2007...................02/2007.
    I have to write user exit. Plz help me with ABAP code. Am weak in ABAP coding. Help will be rewarded.
    Full points assured if the answer is helpful.
    thanks in advance
    Edited by: siddharth on Feb 7, 2008 5:33 AM

    Hai pradhiba,
    Thanks for your response. But there is no data for 0fiscper(fiscal year/period) in my cube. That is the problem. SO i have to write exit. Plz help me out. Its an urgent requirement. I have to do it today and submit to client.

  • Variance Formula Correction

    Hi folks,
    I use BOXI r2 sp 4. I need to build a crosstab report with the following requirements:
    1) Create a variance report structure
    2) End user should select two periods to compare (i.e. 1Q08 vs 1q09),
    3) The report should reflect the variance of the most recent period (a) compared to the older period (b), if a is greater than b, then the variance (difference) should be a positive number (a minus b = var),
    4) A column should be created to reflect the dollar variance
    5) Another column for the percentage change (var divided by b) and show one decimal place on the percentage (i.e. 10.1%)
    6) There are two period prompts Billing Year Month using OR
    7) There is one Business Segment prompt In List
    The first 6 requirements can be met with 1 query and it returns the correct variance and percentage change.
    In order to add the 7th requirement, I added another query but the variance and percentage change are no longer correct.
    The queries come from the same universe and folders thereof.
    Can someone please correct this formula and explain what I am doing wrong?
    7 Requirements: INCORRECT
    >=[FABR BYM].[Cost of Service] Where ([FABR BYM].[Billing Year Month] = UserResponse("Enter Recent Billing Year Month:")) - [FABR BYM].[Cost of Service] Where ([FABR BYM].[Billing Year Month]=UserResponse("Enter Older Billing Year Month:"))
    6 Requirements: CORRECT
    >=[Cost of Service] Where ([Billing Year Month] = UserResponse("Enter Recent Billing Year Month:")) - [Cost of Service] Where ([Billing Year Month]=UserResponse("Enter Older Billing Year Month:"))

    Hi folks,
    I use BOXI r2 sp 4. I need to build a crosstab report with the following requirements:
    1) Create a variance report structure
    2) End user should select two periods to compare (i.e. 1Q08 vs 1q09),
    3) The report should reflect the variance of the most recent period (a) compared to the older period (b), if a is greater than b, then the variance (difference) should be a positive number (a minus b = var),
    4) A column should be created to reflect the dollar variance
    5) Another column for the percentage change (var divided by b) and show one decimal place on the percentage (i.e. 10.1%)
    6) There are two period prompts Billing Year Month using OR
    7) There is one Business Segment prompt In List
    The first 6 requirements can be met with 1 query and it returns the correct variance and percentage change.
    In order to add the 7th requirement, I added another query but the variance and percentage change are no longer correct.
    The queries come from the same universe and folders thereof.
    Can someone please correct this formula and explain what I am doing wrong?
    7 Requirements: INCORRECT
    >=[FABR BYM].[Cost of Service] Where ([FABR BYM].[Billing Year Month] = UserResponse("Enter Recent Billing Year Month:")) - [FABR BYM].[Cost of Service] Where ([FABR BYM].[Billing Year Month]=UserResponse("Enter Older Billing Year Month:"))
    6 Requirements: CORRECT
    >=[Cost of Service] Where ([Billing Year Month] = UserResponse("Enter Recent Billing Year Month:")) - [Cost of Service] Where ([Billing Year Month]=UserResponse("Enter Older Billing Year Month:"))

  • 12 Month Rolling Report

    Hi,
    I want to create a report where user can select a month and according to the selection the previous 12 months will be pulled into the report.
    In my Time Dimension, I have Period_Name as Month (such as Jan-09, Feb-09.......)
    Kindly suggest how I can get this thing rolling....
    Regards,
    Jitendra

    hi,
    Go , Step by Step
    1)First pull the end date column and use below filter condition
    time.end_date between TIMESTAMPADD(SQL_TSI_MONTH,-11,current_date ) and current_date
    see whether you are getting end date columns correctly or not based on the current_date
    2) time.end_date between TIMESTAMPADD(SQL_TSI_MONTH,-11,time.end_date ) and time.end_date use your formula and compare the results whether u have the data in database or not
    3) use presentation variable +'@{date_v} {2009-01-01}'+ give the default value in answers ,see the preview
    Try this
    thanks,
    saichand.v

Maybe you are looking for