OBIEE 11g time series: regression on ago / todate function ?

Hello,
We are testing the migration to OBIEE 11G.
We are currently in 10.3 version
We have a problem on AGO / TO_DATE OBIEE functions that returns null results on existing reports.
In 10.3 version, these functions work properly with the actual TIME dimension.
Here is how we designed time Dimension:
TOTAL -> Year -> Quarter -> MONTH -> WEEK -> DATE_KEY, FULL_DATE
DATE_KEY is a number and referenced as a foreign key on our fact table.
CREATE TABLE TD_DATE
+(+
DATE_KEY NUMBER (11) NOT NULL,
FULL_DATE DATE
WEEK NUMBER (2),
MONTH NUMBER (2),
QUARTER NUMBER (1)
YEAR NUMBER (4),
TOTAL_DATE VARCHAR2 (11 BYTE)
+)+
Database version: Oracle 11g
All elements of the dimension are chronological key (except full date) in order to optimize performance.
Have you encountered similar problems in inplémentation of AGO / TO_DATE function on version 11g?
Thanks,
Romain

Does a month have always the same number of week and begin with the first day of a week ?
If it's not the case, your dimension is not good when you make a report on the week grain for a year ago for instance.
Here a check list:
http://gerardnico.com/wiki/dat/obiee/ago_todate_configuration#timecalender_dimension_design_verification
Success
Nico

Similar Messages

  • OBIEE 11g Time Series Function

    Hi All,
    I am trying to compare this year to date sales to last year to date sales and this code is not working:
    TODATE(<Measure>,<Time_Level>) For bellow syntax we are getting an error Formula syntax is invalid.
    TODATE("Fact - Sales Order Lines"."Net Ordered Amount", "Time"."Enterprise Year").
    Is the above example wrong?. Please provide one example for Time level value.
    Actually what should be the value for second parameter (Level)
    Thanks in advance.

    Hi,
    What error are u getting? make sure year hierarchy level on u r time dimension and then test it
    example: (via bmm)
    ToDate("Subject area"."Presentation table"."measure Column", "Subject area"."Time dim table name"."year dimensional hierarchy" )
    ToDate("Sample"."Fact_ICA"."Sales_Amt", "Sample"."Period"."Year" )
    <<Measure>> represents the logical measure column from which you want to derive. In this example, you would select the measure "Dollars" from your existing logical fact tables.
    <<Level>> is the time series grain you want to use. In this example, you would select "Quarter" from your time dimension.
    Refer section About the TODATE Function
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10540/dimensions.htm#BABBEGHH
    Thanks
    Deva
    Edited by: Devarasu R on Feb 18, 2013 6:02 PM

  • Ago/Todate Function

    How to make use of AGO/TODATE function in answer not RPD?
    I do not know how to insert data,such as time_level [AGO(expr, time_level, offset) ]

    Hi,
    AGO(<measure_expression>, <level>, <number of period>)
    Where:
    expr is an expression that references at least one measure column.
    time_level is an optional argument that specifies the type of time period, such as quarter, month, or year.
    offset is an integer literal that represents the time shift amount.
    Refer the below example:
    http://www.rittmanmead.com/2007/04/obi-ee-time-dimensions-and-time-series-calculations/
    http://sandybi.wordpress.com/2009/12/08/time-series-caclulations-in-obiee/
    Thanks
    Deva

  • How do I add moving averages to my time series graph is there a function on numbers on tr iMac?

    I've created a time series graph on numbers on my iMac but I need to add moving averages. Is there a function an if so where is it and if not is there a way to get around it

    Badunit,
    Here is an example plot, data sorted from most recent data at top of the table...
    You can see the moving average (of 20) is plotted from right to left.
    The Moving Average calculation is now wrong, and should have been calculated and presented from oldest to most recent.
    Here is the same data, with table sorted from oldest data at the top of the table.
    The moving average is also plotted from right to left, and shows the correct Moving Average for the most recent data.
    That is, it is calculated from oldest to most recent, with the last Moving Average data point plotted on "todays" date.
    What I want to see is my table displayed from most recent at the top (the top table), and moving average calculated and displayed as per the bottom graph.
    Edit: So, think about this some more,
    I need an option to tell Numbers to do the Moving Average calculation from the bottom of the table up, not from the top of the table down.

  • Obiee essbase time series calc todate returns 0

    1) when I enter todate in answers column formula I alwaus get systen error on time level?  Works fine in rpd.
    2) My period dimension is Dec through Jan.  What is the current month when I use todate()
    3) I'm trying to do a year to date calc based on a substition variable any suggestions?

    Does a month have always the same number of week and begin with the first day of a week ?
    If it's not the case, your dimension is not good when you make a report on the week grain for a year ago for instance.
    Here a check list:
    http://gerardnico.com/wiki/dat/obiee/ago_todate_configuration#timecalender_dimension_design_verification
    Success
    Nico

  • OBIEE 11g Time Hierarchy with YTD function problem

    Hi all,
    Platform: OBIEE 11.1.1.5.0.
    We have a Calendar dimension (*time dimension*), that includes the usual time hierarchy (Year > Semester > Quarter> Month > Day).
    Creating a Pivot Table with a YTD measure, using also the Calendar Table hierarchy, everything works fine, and we can drill up & down always getting the right YTD values.
    But, if we add to this analysis, a year and month prompts (filters), we only receive true YTD values, at the day and month levels of the hierarchy. Above this, values will sum up instead of getting the right YTD aggregated value.
    YTD logical column definition = TODATE(Table A.Measure B , Hieararchy.Year)
    Example of pivot values returned:
    *2011*=1192812 (Sum of the 3 Semester not the YTD value)
    Semester 1 = 377305 (Sum of the 4 Quarter not the YTD value)
    Quarter 1= 107460 (Sum of the 3 months not the YTD value)
    Jan = 18507 (YTD value)
    Feb = 35223 (YTD value)
    Mar = 53730 (YTD value)
    Is there anything that we might be doing wrong?
    Thanks in advance,
    Ricardo

    Ricardo,
    You might be aggregatign values twice either at RPD level or at reprot level. Please check on that.

  • AGO ToDate  function not using aggregates

    I use aggregated table and a detailed table
    I have time hierarchy whose lowest level is date. For sales I
    created year-to-year (YTD) comparision with AGO function. It
    works OK.
    BUT, I want to speed it up, so I used aggregates. I created new
    time table grouped by MONTH and corresponding agg_SALES table. I
    created connections and mapped the fields. It works OK for
    normal queries, that means my queries at month level use
    aggregates. BUT when I add YTD measures or YAGO measure in query, it goes to
    then SALES table whose grain is date.
    How can I force BI Server to use AGO function with aggregates?
    I use OBIEE 10.1.3.4
    Thank you
    Ishaq
    (Question originally taken from ITtoolbox and posted by Gorazd)

    Hi,
    you can not do it in Administration tool but you can set agregation for that field in Answers (fx->Agregation rule->Sum) and effect should be the same. Note that it may not work properly on Oracle 10g as generated SQL is not 100% recognized, on 11g everything is OK (at least in my case).
    Regards,
    Marko
    Edited by: user10449532 on 2008.11.19 06:29

  • Combining Time series functions, is it possible?

    Hello
    I have a requirement where I have to create time series measures. The Todate function and the ago function is pretty straightforward, however, it is required to also have last year Month to date, last year quarter to date measure, is it possible?
    For example, for quantity sold measure, I have created MTD, YTD Quantity Sold and Year Ago Quantity Sold. Now when running report on for July 2010, we will get the total Quantity return between Jan to July of 2010, and based on that, it is required to also view the total Quantity Sold of the same period (Jan 2009 to July 2009)of 2009. Is it possible for this?
    Another challenge i am dealing with is that if the current date is not the end of the month, let's say Oct 10th 2010. Since it has only been 1 week of Oct, they want to also get 2009's first week of Oct instead of the entire Oct of 2009. In this case, how is it implemented?
    Any advice will be greatly appreciated
    Thanks

    it is required to also have last year Month to date, last year quarter to date measure, is it possible?Yes, possible with time series functions..
    for calculating prior ytd,
    ToDate(Ago(measure, YearLevel, 1), YearLevel) last year Month to date:
    try this(din't test, but give a try)
    ToDate(Ago(measure, YearLevel, 1), MonthLevel)last year quarter to date:
    ToDate(Ago(measure, YearLevel, 1), QuarterLevel)btw, need to close your threads if answered...
    Edited by: Kishore Guggilla on Oct 26, 2010 11:31 PM

  • YTD, MTD, YAGO, Function (Time-series Functions TODATE, AGO) Like OBIEE

    Dear BO Gurus,
    I am a newbie to business object. I would like to ask are there any ready made time series functions which can be used in the BO Semantic layer (universe).
    Like Year to Date, Year Ago. Functions like TODATE and AGO functions found in OBIEE semantic layer (siebel analytics). It was just simple there, I had to use the function on the semantic layer and BI server would raise the query to get the answer.
    The syntax was
    Todate(measure, time_dim_attribute)
    Ago(measure, Time_Dim_Attribute, period)
    Thanks & Regards
    Ishaq

    Dear Gurus,
    There is no DB function in oracle to do this (AGO/TODATE).
    OBIEE issues time-series queries, in the form of AGO and TODATE. AGO gives you, for example, the value of sales one month ago or one quarter ago, whilst TODATE gives you the total of sales month-to-date, or quarter-to-date, or year-to-date. Both of these time-series functions rely on the existence of a time dimension in your business model and mapping layer, with the period you can refer to in the AGO and TODATE functions being determined by what levels you have in this time dimension.
    This eliminates the need to create and store complex time-based
    reporting tables.
    I would only like to know does the universe designer has this sort of functionality which is present in OBIEE semantic layer. Or I need to create and store time-based reporting tables.
    The question can best be answered by some-one has worked on both the BI platforms (OBIEE and BO).
    Thanks & Regards
    Ishaq

  • Time series functions are not working in OBIEE for ESSBASE data source

    Hi All,
    I am facing a problem in OBIEE as I am getting error messages for measure columns with Time series functions(Ago,ToDate and PeriodRolling) in both RPD and Answers.
    Error is "Target database does not support Ago operation".
    But I am aware of OBIEE supports Time Series functions for Essbase data source.
    using Hyperion 9.3.1 as data source and obiee 11.1.1.5.0 as reporting tool.
    Appreciate your help.
    Thanks,
    Aravind

    Hi,
    is because the time series function are not supported for the framentation content, see the content of the oracle support:
    The error occurs due to the fact the fragmented data sources are used on some Time series measures. Time series measures (i.e. AGO) are not supported on fragmented data sources.
    Confirmation is documented in the following guide - Creating and Administering the Business Model and Mapping Layer in an Oracle BI Repository > Process of Creating and Administering Dimensions
    Ago or ToDate functionality is not supported on fragmented logical table sources. For more information, refer to “About Time Series Conversion Functions” on page 197.
    Regards,
    Gianluca

  • Does OBIEE 11.1.1.7 support AGO function at Week level

    Hi,
    I have a time dimension with Year,Quarter,Month,Week and Day Levels.
    Year - 2013,2012...
    Quarter- Q1,Q2,Q3,Q4
    Month - 1,2,3..12
    Week - 1,2,...52
    Day - Date_id (20130101...(YYYYMMDD).
    My Keys are : Year Level(Year_Number)
    Quarter Level (Year+Quarter Number)
    Month Level(Year+Month number)
    Week Level(Year+Week number)
    Day - Date_id(also defined as chronological keys)
    I am creating a AGO(Measure,Level,1) in answers for Year and Week Level and they don't render correct results.
    I started building the hierarchy with only Year and Day levels..verified the results - Looks Ok.
    Similar fashion proceeded with Year,Quarter,Month and Day - Looks OK.
    When I introduce Week level - All the AGO values are incorrect.
    Any help on this is really appreciated.
    Regards,
    Swetha

    Thanks Srini Veeravalli for your reply.
    Yes I have verified it thoroughly.I have implemented this before on 10G for other customers and I don't feel that something is wrong with it .
    I found this link on AGO Function in OBIEE 11G:
    =======================================
    https://forums.oracle.com/message/9323083
    Does a month have always the same number of week and begin with the first day of a week ?
    If it's not the case, your dimension is not good when you make a report on the week grain for a year ago for instance.
    Here a check list:
    http://gerardnico.com/wiki/dat/obiee/ago_todate_configuration#timecalender_dimension_design_verification
    ============================================
    OBIEE 10G/11G - How to set up the time dimension (for time series functions Ago, Todate, ...) ? | GerardNico.com …
    In the above post also, Time dimension configuration for AGO/TODate ( Time series) are set up with 4 levels: Year,Quarter,Month and Day.
    So Just needed a confirmation  if week level shouldn't be in the hierarchy in 11.1.1.7.
    Regards,
    Swetha

  • YTD , Last year YTD help needed in OBIEE 11g

    Hi all,
    I have a report which looks this way
    Banner Name
    *Sales YTD*
    *Sales Last year YTD*
    YTD values are based on actual date of running report.
    *so ex: the report is ran on 10-feb-2013, the Sales YTD will be from
    01-Jan-2013 till 10-Feb-2013.*
    * Sales Last year YTD will be 01-Jan-2012 till 10-feb-2012.*
    I have achieved Sales YTD with my Time dimension.
    My time dimension has the data for Last year , year ago date!
    Can you please help me out on how to proceed for the Last year YTD
    calculation?
    Its helpful to share any syntax..
    Regards
    Kumar

    Hi,,
    you can use Todate Function.
    Take a Look @ this http://mkashu.blogspot.in/2013/08/obiee-model-time-series-in-obiee.html
    Regards,
    VG

  • Issue with nested aggregated in time series

    Hi Experts,
    I have a small requiremnt using time series.
    eg : (sum(current year4:Quarters bookingamt)-sum(previous year4:Quarters bookingamt))/sum(previous year4:Quarters bookingamt)
    Bookingamt is My measure Name.
    how do we implement above logic can please help regarding this.
    Thanks,
    C Mahesh

    Hi Mahesh,
    These functions help to obtain the data analyzed based on the time. There are two types of Time Series in OBIEE viz..
    1) Ago
    2) To Date
    Following are the prerequisites and procedure to create time series function in OBIEE RPD.
    a) Create a dimensional Hierarchy (ex: YearàQTRàMonth) and convert it to the time dimension. DC on hierarchy and check the box time dimension.
    b) Define the Chronological Key. A chronological key should always be the lowest level in the table and the data in it should be in the format of 20090102 or 200109 (year, month format). DC on level (preferred/last—detail) go to KEYS tab and check chronological key.
    c) Duplicate the existing column, rename and specify the formula for the column.
    1) Ago: This function when specified in any column displays data that is month ago, 2 months ago depending on the specified formula. DC on new column check use logical columns and click on exp. Builder. In the left column select functions and then time series and then AGO. Then in metric go to logical tables and select metric and in level go to time dimension and select month (1 month ago) and give the period as 1(since it is 1 month ago) then transfer two new columns to presentation layer
    Ex: sales: 100,200,300 à -, 100, 200 (1 month AGO).
    2) To Date: This functions allows us to display the aggregated measures based on the formula specified. DC on new column check use logical columns and click on exp. Builder. In the left column select functions and then time series then select TO DATE. Select metric from logical tables (revenue) and as level go to time dimension and select year(YTD) and OK.
    YTD- year to date – Displays aggregated values that is with respect to month since it is YTD. Similarly for QTD and MTD.
    Ex: sales: 100,200,300 à YTD Sales: 100,300,600
    http://www.rittmanmead.com/2007/04/obi-ee-time-dimensions-and-time-series-calculations/ -- How to implement step by step with screen shots.
    http://www.oraclebidwh.com/2009/12/time-series-wizard-in-obiee/ -- you can understand easily how to implement this with screen shot.
    Hope it help's
    Thanks,
    satya

  • Time series function hfm

    Hi when using HFM at a datasource the dimensions are not mapped as time.  So we cant use the built in functions ( in OBIEE) for time series.  How can we get this to work?  or is there a workaround. ?  The HFM dimensions are not able to be changed in the physical layer to represent time.

    Since you only asked how to get rid of the 2011 line, here are two ways:
    1) Filter on Time.Year column <> 2011
    or better
    2) Filter on Time.Year column <> YEAR(CURRENT_DATE)+1

  • How can you build time series measures in OBIEE without using TODATE AGO fu

    How can you build time series measures in OBIEE without using TODATE and AGO function?
    Please provide steps to build time series
    measures in OBIEE without using TODATE and
    AGO function. Dashboard results not storing
    in cache when using TODATE and AGO functions.
    eventhough its cached users queries not
    hitting cache because queries doesn't match
    exact date time when using TODATE and AGO
    functions. so I want to build queries using
    sysdate and some simple calculations. Please
    send your inputs/ideas for my questions..
    Thanks in Advance

    This can be using Msum function in answers. Use the following formula, here dollars is my metric. Change the formula based on your metric.
    Msum("Sales Measures".Dollars ,2) - "Sales Measures".Dollars
    the report will be cached and better performed compared with time series. check ti
    - Madan Thota

Maybe you are looking for

  • S10 integrated graphic chipset ?

    Hello, I'm about to puchase an S10 and I wonder if the motherboard integrate any basic graphic controler (like an intel gma 950 for instance) ? This would allow to boot and start configuring the S10 without any PCIe card. Thanks ! Solved! Go to Solut

  • Does Trend Micro Web Protection add-on work with Firefox 5??

    negotiating the screen changes just to ask a simple question took me through 9 screen changes already!!! why the "screen testing"? I am not trying to get a part in a movie. Simply, when I checked "help", "forum",and now prompted to ask this as a "new

  • Image in menu XML file

    Hi, When i add a menu in SAPBO with my Add-On, I must have an absolu path to view my bitmap (icon 16*16)Why can not have an relative path ? Example : This is not OK <Menu Checked="0" Enabled="1" FatherUID="43520" String="Service Management" Type="2"

  • How to send notification to IM client?

    Dear all, When a client receives a mail - audio or video mail, the client needs to be notified? How is this achieved? Rgds, Seetesh

  • Tried to do factory restore on 3G Ipod, now get a file folder with a ?

    I tried to do a factory restore on my 3G ipod for windows, during it, i got an error, and now the ipod just shows a folder with a question mark on it, and itunes won't recognize it - any suggestions on what to do?