Time Dimension in OBIEE

Hi all,
I have an essbase cube with 2 dimensions related to time.
Year and Time (that contains Qtr, Months and days).
I'm working with OBIEE and would like to know if I can create 1 Time dimension that combines Year and Time so I can have:
2010
- QTR1
-- Jan
-- Feb
-- Mar
2011
- QTR1
-- Jan
-- Feb
-- Mar
I read the OBIEE tutorials but it doesn't show how to do this. May be is not possible?
Thanks

Hi
One cannot modify the cube dimensions from OBIEE. Also, even in OBIEE, you get the data for the intersection of at least one member from each dimension. Which looks like:
Year Time Time
2010 QTR1 Jan, Feb, Mar
2011 QTR1 Jan, Feb, Mar
But, you can use some options like 'hide column' etc in order not to show a particular dimension(s) in the report.
Regards
Vikas

Similar Messages

  • Setting up a TIME dimension in OBIEE

    Hi,
    We have an Oracle OLAP Cube built using AWM v10.2.0.3A. We have also created a relational view for this cube (using the OLAP view generator) and are now using this view as a data source in OBIEE v.10.1.3.3.2.
    As part of defining the Time dimension in the Business Model Layer of OBIEE repository, we have done all the relevant mappings to the TIME dimension as in the AWM Cube and have marked the dimension as type 'TIME'. Also, for the TIME logical table, we have defined each level (All Years, Year, Month, Quarter, and Day) to have its own chronological key with unique values at all levels. The primary key for our TIME table in the business layer is 'Day'. This level 'Day' is mapped to TIME_DAY_LVLDSC column of the relational view created over the AWM cube. The data type for this column is "VARCHAR". (We basically picked up all the 'Description' columns while creating the view over the cube!)
    With this background of the TIME dimension structure, here is the problem scenario:
    When we try to create a report with one AGO and one TODATE function defined over the "Day" level (both are defined as logical columns), then the report takes forever to run and never comes back with any data/error even for a handful of rows. We are seeking the forum's help on the following:
    1. Is it necessary for the primary key 'Day' of the TIME logical table to be of type DATE? If yes, does this mean that we have to change the column data type in our cube (or select a 'date' type column to be a part of the view and then redo the mapping in the repository) or do we just make a change to the column data type in the physical layer of OBIEE repository?
    2. Going by the description above, is there something missing (other than point 1. above) in the setup of the TIME dimension in OBIEE so as to make it usable for Time Series type of calculations/functions?
    Any help is much appreciated.
    Thanks and Regards,
    Piyush

    Hi Wildmight,
    Thanks a lot for your kind inputs.
    1. No, VARCHAR is fine. You should have also defined unique time keys in your time dimension (Quarter Year, Month Year) and check box 'time dimension' in the properties of your time dimension.
    -->> The Time dimension that we have defined in the Business layer of the repository is mapped to the respective level columns in the AWM cube and has already got unique members at each level. We are using the "Description (LVLDSC)" columns for each level and have defined the "Description" column to have unique values at each level. A sample data set looks like :
    Year:
    2007
    2008
    Quarter:
    QUARTER1 2007
    QUARTER2 2007
    QUARTER1 2008
    QUARTER2 2008
    Month:
    JANUARY 2007
    FEBRUARY 2007
    JANUARY 2008
    FEBRUARY 2008
    Day:
    Monday, January 1st 2007
    Tuesday, January 2nd 2007
    So in the above case, do we still need to define a unique key for each level like Quarter Year, Month Quarter, etc.? (Please note that the check box for 'TIME' dimension is checked !)
    2. Is your AGO based on TODATE? or your TODATE based on AGO?
    -->> I am not sure what this really means - however I can tell you that we have created two new logical columns (in the fact table in Business Layer) : one to show the measure as TODATE for Day level, and the other to show the measure as Day Ago.
    So it means that we are trying to create two reports with three columns as below:
    - Day     Measure on Day     Measure Todate (Day)
    - Day     Measure on Day     Measure Day Ago (Day, 1)
    I hope I have been able to clarify the problem scenario with this. Does this setup seem correct to you?
    Many thanks for your help.
    Best Regards,
    Piyush

  • Essbase/OLAP Time Dimension in OBIEE

    I am on OBIEE 11g release. After exported the below essbase time dimension with dynamic time series thru the Administration tool
    Time
    |_ Spring
    |_ Q1
         |_Feb
              |_FebW1
         |_FebW1D1
              |_ .....
              |_FebW1D7
    |_FebW2
         |_Mar
         |_...
         |_ Q2
         |_....
    |_Fall
    Of course OBIEE converted, OB converted the time into
    Time
    Year
    Season
    Quarter
    Month
    Week
    Gen6
    Drag the Time hierarchy from physical layer to Logical layer and to presentation layer.
    However, when try to see the time hierarchy in Answer by drill down on the hierarchy from Year, it only shows spring but not fall, and drill from spring
    I can only see Q1 etc .....
    Is there a setup I need to done ?
    Thanks

    Answer not display hierarch when there is no data assoicated.

  • Month Sort Order Problem in Time Dimension(Essbase with Obiee)?

    Hi All,
    I am facing issue with month order in answers.
    First I created BSO cube using Essbase Studio. When i exposed cube in answers, months were sorted in alphabetical order. So i used RANK function with evaluate to arrange month members in proper order. But if i use RANK function it pulls all missing records and it is effecting performance.
    Then i created Time dimension(dimension loading) in essbase from FLAT file,initially it was coming in proper order. But after some time again it sorted in alphabetical order!!!
    I have seen in internate few people saying they didn't face this problem. I
    Please advice...
    Essbase: 11.1.1.3
    OBIEE: 10.1.3.4.1
    RS

    Hi user10300020,
    That's a fairly common problem with months that happens regardless of database source.
    In the logical layer of OBIEE you can specify the sort order on the month name column. Just double click on the month name column and look for the option to set sort order based on a different column. I typically sort the month name based on the month number.
    Give that a shot and tell me if it works.
    -Joe

  • Problem with drill down in time dimension - OBIEE 11G

    Hello There,
    I have a problem with drill down in time dimension. The hierarchy for time dimension is " Fiscal Year---> Fiscal Quarter---> Month(Name)--->Date". When I select a Time dimension and click results its getting opened in a Pivot table view. The problem here is, when I click the "Total" its getting drilled down to Year ---> Quarter but when I click on "+ sign next to quarter" it should drill down to month for that particular quarter for that particular year but its drilling down to month for that particular quarter for all years.
    Any suggestions are much appreciated.
    Thanks,
    Harry.

    1.) Congrats for resurrecting a year-old thread.
    2.) Your answer is here: "Check the level key of the quarter level...it should include both quarter and year columns. Since a specific quarter occurs every year, quarter column alone can't be used as the level key."

  • Creating Time Dimension from date columns in fact tables.

    I remember watching a demo from a BI Tool a couple years ago, wich I swear was OBIEE, and the presentator stated it was possible to create a Time Dimension in the admin tool, based on a date column in other table.
    Can you guys tell me if there's such functionality in OBIEE?
    If so, how could I achieve that?!
    Thanks in advance!
    Marcos

    hi,
    You are trying to make Fact table as Dim table ???
    Fact table has some dim columns??
    We can do this by making a fact table as dim table ,create a dim hierarchy on that table
    Year level :Extract(year from fact_date_column)
    Month and year  level:CAST (Extract(month from fact_date_column) As CHAR(5) ) || CAST (Extract(yearfrom fact_date_column) As CHAR(5) )
    Like this
    But,be careful while doing this make sure that all joins and content levels are good
    As per my knowledge this is not a good way,Experts can add some words lets see!!!!!! :-)
    thanks,
    saichand.v

  • Time Dimensions and Logical dimension "..that not join to any fact source"

    Hi Guys,
    I get the following error on the ANSWERS front end:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14026] Unable to navigate requested expression: ToDate(SPECIFICG:[DAggr(RFACT.SPECIFIC [ ] by [ EFact.NO [ ] , Year.ID [ ] ] )], [Level Years]). Please fix the metadata consistency warnings. (HY000)
    SQL Issued: SELECT EFact.NO saw_0, Fact.YTD_E saw_1, EFact.MTD_E saw_2 FROM "E#1" ORDER BY saw_0
    The consistency manager shows no errors and the tables are physically joined up via foreign key i.e.
    fact year monthday
    data - date - date
    year month
    day
    [see screen print|www.metallon.org/test/foreign.jpg]
    I would be thankfull for any suggestions!

    Hello wildmight.
    I followed this tutorial:
    http://www.rittmanmead.com/2007/04/30/obi-ee-time-dimensions-and-time-series-calculations/
    Why should this layout not work?
    Do you have a better idea?
    When you say "it has to be one table" do you mean
    that quartermonthday and year need to be ONE?
    I just rememered that Oracle Hyperion Planning has to have
    time and months seperated.
    Hello mod100.
    What do you mean hierachy over the time dimension?
    Is it not obvious from the screen print that I have a hierachy
    i.e. yeartotal - years and
    quarters - months- days.
    I read that by default the LEVELS are set to the lowerst. so thats fine. I set them by myself to the lowest as well but the ERROR is still the same.
    no, I have not set the levels as in
    http://obiee-tips.blogspot.com/2009/10/logical-levels.html

  • Setting date ranges when Time dimension includes Period instead of Month

    I hope I am missing something simple here - we are on OBIEE 10g, and I have a Time dimension defined as follows:
    Year > Quarter > Period > Week > Day
    A "period" is not equivalent to a calendar month - a period can include either 4 or 5 weeks, and always starts on a Sunday. Fiscal years start on the first Sunday in July.
    I need to create a graph that shows Total Sales for the previous 13 periods (not including the current period). This needs to be a rolling 13 periods based on the current period.
    Since this is Period and not Month, I am unable to use the Month(CURRENT_DATE) functionality. Do I need to have repository variables defined for the current period? Is there another way to calculate what the current Period in my Time dimension is in a filter SQL?
    So I want to do something like "Where period between [current_period - 14] and [current_period -1] as the filter for Period.
    Thanks in advance for any assistance.
    Rhonda

    Sorry about that...
    Periods are 1-12 (numeric).
    Period 4 of FY 2012 for example has a begin date of 10/02/2011 and end date of 11/05/2011.
    Right now we do not have unique combos created (like 4/2012, 5/2012, etc) so to get a unique value I have to specify both a year and period.
    So on my dashboard today I will need to create a graph that covers FY2011 periods 6-12 and FY2012 periods 1-6 (translates to 12/5/2010 - 12/31/2011).
    I haven't created repository variables before, but as the Period parameter will be used often I guess I will find out how.
    Thanks in advance for the help.
    Rhonda

  • Time Dimension not loaded correctly when imported to 10.2.0.3 database

    Dear All,
    I created a Time dimension using the wizard that contian both Normal and Fiscal hierarchies on a repository created on 10.2.0.1 DBMS
    I exported the poject in mdl and imported it in repository on 10.2.0.3 DBMS ... the Time dimension in the new poject wasn't loaded correctly
    the Rows of the Day level contain information about the upper fiscal levels' columns while the columns of the normal hierarchy containd null
    Can you help me to solve this problem ???? !!!!!...
    Best of regards,
    Shaimaa

    Your quote comes from the OBIEE Plug-in user guide (http://www.oracle.com/technetwork/database/options/olap/awm-plugin-user-guide-for-obiee10g-303148.pdf)
    So, yes, you can only use this if you are using database 11.1.0.7 or later and if you are creating an 11g style AW.
    You can map 10g style AWs to OBIEE, but it is a manual and complex task. You would need to start by generating views using (for example) the      OLAP View Generator (10.2.0.3) available on http://www.oracle.com/technetwork/database/options/olap/olap-downloads-098860.html . After this you would need to manually create the mapping metadata in OBIEE.

  • Time Dimension displays End_Date instead of Long_Description in Analysis

    I am importing an analytical workspace into a BI repository. At first I was doing it by exporting it from AWM (wherein it was built) with its Export to OBIEE plugin--doing this resulted in the Time dimension properly displaying its Long Description field in an analysis in BI.
    Now I am trying to import it into BI following the instructions in the Oracle Business Intelligence 11g Developer's Guide (pg. 315 - pg.324). However, instead of displaying the Long Description field in an analysis, it displays the End Date field for all Time Levels. Is there something in the Admin Tool that sets what to display for a given Level?

    Okay, I finally stumbled on the answer.
    Under the Presentation Layer -> Time Dimension -> Time Hierarchy, I needed to double-click on every Level and go to the Display Columns tab and increment Long Description to the top in order for it to display the Long Description.

  • Time dimensions

    Hi OBIEE Guru's,
    Could any one can explain the time dimension.
    My requirement is :I have one DB table which contain the year column it is dimension table and another fact table contain the amount respective years,So I need to display records in a single row with current year ,year ago and 2-years ago.
    Appreciate if any one can explain this with examples.
    Thanks
    B.kumar

    Hi Man,
    Take Year as prompt and assign presentation variable for that.
    Now drag Amount Column and Create a column in the rpd with ago function which gives u one year previous data
    then timestampadd(SQL_TSI_DAY,-2,current_date) use this for 2 years data
    You will get it
    Thanks
    Subhash

  • Time Dimensions in Sales/PRM Subject Areas

    Hello,
    I am relatively new to the Sales Cloud. I come from an OBIEE background and I trying to understand things from the reporting angle.
    In the OBIEE rpd, we join the time/date dimension with a suitable date key in the fact table and posssibly create mulitple aliases of the date dimension to create hierarchies for various dates, for example: Opportunity Closed Date, Opportunity Create Date, Status Change date and so on.
    Which date do the default time dimensions in all the Sales/PRM subject areas join to in the rpd? I was unable to find any documentation around this. This information is critical is creating reports like Total Revenue from 'Closed' Opportunities.
    Thanks in advance,
    Gaurav

    Try this link it has alot of information you may find helpful
    Oracle Fusion Applications Reporting and Analytics Learning Center

  • Display all dates between date range (Time Dimension left outer join Fact)

    All,
    I have done some searching around this issue but within all the posts regarding date variables, date prompts and date filtering I haven't seen one exactly answering my issue (maybe they are and I just dont have my head around it correctly yet).
    My report requirement is to allow a user to select a start day and an end day. The report should show all activity between those two days - AND display 0/null on days where there is no activity. That second part is where I am getting hung up.
    The tables in question are:
    TimeDim
    EventFact
    CustomerDim
    My BMM is setup as follows:
    TimeDim left outer join EventFact
    CustomerDim inner join EventFact
    If I run a report selecting DAY from TimeDim and a measure1 from EventFact with day range 1/1/2010 - 12/31/2010 .. I get a record for every day and it looks perfect because of the left outer join between TimeDim and CustomerDim.
    But .. if I add in a field from CustomerDim, select TimeDim.DAY, CustomerDim.CUSTNAME, EventFact.MEASURE1, OBIEE only returns records for the days that have EventFact records.
    This is due to the fact that the TimeDim is still outer joined into EventFact but adding in CustomerDim makes OBIEE setup an inner join between those tables which then causes only data to be returned where EventFact data exists.
    There is a way around this in this simple case and that is to define the relationship between CustomerDim and EventFact as an outer join as well. This will give the desired effect (but an outer join between these two tables is not the true relationship) and as I add additional dimensions and add additional logical sources to a single dimension in the BMM it gets complicated and messy.
    Ive also messed with setting the driving table in the relationship, etc.. but it has not given the desired effect.
    Has anyone ever encountered the need to force display all dates within a specfied range with a fact table that may not have an entry for every date?
    Thanks in advance.
    K
    Edited by: user_K on Apr 27, 2010 11:32 AM

    It worked!!!* Even my time drill downs and date based filtering still work!
    That is awesome. Never would have thought of that intuitively.
    Now, just need a little help understanding how it works. When I run my report and check the logs I can see that two queries are issued:
    Query 1: Joins the fact table to all the associated dimensions. I even changed all the relationships to inner joins (which is what they truly are). And calculates the original measure. If I copy and paste this query into sql developer it runs fine but only returns those rows that joined to the time dimension - which is what was happening before. It is correct but I wanted a record for every time dimension record.
    Query 2: Looks like the following:
    select sum(0)
    from timedim
    where date between <dateprompt1> and <dateprompt2>
    group by month *<--* this is the time dimension level specified in Query 1, so it knows to aggregate to the month level as was done in query 1
    Final Question: So what is OBIEE doing ultimately, does it issue these two requests and then perform a full outer join or something to bring them together? I couldn't see anywhere in the log a complete query that I could just run to see a similar result that I was getting in Answers.
    Thanks for all the help .. Id give more points if I could.
    K

  • Non-additive time dimension

    Hi, I have an issue modelling the time dimension for one of our facts (employee counts). The problem is this - when a user says "I want to see the count of employees for a given time period" - what they mean is that they want to see the count of employees as of the last day in that time period. i.e. "June employee counts" means employee counts as of 6/30, "Year 2000" employee counts means as of 12/31/2000.
    This is very similar to modelling a "ending balance" inventory type problem in OBIEE.
    I've solved this (poorly) in OBIEE by changing the aggregation to use "LAST" for the time dimension and "count(distinct(emplid))" for everything else. This works....but....the performance is horrible. If I ask for employee counts for year 2000, it appears to bring down employee counts for all 365 days in the year, then sorting them by date, then throwing away all except the last date. In other words, it brings back 364 days worth of records and then throws them away. This makes the query perform absolutely terrible. A 2 or 3 second query ends up running for minutes.
    Does anyone have a different way to solve this issue?
    Thanks,
    Scott

    Hi Christian - agree completely, I just wish OBIEE were smart enough to do the "last" bit on the 2000 row time dimension instead of the mutli-million rows fact table...
    I've thought about trying to materialize the measures, but I have a hidden "twist" on my data. In our fact table, I do NOT write a record for each day for each employee. Instead, I only write a record when something on the employee fact changes. So instead of having a hard "date" column, I instead have a "start date" and "end date", and then need to join to the reporting date dimension using a BETWEEN. I do this because most records stay unchanged for long periods of time, so instead of 365 records per employee per year, I average under 3 records per employee per year.
    I may give the multiple fact LTS a try, but truthfully I'm a big believer in simplicity (mainly because I'm lazy....) so was trying to find something easier.
    And honestly, I'd use a cube if I could, I'm a (very) old Express wiennie.
    Thanks,
    Scott

  • Logic behind dimension in OBIEE

    hi,
    Can anyone explain me logic of diamensions in OBIEE? On what basis v need to select chronological keys from DB?
    IF u have any real time scenario the post it
    IF anyone have any case studies of OBIEE...plz post it

    hi User,
    Refer : http://www.rittmanmead.com/2007/04/obi-ee-time-dimensions-and-time-series-calculations/
    Thanks,
    Saichand.v

Maybe you are looking for

  • Can I filter out books that have explicit content?

    I have turned on the Restrictions under Settings -> General -> Restrictions... however this only works for some works..  You can try it your self and you will notice that this only effects a small percentage of the items with explicit content. I went

  • Disc error -43 occurred while reading or writing to a scratch disk.

    "Disc error -43 occurred while reading or writing to a scratch disk.  Sorry, but this error is unrecoverable." What does this mean, and how can I fix it? I assume it affecting my performance if PS is not able to write to the scratch disc??? I get the

  • Is the ipad 4g locked by the operator?

    I want to buy an ipad 4th gen whit cellular in the United States to bring it to bolivia because i live there, Is the ipad locked by the carrier?

  • I just updated itunes and now itunes wont open

    i just updated itunes and now it wont open????

  • Service error example program

    Hi all, I have uploaded an example, the hello.xml modified a bit and named hallo.xml, to my isp. Thru the web i can reach that file and see the contents. When testing it thru http://studio.oraclemobile.com/ i can see the hallo example there. But when