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/

Similar Messages

  • How can I create a view of top five teams averages based on individual averages of that team?

    I have created a list that groups teams by their Team name (Team column) with the individuals members (participants column) averages and their team average (total average view option).  I want to only display the top five teams that have the overall
    top team averages.  I have a list that contains a team name, average minutes, week, and participant. The team manager plugs in each week a new entry for each participant on the team.  I have a view that computes each team average but I want a view
    of the top five teams based on the top averages of the team (not individual participant average).  Unfortunately, I can only seem to get all teams grouped with individuals of that team, their individual averages and the team average but can't figure out
    only how to show the top five teams top average.  Because it's a total (team average) and not a separate column, I can't get a view by team based on total average.  I can by top individual average but not by the team.  Can some one help me figure
    out a solution?

    A calculated column won't work because a calculated column can only reference the individual item, not the entire list or a subset.
    You could do javascript to build this, but to me it's easier to just use Excel.
    Andy Wessendorf | Solution Foundry [email protected]

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

  • 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

  • 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

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

  • How to Compute the average six months of customer orders excluding the first orders

    Hi all
    I am writing some basic sql to generate some measures from a postgres database table that are going to be inserted into a SQL SErver table.
    I have to two tasks where I am supposed to generate the average 6 months spend and average 1 year spend using the customer data but excluding the first time orders.
    I have some sample data below:
    CREATE TABLE orders
      persistent_key_str character varying,
      ord_id character varying(50),
      ord_submitted_date date,
      item_sku_id character varying(50),
      item_extended_actual_price_amt numeric(18,2)
    INSERT INTO orders VALUES ('01120736182','ORD6266073','2010-12-08','100856-01',39.90);
    INSERT INTO orders   VALUES('01120736182','ORD33997609','2011-11-23','100265-01',49.99);
     INSERT INTO orders VALUES('01120736182','ORD33997609','2011-11-23','200020-01',29.99);
     INSERT INTO orders VALUES('01120736182','ORD33997609','2011-11-23','100817-01',44.99);
     INSERT INTO orders VALUES('01120736182','ORD89267964','2012-12-05','200251-01',79.99);
     INSERT INTO orders VALUES('01120736182','ORD89267964','2012-12-05','200269-01',59.99);
     INSERT INTO orders VALUES('01011679971','ORD89332495','2012-12-05','200102-01',169.99);
    INSERT INTO orders VALUES('01120736182','ORD89267964','2012-12-05','100907-01',89.99);
     INSERT INTO orders VALUES('01120736182','ORD89267964','2012-12-05','200840-01',129.99);
     INSERT INTO orders VALUES('01120736182','ORD125155068','2013-07-27','201443-01',199.99);
     INSERT INTO orders VALUES('01120736182','ORD167230815','2014-06-05','200141-01',59.99);
     INSERT INTO orders VALUES('01011679971','ORD174927624','2014-08-16','201395-01',89.99);
     INSERT into orders values('01000217334','ORD92524479','2012-12-20','200021-01',29.99);
    INSERT into orders values('01000217334','ORD95698491','2013-01-08','200021-01',19.99);
    INSERT into orders values('01000217334','ORD90683621','2012-12-12','200021-01',29.990);
    INSERT into orders values('01000217334','ORD92524479','2012-12-20','200560-01',29.99);
    INSERT into orders values('01000217334','ORD145035525','2013-12-09','200972-01',49.99);
    INSERT into orders values('01000217334','ORD145035525','2013-12-09','100436-01',39.99);
    INSERT into orders values('01000217334','ORD90683374','2012-12-12','200284-01',39.99);
    INSERT into orders values('01000217334','ORD139437285','2013-11-07','201794-01',134.99);
    INSERT into orders values('01000827006','W02238550001','2010-06-11','HL 101077',349.000);
    INSERT into orders values('01000827006','W01738200001','2009-12-10','EL 100310 BLK',119.96);
    INSERT into orders values('01000954259','P00444170001','2009-12-03','PC 100455 BRN',389.99);
    INSERT into orders values('01002319116','W02242430001','2010-06-12','TR 100966',35.99);
    INSERT into orders values('01002319116','W02242430002','2010-06-12','EL 100985',99.99);
    INSERT into orders values('01002319116','P00532470001','2010-05-04','HO 100482',49.99);
    Using the data, this is what I have done:
    SELECT q.ord_year, avg( item_extended_actual_price_amt )  
    FROM (
       SELECT EXTRACT(YEAR FROM ord_submitted_date) as ord_year,  persistent_key_str,
              min(ord_submitted_date) as first_order_date
       FROM ORDERS
       GROUP BY ord_year, persistent_key_str
    ) q
    JOIN ORDERS o
    ON q.persistent_key_str  = o.persistent_key_str and 
       q.ord_year = EXTRACT (year from o.ord_submitted_date) and 
    o.ord_submitted_date > q.first_order_date AND o.ord_submitted_date < q.first_order_date + INTERVAL ' 6 months'
    GROUP BY q.ord_year
    ORDER BY q.ord_year
    Can someone help me look into my query and see whether I am doing it the right way.
    Thanks,
    Ion

    This more looks like a mysql code. Please try posting the question in mysql forums
    http://forums.mysql.com/
    This is one way of doing this in T-SQL
    CREATE TABLE orders
    persistent_key_str varchar(100),
    ord_id varchar(50),
    ord_submitted_date date,
    item_sku_id varchar(50),
    item_extended_actual_price_amt numeric(18,2)
    INSERT INTO orders VALUES ('01120736182','ORD6266073','2010-12-08','100856-01',39.90);
    INSERT INTO orders VALUES('01120736182','ORD33997609','2011-11-23','100265-01',49.99);
    INSERT INTO orders VALUES('01120736182','ORD33997609','2011-11-23','200020-01',29.99);
    INSERT INTO orders VALUES('01120736182','ORD33997609','2011-11-23','100817-01',44.99);
    INSERT INTO orders VALUES('01120736182','ORD89267964','2012-12-05','200251-01',79.99);
    INSERT INTO orders VALUES('01120736182','ORD89267964','2012-12-05','200269-01',59.99);
    INSERT INTO orders VALUES('01011679971','ORD89332495','2012-12-05','200102-01',169.99);
    INSERT INTO orders VALUES('01120736182','ORD89267964','2012-12-05','100907-01',89.99);
    INSERT INTO orders VALUES('01120736182','ORD89267964','2012-12-05','200840-01',129.99);
    INSERT INTO orders VALUES('01120736182','ORD125155068','2013-07-27','201443-01',199.99);
    INSERT INTO orders VALUES('01120736182','ORD167230815','2014-06-05','200141-01',59.99);
    INSERT INTO orders VALUES('01011679971','ORD174927624','2014-08-16','201395-01',89.99);
    INSERT into orders values('01000217334','ORD92524479','2012-12-20','200021-01',29.99);
    INSERT into orders values('01000217334','ORD95698491','2013-01-08','200021-01',19.99);
    INSERT into orders values('01000217334','ORD90683621','2012-12-12','200021-01',29.990);
    INSERT into orders values('01000217334','ORD92524479','2012-12-20','200560-01',29.99);
    INSERT into orders values('01000217334','ORD145035525','2013-12-09','200972-01',49.99);
    INSERT into orders values('01000217334','ORD145035525','2013-12-09','100436-01',39.99);
    INSERT into orders values('01000217334','ORD90683374','2012-12-12','200284-01',39.99);
    INSERT into orders values('01000217334','ORD139437285','2013-11-07','201794-01',134.99);
    INSERT into orders values('01000827006','W02238550001','2010-06-11','HL 101077',349.000);
    INSERT into orders values('01000827006','W01738200001','2009-12-10','EL 100310 BLK',119.96);
    INSERT into orders values('01000954259','P00444170001','2009-12-03','PC 100455 BRN',389.99);
    INSERT into orders values('01002319116','W02242430001','2010-06-12','TR 100966',35.99);
    INSERT into orders values('01002319116','W02242430002','2010-06-12','EL 100985',99.99);
    INSERT into orders values('01002319116','P00532470001','2010-05-04','HO 100482',49.99);
    /*SELECT q.ord_year, avg( item_extended_actual_price_amt )
    FROM (
    SELECT EXTRACT(YEAR FROM ord_submitted_date) as ord_year, persistent_key_str,
    min(ord_submitted_date) as first_order_date
    FROM ORDERS
    GROUP BY ord_year, persistent_key_str
    ) q
    JOIN ORDERS o
    ON q.persistent_key_str = o.persistent_key_str and
    q.ord_year = EXTRACT (year from o.ord_submitted_date) and
    o.ord_submitted_date > q.first_order_date AND o.ord_submitted_date < q.first_order_date + INTERVAL ' 6 months'
    GROUP BY q.ord_year
    ORDER BY q.ord_year
    with cte as
    (select *, row_number() OVER( partition by persistent_key_str order by ord_submitted_date) RN from orders )--where ord_submitted_date between dateadd(month,6,getdate()) and getdate())
    SELECT year(cte.ord_submitted_date),avg(cte.item_extended_actual_price_amt) FROM cte
    where rn<>1
    group by year(cte.ord_submitted_date)
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • Rolling Averages and Trans per Minute

    Is it possible to perform a rolling average calc and transaction per seconds on the BAM dashboard? I am currently building a PoC for my team and these are 2 of the requirements that I have not been able to implement using the docs. I would like to display a gauge that tells me appx how many transactions per second I am processing and a graph that displays the rolling average of my transactions over time.
    Thanks,
    Bill

    hello Bill - this may be an alternate 2nd use bar or line view- select your parameter to display a 'count' and add a filter to show it for the last 1 minute, [check activex], and after that select your grouping by the timefield, select group 1 sec, value format-as second. This should give you something close to your view.

  • Month to Date and Year to date calculation

    Hello Experts,
    It would be great If you could provide the formula to implement in BO universe or in the Reporting level for the below requirement.
    MTD, LastMonth, Year to Date, Last to LastMonth and examples are below.
    Last Week:
    Eg: Monday through Sunday
    Description: Based on Todayu2019s date, select the Monday of the previous week for the start date and Sunday will be the end date.
    Example:
    If Today is May 22, 2009
    The result would be, Monday = May 11, 2009, Sunday = May 17, 2009
    MTD:
    If Today is May 22, 2009
    I need a result MTD = May 1, 2009 u2013 May 21, 2009
    LastMonth:
    If Today is May 22, 2009
    I need a result LastMaont = April 1, 2009 u2013 April 30, 2009
    Last to LastMonth:
    If Today is May 22, 2009
    I need a result LastMaont = March 1, 2009 u2013 March 31, 2009
    Thank you.

    Nisniki,
    Here are the methods using WebI:
    MTD: 
    Create a local variable "MTD Start"
    =RelativeDate(LastDayOfMonth(RelativeDate(CurrentDate();-30));1)
    Create a local variable "MTD End"
    =currentdate()
    LastMonth
    =LastDayOfMonth(RelativeDate(CurrentDate();-30))
    Year to Date
    create a local variable "YTD Begin"
    =ToDate("01/01/"+FormatNumber(Year(CurrentDate());"####");"mm/dd/yyyy")
    (reuse "MTD End" or build a "YTD End" variable same as "MTD End")
    Last to LastMonth
    (similiar to MTD, but using "60" versus "30" to move back two months versus moving back 1 month.
    To perform this stuff in the universe requires an understanding of the SQL syntax for the paricular vendor your are working with.  ANSI SQL agrees to represent and compute dates uniformly, however, the functions to make it happen varies by the vendor.
    Thanks,
    John

  • Is there any way to retrieve ONE MISSING BOOKMARK...containing months of research, and the only one missing??

    I suddenly have one bookmark missing...only one! which just so happens to be the one containing all the research I am currently working on. And it contains months and months of compiled data, websites, etc...WHICH IS needed to finish my project. was sick this last week and did not turn on computer at all, and I know the bookmark was there when I last used computer. Tried to do several system restores, only to get a message back on each (4) saying " restore could not be completed" but no explanation as to why...is there any other way to retrieve this bookmark? IT wasn't backup'd, (LIKE IT SHOULD OF BEEN) or in recycle bin ?? in case it was deleted...(which I'm not sure where it goes if it were deleted..) ANY SUGGESTIONS??? COULD REALLY USE HELP!!! SINCERELY,
    ESPRIT DESIGN
    LISA K

    The question details show Firefox OS.
    Is this a problem on such a mobile device or is that on a desktop computer (your user agent suggests you are on Windows XP)?
    Did you check that you haven't moved this bookmark by accident to another bookmarks folder?
    If it happened so long ago that this bookmark is no longer in one of the JSON backups (bookmarks-####-##-##.json) in the bookmarkbackups folder then chances to retrieve this bookmark aren't very good.
    You can try to create a new profile and see if restoring a JSON backup that looks promising in regard of the date shows you the lost bookmark.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox

  • Daily and Monthly Production Allocations

    Does anyone out there have experience with using PRA for daily production allocations?
    I know there are lots of companies using PRA for their monthly production allocations but I was hoping to get some feedback as to why companies have avoided doing their daily allocations in PRA.  Any feedback would be greatly appreciated.
    I am working on a project that is considering moving their daily and monthly allocation from TOW (Landmark Graphics) to SAP.

    Hi Polaris,
    Instead of hard coding the HRS as 8 in PCR please try to read the hours from Info type 0007. Sample PCR is as below.
    where EG-1 is intern
    Z105-Time type
    For permanent employee complete calculation will be based on the IT0008.
    Please explain with an example if you still have any queries.
    Hope this helps:)
    Regards
    Rakesh KM

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

  • Upgrade Eligibility Moved to 24 Months

    I'm curious as to how people feel about the upgrade eligibility being moved to 24 months, to coincide with the end of the contracts.  Please share your thoughts but remain respectful of others and their opinions.
    The link is below from the statement that VZW issued.  There are also some other points in the announcement, but I think that this is the major one.
    http://news.verizonwireless.com/news/2013/04/verizon-wireless-upgrade-statement.html

    Brian68 wrote:
    Verizon is risking losing customers. Here's why. Most people want to upgrade as soon as they are eligible. Well at 20 months you are still under contract so it's not like you can leave without paying a lot of money anyways. So if you want that new phone you're not going to wait 4 extra months when you can get it now. Nor are you going to pay and ETF because then you might as well be paying full price. So you upgrade and BAM new 2 year contract. Under this new scenario the upgrade and contract have the same end date so one can look at other carriers and leave Verizon without penalty.
    Someone made this point in another thread, but I can't remember who it was.  Do you remember Brian?  Maybe this is part of the positive spin that Verizon Wireless put on this announcement.
    Ann154, you're welcome!

Maybe you are looking for

  • Smartbrush Tool

    I have adobe Photoshop Elements 9 that I purchased last year.  I was watching a tutorial on how to darken hair color.  However, my smartbrush doesn't seem to be working correctly.  When I click on the smartbrush icon instead of a circle type marker d

  • ITunes Can't find Some Songs?

    Hey guys - I had my Ext HD damaged and had to get a new one. I had my library and everything else important backed up (I keep all files on an ext HD to keep my computer HD free of crap). I didn't lose anything. When I opened iTunes and directed it to

  • BBM doesnt work just to one contact

    Both my brother and I have 8900 curves, adn we're on each other bbm list. I can send messages to anyone else on my list, and they go through fine, but if i ever send him a message, or he sends me one, whilst the tick has the small D above it, neither

  • Buttons for a drill down.

    I have 2 pages each with hidden fields on them. When I click a button on first page I want to be redirected to the 2nd page passing the hidden value from page 1 to page 2. I am trying to accomplish this by using the Optional URL Redirect which points

  • Print Quality with a Cannon Pixmar

    I have just installed a new Canon Pixma mx879. When I go to print a Pages document, I don not get a choice of print quality. There is no drop down menu for print quality (but there is in Word) I am running an older version of Pages. Any suggestions?