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

Similar Messages

  • 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 Months Rolling Average

    Hello,
    I am trying to calculate Rolling Average for 12 months. I followed below link and it works perfect.
    BOBJ Tricks: Moving Average in Webi
    However, my requirement is slightly different. I want to calculate even when there is not data.
    Attaching the screen shots. Is there a way possible we can do something to achieve?
    Regards

    Hi Ajoy,
    You mentioned all values of meaure/4 means you are dividing the measure value/total no of reading days?
    what is that measure?
    and you are calculationg previous(monthly av),what are you expecting from this calculation?
    suppose see the below example.
    Example
    RunningSum([Revenue]) returns these results in the following table:
    RunningSum([Revenue];([Country])) returns these results in the following table:
    In your case try to use SERVERNAME,Month/year,week(You have readings per week right?)
    try using runningsum(measure) or runningsum(previous(measure))

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

  • Average of monthly daily average adventureworks cube

    I want to be able to create a calculated member which is the average of the monthly daily average. I have tried this using the adventureworks cube with the following MDX:
    with Member Measures.DailyAverage AS
    Avg ( EXISTING
    {[Date].[Date].[Date].Members},
    [Measures].[Internet Order Count]
    Member MonthlyAverageOfDailyAverage AS
    Avg ( EXISTING
    {[Date].[Month of Year].Members},
    Measures.DailyAverage
    select {(DailyAverage),(MonthlyAverageOfDailyAverage)} on columns,
    [Date].[Calendar Year].Members on rows
    from [Adventure Works]
    This doesn't yield the answer I am expecting, Looking just at year 2005, July has 146 internet orders, 31 days with orders, therefore a daily average of 4.709, August has a daily average of 5.2, September = 5.379, October = 5.2, November = 5.2 and December
    = 5.032. I want the average of these daily averages which should be 5.120. The MDX above gives me 5.588. What should my calculated member be to get what I want? Thanks

     Looking just at year 2005, July has 146 internet orders, 31 days with orders, therefore a daily average of 4.709, August has a daily average of 5.2, September = 5.379, October = 5.2, November = 5.2 and
    December = 5.032. I want the average of these daily averages which should be 5.120. The MDX above gives me 5.588. What should my calculated member be to get what I want? Thanks
    Hi,
    Your calculations seems to be correct for July and August only:
    with Member Measures.DailyAverage AS
    Avg ( EXISTING
    {[Date].[Date].[Date].Members},
    [Measures].[Internet Order Count]
    ), format_String="##.000000"
    select (DailyAverage) on 0,
    [Date].[Calendar Year].&[2005] * [Date].[Calendar].[Month] on 1
    from [Adventure Works]
    The average is indeed : 5,5874675 
    Philip,

  • 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

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

  • 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

  • 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

  • Rolling Average

    Hi,
    I have to calculate a five week rolling average that uses wo different formulas for weeks in the past and weeks in the future with respect to the current week
    . Is there a standard function for the same in SAP?
    If not how do we go about doing it?
    Thanks

    Hi Ravi,
    You can use this FM module to get current week.
    Data : datum like prowf-ertag,
    DATA: week LIKE scal-week.
    CALL FUNCTION 'DATE_GET_WEEK'
    EXPORTING
    date = datum
    IMPORTING
    week = week
    EXCEPTIONS
    date_invalid = 1
    OTHERS = 2.
    write : week.
    use this FM to get the previous week ..by subracting datum by 7 as there are only 7 days in week..same to fuuture weeks also...
    Regards,
    San!

  • Rolling averages/sums for counts

    I am a new user (business objects 12 relaease 2)
    I would like to build a report in web intelligence displaying the average count of the number of records per day, where the average is calculated for a rolling window of days.
    For example a rolling daily average count of records using a 3 day window would be caluculated by:
    Summing the counts of records for the last three days and dividing by 3
    I would like to include this rolling average in a table for a specified of time period, say the last 30 days. My table would have two rows the top row would be the date and would hgave 30 entries, inbe for each of  the previous 30 days, The scond row would have the 3 day rolling average for each of the 30 days. This table format will also allow me to graph the table
    An additional problem arises becasue there are some dates that have no data. I need to include those dates, but Web Intelligence won't display them. Is there a way of displaying dates with no values in the table?

    John Berezowski,
    In response to your question: "An additional problem arises becasue there are some dates that have no data. I need to include those dates, but Web Intelligence won't display them. Is there a way of displaying dates with no values in the table?"
    The solution is to build a "backend table" in your data base that has all of the applicable dates accounted for.  Then modify your universe by linking this new table to your pre-existing table and process as a left outer join (providing that this new table is on the "left" side, otherwise a full outer join will suffice due to the manner that you've built your table).
    A technique you can apply to the other columns used in your original table would be the use of the "coalesce" function to avoid nulls and transform unjoined values to spaces (or zero or some other value for integers). 
    thanks,
    John

  • 30 day rolling average of a single variable based on 1 hour averages?

    Can anyone recommend the best way to keep a 30 day rolling average of a single variable based on 1 hour averages?  I am thinking about using Citadel with and SQL query to update the average.  If there's a better way, I would appreaciate any ideas.

    I think you are on the right path, use the existing Citadel information with ODBC & SQL to get the data.  
    Saves archiving "duplicate" data.
    Forshock - Consult.Develop.Solve.

  • Creating 6 month moving average key figure?

    Hi-
    I have a power user who needs to generate a "complaint rate".  He needs to be able to divide the number of service notifications received in a month by a 6 month moving average of units shipped.  In this same query he needs to show the complaint rate for the past 6 months.  I am not a query writer...I only know the backend.  But I am at a loss of how to select 6 months of data upon a load to calculate the 6 month moving average of units shipped.  Any suggestions/ideas would be greatly appreciated.  (Or is this a calculation that can be created in the query?) 
    Thanks!
    -Jenn

    Hi
    I think this can be done in the Starting Routine of
    the Upd rules.
    If you are using ODS it will be easier.
    for each day you need an avg of the past 6 months, so when ever you load a record you can go to the ODS it resides in via SQL and calculate the 6 months trailing avg.
    to initialize the data you run a repair full load that will make the calculation.
    Reg's
    Edan

  • 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

  • 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

Maybe you are looking for

  • Two iPhone 4, one iMac

    Hey all. Please help. My son, and his wife have an iPhone 4 each. But share one iMac. Right now, my son's mobile me account is sync'd to his iPhone. How does he set it up so she can send and receive her own email under his mobile me? I don't think co

  • Itunes IS truncating idtags. Why?

    Yes. Itunes 8.1.1.10 IS responsible for truncating idtags. Here's when, and how this problem comes up for myself. If an album's title is named like the following examples: Moog and Mooger [IMPORT] Moog Mooger and Moogerer (The Moog) Moog Mooger [CD1]

  • SAP Interface to PathGuide Latitude WMS

    Hi All, Has anyone ever have experience of interfacing to this Warehouse Management System software using SAP? If so, what ABAP technology are we talking about? BAPI? Flat file? Even IDocs? etc Thanks, Niall Message was edited by:         Niall F

  • Upgrade java from 1.2 to 1.5 on SunOS 5.8

    Hi, Can anyone help me to upgrade java from 1.2 to 1.5 on SunOS 5.8 .... Thanks G. Singh

  • Help with zen micro! songs not appearing in creative mediasorce organiz

    ok i decided to add a few songs to my zen micro and found out when i go to the mediasource organizer it woulden't detect my music! is my mp3 player corupt? i have even tried finding my music in windows exploror but that wont even detect it shows up b