Time dimension (Using Wizard)

Hi
i want to create Time dimension using simple wizard(not through time wizard)
i have following attributes in it
Year( year ID,year Discription)
Quarter(Quarter ID,Quarter Discription)
Month ( Month ID,Month Discription)
Week ( week ID,week Discription)
DAY ( Day ID,Day Discription)
Hours ( hours ID,hours Discription)
i complete time dimension with simple wizard but it create sequence and table
so what is mapping for it kindly give me guide in detail
thnx in advance

Hi,
you may create your custom time dimension using the simple wizard.
To fill it with values, create another time dimension with the time dimension wizard. Fill it using the generated mapping.
Then write your own mapping to fill your time dimensions with the values from the generated one.
This way is easier than to write some custom logic to fill your custom time dimension.
Regards,
Carsten.

Similar Messages

  • Time Dimension Wizard Hangs Creating Map

    I'm running OWB 11.1.0.7 and trying to create a time dimension using the time dimension wizard and when I get to the progress screen it just hangs when it gets to 60% progress and the message window says it's creating the map.
    There is no indication of any kind of error that might say why it's hanging, or any indication other than "creating map" that says what it's trying to do at the time. Is there anyway to dig under the covers anywhere to see what the wizard is trying to do that is causing it to hang?
    Another question is how I can create the same kind of dimension manually that the wizard would have created? It appears to be creating a special kind of dimension, specifically for time but I can't see anyway to create it manually if the wizard doesn't work. I found another message that mentioned a time dimension template that the wizard uses but that post was about how to use OMBPlus to remove the time template type so it could be edited manually, not how to create one using it.
    So, anyone have any suggestions for how I can track this problem down and/or create that time dimension manually? Thanks.
    Regards, Bob

    Are you using OWB 11.1.0.7 or greater?
    We encountered the same problem from that version on. try to use an older version (11.1.0.6 client definitely works).
    We will put this into metalink as it is definitely a bug.
    Cheers,
    Knut

  • Date and Time dimensions

    After reading the following article, I have decided to use SSAS dimension wizard for generating our Date dimension, which creates a DATETIME PK.
    http://www.made2mentor.com/2011/05/date-vs-integer-datatypes-as-primary-key-for-date-dimensions/ 
    I have also created a separate Time dimension as granularity of an hour is required.
    The Time dimension is very simple and only contains a surrogate key (INTEGER) and actual time in hours (VARCHAR).
    DimTime(TimeKey, TimeInHours)
    Our Fact table will now have a link to both the Date and Time dimension using the PK's.
    Our analysis is required by hour, day, week, month and year.
    My query is; Will this current structure cause any problems when creating MDX scripts to analyse our data (i.e. drilldown and rollup queries) Hour - Day - Week - Month - Year

    Hi Darren,
    According to your description, there a day and hour granularity in your fact table, so you want to a hierarchy like Hour - Day - Week - Month - Year, right?
    In your scenario, you created a time table that only contains a surrogate key (INTEGER) and actual time in hours (VARCHAR). We cannot create a Hour - Day - Week - Month - Year hierarchy without ant relationship between date table and time table. As per my understanding,
    you need create a foreigner key in time table, and join those table in the data source view, then you can create such a hierarchy. Here are some links about create time dimension, please see:
    http://www.ssas-info.com/analysis-services-articles/59-time-dimension/1224-date-and-time-dimensions-template
    http://www.codeproject.com/Articles/25852/Creating-Time-Dimension-in-Microsoft-Analysis-Serv
    Regards,
    Charlie Liao
    TechNet Community Support

  • 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

    I have created a Time dimension using the Dimension Wizard with two hierarchies:
    Year - Quarter - Month - Date
    Year - Week - Date
    We have a data warehouse with two fact tables, FactSite and FactWell.
    Each table contains a different date field and we hope to use the Time dimension as a role playing dimension for each.
    So we wish to filter FactSite and FactWell data by
    Year - Quarter - Month - Week - Date using
    the operational date fields.
    My queries are. Must we now:
    1 - Populate (using wizard) the Time dimension with a suitable date range? (i.e. the start date and expected end date of our data set).
    Then during our ETL process, we do a lookup in the Time dimension and set the surrogate key in the corresponding fact table.
    2 - Populate the Time dimension during the
    ETL process from our OLTP data source? 
    3 - What is the best practice for this type of scenario?

    Hi Darren,
    According to your description, you need a time table to create your time dimension, now you want to know which is better, creating the time table in the project or creating the table in the OLTP data source during ETL process, right?
    Microsoft SQL Server Analysis Services provide a convenient way to create time table, you can use the Dimension Wizard in SQL Server Data Tools (SSDT) to create a time dimension when no time table is available in the source database. As per my understanding,
    it better to generate the time table in data source view using wizard. Please refer to the link below to see the details.
    http://msdn.microsoft.com/en-us/library/ms174832.aspx
    Then you can create a Date hierarchy Year - Quarter - Month - Week - Date using this time table.
    http://msdn.microsoft.com/en-IN/library/hh231692.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Additional custom level on Time dimension ?

    Hi,
    I´m very new to OWB, so I don't know if what I want to do is even possible at all.
    I created a time dimension using the "Time Dimension Wizard", selecting all possible levels (year, quarter, month, day), but I also need to have one extra level: semester. You see, we need that level for our reports.
    I tried to open the mappings that were generated automatically but Oh, boy! does that look complicated!!! Some operators call time functions but when looking them up, they're in packages that come wrapped, so basically I have no clue as to how the data is being generated by Oracle.
    Do you know of any way to accomplish this? Basically have a time dimension with the levels:
    Year -> Semester -> Quarter -> Month -> Day
    Any help would be very much appreciated.
    Rgds,
    --Oswaldo Santos
    [osantos]

    Hi JP,
    Thanks for the tip.
    I created a new "time" dimension manually. I basically made a copy of the attributes and levels of a normal time dimension, plus the new fields for "semester". I also defined the corresponding fields for "END DATE" and "TIME SPAN".
    Now, I can populate this dimension, based on a script that someone else posted in this forum. I'm not sure, though, that Oracle OLAP will recognize this as a "time" dimension, will it? I mean, OWB adds some extra fields for a time dimension created with the wizard (like "level type"). Will this affect the performance or behavior of my cubes? Or, can I say that this is as real a time dimension as one created with the wizard in OWB?
    Again, thanks a lot for your support.
    Regards,
    --osvaldo santos.
    [osantos]

  • Help with Time Dimensions

    Hi,
    I am trying to create a Time Dimension using the Wizard, but I want to add certain fields to the dimension like Month Ago, Week Ago, Quarter Ago, etc. What are the steps to do this?
    Also, is it possible to combine Fiscal and Calendar year into the same dimension?
    Thanks

    Gurus, anybody anything on this one??
    I haave done a small adjustment in the dimension order by which I have eliminated the following error:
    Record #40 - Error adding Dynamic calc property to member xxxxxxxxx (3320)
    Record #40 - No time dimension defined
    But, I have the following new error/warning (cube build successfull in this case) when I made this adjustment:
    Record #427 - Error adding Attribute to member PATB4_ADJ-PDA (3320)
    The adjustment I made is... I moved TIME dimension up and ACCOUNT dimension below that...so the order I have now is TIME,ACCOUNT,SCENATRIO,XXX,XXXX instead of ACCOUNT,TIME,SCENARIO,XXX,XXXXX ..*would this create any performance issues?*

  • Getting error while deploying a cube with time dimension

    Hi,
    I created a time dimension using WB with Cal yr and day heirarchy. Designed a cube using both and tried to deploy it. I got the following error.
    Appreciate your help..
    Name
    Type
    Status
    Log
    TIME_CUB1
    Cube
    Success
    VLD-0001: Validation completed successfully.
    TIME_CUB1
    Description : Runtime User : OWB_REP_OWNER Started : 2006-12-13 15:37:17.0
    Name
    Action
    Status
    Log
    TIME_CUB1
    Create
    Error
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "OLAPSYS.CWM2_OLAP_CUBE", line 394
    ORA-06512: at line 5

    Hi,
    I'm having problems to deploy this cube (this was the origin of my problem), when I change it to "Deploy Data Object Only", It don't generate code and the cube is not created. This is what I get:
    -- Product : Oracle Warehouse Builder
    -- Generator Version : 11.1.0.6.0
    -- Created Date : Wed May 12 08:41:59 CST 2010
    -- Modified Date : Wed May 12 08:41:59 CST 2010
    -- Created By : edennis
    -- Modified By : edennis
    -- Generated Object Type : TABLE
    -- Generated Object Name : FACT_TMP_SALDOS
    -- Comments :
    -- Copyright © 2000, 2007, Oracle. All rights reserved.
    WHENEVER SQLERROR EXIT FAILURE;
    Ideas?
    Thanks for your help!

  • Modifying Existing Time Dimension

    Hi All,
    Presently I have a Time Dimension and a Fact table which has a FK to this Dimension. The Time Dim has a level upto hourly values.
    Now it's in production and I need to change the Time Dim to take on minutes 'cause some reports need minutes.
    1. So what is the best way to go about this?
    2. Is it better just to add another extra field which has the required date, in the fact table?
    3. How can the existing data be easily ported to the new Time Dim(if it has a minute-level)?
    Thanks,
    Justin.

    I am wondering how you implemented the time dimension which only has a level up to hourly values. Do you mean the time dimension only has 24+1 = 25 rows? Usually the time dimension is separate from the date dimension and its lowest level values are minutes or seconds, depending on the business requirements. Therefore the time dimension should have 24X60 + 1 or 24X60X60 +1 rows.
    The solution is depended on what you want.
    My suggestion is as the follows:
    1.     Create a new time dimension with the desired lowest level values (minutes or seconds).
    2.     Create or modify the foreign key of the fact table to point the new created time dimension.
    3.     Modify the ETL mappings.
    4.     Option 1: If you want the new functionality available for the existing rows in the fact, you have to reload the fact no matter which approach you use.
    Option 2: If you only want the new functionality available for the subsequent refresh load, you can modify the foreign-key values pointing to the old time dimension to the new time dimension, using the rule XX --> XX:00 or XX --> XX:00:00 (where XX is the hour number in the old dimension). In the subsequent refresh load, map the foreign-key values to the actual time.
    Maybe other else can provide better solutions. IF so, please let me know.
    Good luck!

  • Odi-Creating time Dimension

    hi,
    i want to create a time dimension using odi.
    How do i create the below table.
    CREATE TABLE Dim_Time(
    Timekey INT IDENTITY(1,1),
    Day CHAR(2),
    Month VARCHAR(9),
    Quarter CHAR(1),
    Year CHAR(4),
    Week CHAR(2),
    FullDate DATETIME,
    Thank You.

    You can use an Excel file as a source that contains 1 columns with 1 date by row
    then you map the other columns thanks to date function in ODI

  • Optimizing order by query with multiple time dimensions

    Hello all,
    I have two time dimensions, one a standard date dimension (Year,Qtr, Month, Week, Day) the other a user defined Time dimension (All, Hour, Minute, Second).
    I am joining my cube with my time dimension using only the 'All' level, so that I can get a single record for the Day level in my Date dimension. Under these circumanstances there aren't many records in my sample data. Less than 100 dates, although at the lowest level(seconds) there are approx 2 million records.
    In order to get my results back in order I am ordering by the date dimension day_end_date. The query is taking longer than I would expect given that there aren't many records at the Day Level. How can I ensure that my query is ordering based only on the values in the current day_level and not all day_end_dates values in the underlying cube.

    Changed order, speed improved significantly.

  • Oracle 11gR2 use the time dimension wizard---the cube didn't show any information!

    I created a Time Dimension with the Time dimension wizard  , a category dimension, and a rel_expense cube in OWB 。what I do is following the oracle 11g r1's turtoial
      The rel_expense cube has two forigen keys, one is refrence the category dimension's dimension_key(primary key in the category dimension), and the other one  refrence the time dimension's start_day_date(bussniess key in the time dimension).  
    The result I get is  the rel_expense_tab had datas, but the rel_expense cube had nothing.
    .I delete the category dimension , it is the same result(cube rel_expense had nothing).
    But if I  only delete the  time dimension,    it is ok(both of them had datas)!!!
    So I think is the time dimension's problem ,because the 11g r2's time dimension wizard didnt' generate the dimension_key for time. Is the forigen key(time dimension) i refrenced in the cube is error,so if it is, what should I do?
    SEEK FOR YOU HELP!!!!!
    ps:my mother language isn't English ,so it has many erros in the passage

    can anybody help me? the measures in my cube were round to integer, i doubt it came from time dimension. did anyone encounts such a senario

  • Time dimension wizard and leap year error?

    I've created a time dimension (rolap) using the wizard. I started with 2006 for 6 years. I used a fiscal calendar, 445, fiscal year start = jan 1, and month start = monday.
    The first 2 months of 2008 are ok. However, OWB ends the third month on March 31, 2008 and it should be March 30, 2008. It starts the next month on April 1, 2008 which is a Tuesday.
    I've tested with 10.2 and 11.1.
    Anybody seen this or have a solution?
    Garrett

    Garrett
    The start day that you specified as being Monday is in fact the week start day and not the month start day. In most cases these will both always land on the day of week you specify, but there are exceptions.
    The Fiscal year is split into Quarters and the start of each Quarter is based on the date of the start of the year, so if you started the year at Jan 6th, then the 2nd quarter will start on April 6th, and the third on July 6th and so on.
    In your case, an extra day is inserted in the 5th week of the first quarter so that the quarter can start at the correct date

  • Oracle Warehouse Builder 11GR2 -no time dimension wizard?

    Hi,
    I am running OWB 11GR2 on top of a 11GR2 database (OEL 5.4 64 bit).
    I don't have a time dimension wizard, just a normal wizard. What I do is right-click, new dimension....but no time wizard. How can I activate it?
    I have installed everything several times, but no luck...
    Can anyone help, please?

    Hi
    Right Johnny. This happened when we moved to the new UI, all objects can be created using the New 'gallery' style approach, not exactly intuitive for how you remember time dimensions being created but it's still all there.
    Cheers
    David

  • Using time dimension in materialized view

    Do anybody has an example of using Time dimension in MVIEW?. The time tablke has no relation with oder object (ex. i will join the time table with sales table, which has no relation with each other.
    Thanks in advance
    Mehdi

    Hi
    Check the foreign key on the fact table to see how it is related to the time dimension table.
    Cheers
    David

Maybe you are looking for