Time dimension generated differently in 11gR2

Hi,
on generating a new default time dimension, I noticed some strange behaviour compared to the former release which seems to be incorrect.
1. No DIMENSION_KEY column as PK
2. the %_START_DATE columns are defined as business key instead of the %_NUMBER ord %_CODE columns
3. DAY_START_DATE is defined as PK column
I can modify this manually but what is the intention behind?
Is it meant that we should use a date column as FK reference in the cubes instead of the surrogate key.
Very odd !!
regards
Thomas

Hi,
thanks to Google I found Dave Allens excellent paper on [degenerate dimensions|http://blogs.oracle.com/warehousebuilder/2010/05/owb_11gr2_degenerate_dimensions.html].
Now it's a lot clearer to me.
Supposing you will read this, Dave, some more remarks:
1. The date column in the cube is a blessing not only with partitioning. Until now, I used to update the surrogate key of the time dimension to a number of format YYYYMMDD in order to ease my life.
2. But the time dimension table is still used not a mere stub as with DD?
3. I don't understand the context with SCD2. There, I need the DIMENSION_KEY.
4. I have the situation with a fact table containing one row per phone call. The unique phone call ID would be a candidate for a DD. But what would be the advantage to define the stub DD instead of just entering the string ?
Please give some more hints for a better understanding.
regards
Thomas

Similar Messages

  • Problem with Time Dimension generating

    Hello, everybody.
    I have a problem with Time Dimension generating with the help of the Standard Wizard.
    1. I choose Dimensions -> New -> Using Time Wizard
    2. Set Name as "Time"
    3. On the next screen I choose ROLAP: Relational Storage
    4. On the next screen set Start year: 2003, Number of years: 3
    5. On the next screen choose all levels of the Normal Hierarchy
    On the 6-th step Wizard complete 60% of job and hang up doing nothing (buttons "Cancel" and "Help" is active).
    chapter "Create REL_TIME Dimension Using the TIME Dimension Wizard", step 1-6 of tutorial =(
    http://www.oracle.com/technology/obe/11gr1_owb/owb11g_update_getting_started_intro/lesson3/less3_relational.htm
    My system characteristics:
    Builder client 11.1.0.7.0, warehouse at local computer.
    can anybody give me any advice about this problem? =(
    thanks in advance.

    Had this issue been solved please?
    I have just come across the exact same problem and this post is the only one i managed to find which describes exactly what is happening to me.
    Thanks

  • How to generate a Time Dimension?

    Hi,
    How can you generate a Time Dimension for both fiscal and calendar year, complete with Month Ago, Quarter Ago, Year Ago, etc Attributes, and then populate with data? Is there any documentation on how to do this?
    Thanks

    like this?
    http://www.ipcdesigns.com/dim_date/index.html

  • Setup time dimension in some different fiscal calendars

    I have the different fiscal calendars.
    Then, I wanna compare the current month fiscal amount and the previous month fiscal amount with AGO function.
    The calendars are like below.
    Calendar A : fiscal month start April
    Calendar B : fiscal month start January
    In this case, how should I define the chronological key in the time dimension?
    For example, I try the below setup in the calendar period hierarchy.
    Year 2008
    Half 1H 2H
    Quarter 1Q 2Q 3Q 4Q
    Month 1Q = {Apr-08 in CAL_A, May-08 in CAL_A, Jul-08 in CAL_A, Jan-08 in CAL_B, Feb-08 in CAL_B, Mar-08 in CAL_B}
    and some.
    In this examle, the number of MONTH level members are 24.
    Then I make a column for sort.
    The sort number is below.
    For CAL_A
    Month SortNo.
    Apr-08 1
    May-08 2
    Jun-08 3
    Jul-08 4
    Aug-08 5
    Sep-08 6
    Oct-08 7
    Nor-08 8
    Dec-08 9
    Jan-09 10
    Feb-09 11
    Mar-09 12
    For CAL_B
    Month SortNo.
    Jan-09 13
    Feb-09 14
    Mar-09 15
    Apr-08 16
    May-08 17
    Jun-08 18
    Jul-08 19
    Aug-08 20
    Sep-08 21
    Oct-08 22
    Nor-08 23
    Dec-08 24
    In this case, if I try to get the previous month of Jan-09 in CAL_B with AGO function, the system get Mar-09 for CAL_A. Because the record of Mar-09 for CAL_A is 12 in SortNo. column.
    As far as possible, I wanna use AGO function.
    Does anyone have good ider for this problem?
    Edited by: user3532462 on 2008/08/28 2:57

    Hi,
    I guess it's easier to setup two different time dimensions; one for calendar A and one for calendar B. Use aliases in the Physical Layer.
    Good Luck,
    Daan Bakboord

  • Time Dimension Type allows different values in attributes - Bug or Feature?

    Not sure if this is a bug or a feature.
    But if one has multiple hierarchies on a Time dimension. You have the ability to specify different values for member attributes in different hierarchies.
    Example.
    Hierarchy A has MIN_ID for it's Member and uses MIN_END_DATE for it's END_DATE
    Hierarchy B has MIN_ID for it's Member and uses SESS_END_DATE for it's END_DATE
    As per this post and David Greenfield's comment:
    Dimension Sort issue when multiple mappings for different hierarchies
    "Are you attempting to map the same attribute, SORT, to different columns in the two hierarchies? Put another way, do you expect the same member to have different values for the attribute in the two different hierarchies? If so, then this is a problem since a member must have the same value for the attribute regardless of the hierarchy."
    Unlike a user dimension, a time dimension appears to allow this and it appears to work as intended. Is the behavior in this case intended to be different between a user and time dimension?

    I think that this is not a bug. There is an incompatibility in design which prevents you from using the same attribute differently for both hierarchies.
    NOTE: Unlike parent relationship which depends on <dimension, dimension hierarchy>, Dimension Attribute is dependent on <dimension> alone, not dependent on <dimension, dimension hierarchy> combination. Hence it can only take on 1 value for 1 dimension member.
    I think that the time dimension only appears to allow this. The key thing to check is for Time Dimension members which are common to both the hierarchies. Only one of the mappings will take effect (usually the hierarchy which is loaded last will remain in the aw/usable for queries, reports.. it would have over-written the earlier attribute value loaded as per the earlier hierarchy load).
    Visualize a dimension as a long list of members which are built up contiguously on a per hierarchy, per level process using the mapping information saved. Once a member is defined (created) via Hierarchy A, it wont be created once again while loading Hierarchy B but is instead updated or redefined based on Hierarchy B's mapping info.
    Assuming the dimension load attempts to load Hierarchy A first and then Hierarchy B,
    * Dimension load for Hierarchy A will define the various members using MIN_ID and set the END_DATE attribute to value=MIN_END_DATE
    * Dimension load for Hierarchy B will re-define the various members using MIN_ID and re-set or over-write the END_DATE attribute to value=SESS_END_DATE
    * In this case, it looks like all members are common for both hierarchies (as both members are mapped to same column MIN_ID) and you would end up with END_DATE=SESS_END_DATE.
    Actually whether all members are common to both hierarchies or not depends on the quality of data in your snowflake/star table: if parent level for Hierarchy A as well as Hierarchy B is setup fine then the members will be same set (overlapping in whole). If some rows for MIN_ID have parent column for Hierarchy A setup correctly but parent column for Hierarchy B =null or invalid value then that member will exist in Hierarchy A alone and would contain END_DATE=MIN_END_DATE as the corresponding update along Hierarchy B would fail due to hierarchy data quality issues (join from current level to parent level).
    As regards a solution to your problem, you should not use the same attribute "SORT" for dual purpose (both hierarchies). Instead define attributes SORT_A and SORT_B and make them enabled for Hierarchy A, Hierarchy B respectively and map/use them appropriately in your reports.
    HTH
    Shankar

  • 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

  • Aggregation mode along one dimension (product) different than along the time dimension

    Dear All,
    In IBP S&OP, Is it possible that the aggregation mode along one dimension (product) could be different than along the time dimension?
    For a demo, a customer has an input at the product family level (vehicle production) which we just “copy” for disaggregation purposes, to the product level (parts), see attached. So for aggregation we used average.
    However, time-wise, we need to sum it up.
    Thanks for your insight and help.
    Kind Regards,
    Omar

    Hi Omar,
    Yes it is possible.
    1. Create a new planning level (say PERPRODCUST1) which will be a copy of PERPRODCUST (you base planning level).
    2. In the PER section of PERPRODCUST1, do NOT mark any period attribute as root. In other words, the roots for this PL will only be PRDID and CUSTID.
    3. Now your KF calculations will be:
    VEHICLEPRODUCTION@PERPRODCUST1 = SUM(VEHICLEPRODUCTION@PERPRODCUST)
    VEHICLEPRODUCTION@REQUEST = AVG(VEHICLEPRODUCTION@PERPRODCUST1)
    Since your KF is editable, it is worth mentioning that, following the above steps has trade-offs. Since your KF is editable, you will have issues with disaggregation when you enter the values at an aggregated level of both time and other attributes. My recommendation (for your configuration) is that this will work fine as long you enter the values at the root level of you time attribute.
    Hope this helps,
    Chendur

  • How to Link two Facts with Different Time Granularity (Year, Quarter) to a Single Time Dimension

    Hello All,
    I have the below scenario where i have Two Facts Fact Quarterly and Fact Yearly but one Time Dimension which has Quarter grain.
    So my question is how do i Establish relationship from Fact Yearly to Time Dimension??
    Ex: 

    Hi naveej,
    According to your description, you want to know how to build the relationship with time dimension and fact tables. Right?
    Based on your screenshot, it's better to have only one fact table for sales and build the relationship with time dimension. To determine quarterly or yearly data only depends on how you slice the time dimension. However, I notice that the Revenue for year
    is different from the aggregated Profit for quarters. If the Revenue and Profit are different measure, you need to have two fact tables. And you should build the relationship (Regular) between TimeDim and FactYearly on YYYY attribute.
    Reference:
    Defining a Fact Relationship
    Best Regards,
    Simon Hou
    TechNet Community Support

  • 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

  • Time dimension different granularity

    Hi, i have two facts tables. The first is the sales table and i receive the data each day. So the join with the time dimension is at the day level. The second is the costs level and here the data regard stuff like salaries, so clearly is a monthly input. In this second case with OWB i don't manage to join the fact table with the month id of the time dimension. I can't also create another time dimension starting at the month level.
    What can i do?
    thanks. Emilio

    Emilio,
    I guess what you can do on the short term is create a separate time dimension with month as the lowest level. We are working on a completely new dimensional design implementation that would enable you to implement your requirement. This will be available in the next major release (but that may take a while...).
    Thanks,
    Mark.

  • Multiple Fiscal Calendars Displayed in Subject Area Time Dimension

    Hi all,
    Thanks for taking the time to review my post.
    Environment
    Oracle BI Applications 7.9.6 Financial Analytics
    Oracle E-Business Suite 11.5.10
    Query
    The Time dimension on my Subject Areas (Financial Analytics) are showing more period data than I expected.
    I have configured one Enterprise Calendar (WPG_Calendar) that I set in the DAC parameters - $$GBL_CALENDAR_ID (WPG_Calendar~Month) and $$GBL_DATASOURCE_NUM_ID (4). The warehouse Enterprise Calendar table W_ENT_PERIOD_D is populating with the periods as configured in EBS for that calendar(Jan-09, Feb-0, Mar-09, etc). I noticed that the Multiple Fiscal W_MCAL_PERIOD_D table is also been populated with the Enterprise Calendar data PLUS, the Seeded EBS calendar (JEBE_MONTH_VAT) and a generated Calendar that appears to be a 5-4-5-4 Calendar (Jan-01-09, Jan-02-09, Jan-03-09, etc). The trouble is these W_MCAL_PERIOD_D periods and dates are all coming through in my Time dimensions and make it confusing for the Answers Users when choosing a Time dimension.
    Also, for columns W_CURRENT_MCAL_PERIOD_CODE, W_CURRENT_MCAL_QTR_CODE, W_CURRENT_MCAL_YEAR_CODE there are rows with Current, Previous and Next populated that span these different periods as you would expect, but I'm concerned these return multiple rows for Filters Current Fiscal Quater, Current Fiscal Year.
    Funnily enough, W_CURRENT_MCAL_MONTH_CODE has nothing populated (NULLs for all rows).
    Your comments are most welcome.
    Kind Regards,
    Gary.

    The filtering of the calendar can be done directly on the logical layer.
    for the logical dimension "Dim - Date Fiscal Calendar", Logical Table Source "Dim_W_MCAL_PERIOD_D_Fiscal_Period"
    set the content as :
    "Oracle Data Warehouse".Catalog.dbo.Dim_W_MCAL_PERIOD_D_Fiscal_Period.MCAL_CAL_WID = VALUEOF("MY_MCAL_WID")
    and setup the repository variable MY_MCAL_WID to match with your calendar wid.
    If your calendar depends on any context then you can use session variable instead of repository variable

  • Problem with time dimension aggregation

    I have a time dimension with 2 columns:Year and week
    I've created a hierarchy in it to drill down from the year to the week.
    when I report the sales in week level I have the right values but when I report the sales value in year level I don't have the right aggregation.Even if the year Level is a grand Total in the hierarchy.
    The problem is that for all the years I have the same value but when I add the week level to the report Then I have the right values.
    What could be the problem

    Hi,
    1.Actually the drill down Route path is not properly generated with your given key columns in herarchies.
    need to give correct key columns
    like year(YYYY)-->Week(wee should be the unique column for each and evry year)
    suppose:
    2000-sunday
    2001-sunday should be different
    so mostly the problem at your week column make the unique yearweek column as the key identifier at that level
    Every Week is unique cause the logical key is a combination of the year and the weeknumber
    2.if not you need to set individual levels for measures in content tab...
    you mean by the content tab the level tab when you doubleclick into the measure???
    Thanks

  • 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

  • Locking Periods using the Second Hierarchy in the Time Dimension

    Hi,
    They are not usiing work status for this...
    I am at a client, and they used the second hierarchy in the time dimension to lock periods.  If they left the second hierarchy blank, no data can be written to it.  To open the open the period, they code the Second Heirarchy with CONS_OPEN.  Just wondering if anyone has information on this? 
    It was working fine, then we needed to run a transport to move BPC to a new machine, and it stopped working.  Not sure if anyone has done it this way before?
    Thanks,
    Chandra

    Dear Kacper,
    the way I understood, there are two separate questions in this post, namely:
    I'm using a shared resource in multiple actors, and the code accessing the resource can take quite some time to execute. How can can I ensure this does not mess up the timing of one or all accessors?
    I'm using a shared resource in multiple actors, and the code accessing the resource can generate errors if I try to access it from multiple places. How can I ensure synchronization between all accessors?
    As for the first question, the optimal solution to separate the resource prone to timing issues in a different thread/actor. Put anything that is not strictly timed (file access, network comunication) in a separate loop. For each actor, you will get queue references to communicate with, so instead of logging the measurements in the actors where they are made, just queue them up for a different loop to process.
    For the second part, the same logic still applies. Ideally, every singular resource should be handled by its own thread and nowhere else, so if anything else needs data from/to said resource, it can send a request to the dedicated thread or actor.
    If, for some reason, this is not sufficient, you have to handle synchronization in some other way. There are a lot of techniques here, for example:
    Create a named semaphore or lock as a part of the class. Have class functions use the semaphore before accessing the resource.
    Use actor messages. Have a "resource in use" or "resource released" messages sent to all users whenever obtaining or releasing said resource.
    Have a separate actor handle all resources, awarding them to threads needing them. This method also allows setting priorities between requests.
    These are just a few examples, there are many other options.
    Please let me know if this was helpful. 
    Kind regards:
    Andrew Valko
    National Instruments Hungary

  • Time dimension and chronological key

    HI ALL
    I WORK ON OBIEE 11G REPORTS
    WHAT IS THE EXACT USE OF TIME CHECK BOX AND CHRONOLOGICAL KEY??
    AND HOW CAN I USE IT
    ANY HELP ??

    Hi,
    What is the chronological key use?
    A. Typically time dimension differs from all other dimensions in one way and that is,
    all other dimensions dont care about the order of the values in it.
    e.g. in region_dim the values are north, south, west and east. Here nobody wants to see whether north comes first or south comes first. i.e. no order is required here.
    in the case of time dimension there needs to be a particular order for all the values present in it.
    e.g. 2010 is earliest and 2004 is older. Dec-10 is earliest and jan-10 is older. i.e. the values in the time dimensiion needs to follow a particular sorting order. So the chronological key is the key which tells the obiee that the data is incrementing based on the chronological column.
    Here you may get another doubt. i.e. you are having columns like year, half_year, quarter, month, week and day. Here which one should become the chronolgocial key?
    Analyse it yourself. If you kept year as chro key then obiee will be confused whether jan-10 is earliest or feb-10 is earliest. Because it knows only that 2010 is earliest and 2009 is older.
    So always it should be the lowest level oif the dimension which needs to be the chronological key. In the abouve case it should be date.
    You can select either date or date_id(this could be a sequence generator values).
    2. what is the use time dimension?
    A.If all you want is to achieve drills from Month, Quarter and Year then treat it as a normal dimension and create the levels. But if you want to do calculations like YTD, QTD and MTD then you need to create a time dimension.
    http://oraclebizint.wordpress.com/2007/11/05/oracle-bi-ee-101332-understanding-todate-and-ago-achieving-ytd-qtd-and-mtd/
    Refer the above link for time dimension.
    Award points it is useful.
    Thanks
    satya
    Edited by: Satya Ranki Reddy on May 2, 2012 12:29 AM

Maybe you are looking for

  • Exception while creating a Template in Web Channel B2B

    Hi, We have deployed Web channel B2B solution in Netweaver 7.3.  All Our SCA versions are 7.33. In standard application I am getting below exception while trying to create Order Template.   It seems that this exception related to the new Java Persist

  • Master-Detail Linking and column selectors

    Does anyone know if it's possible (in 11.1.1.7) to create a master-detail link on a column that's part of a column selector? There's a master "roll-up" table using a column that's part of a column selector group. For one of the columns in the group,

  • Spaces - Every space?

    Hi all... if this is the wrong place to post this I apologize in advance. I couldn't find a "spaces" discussion. I have a new MacPro and have setup 6 "spaces" I am running XRG which is a resource graph so I can monitor how the machine is holding up u

  • Exception when instantiating Context Object from Server Faces

    Hi guys, I am creating a Webproject whereby I uses Java Server Faces (with Sun Creator) to call a Session bean on my business logic layer located on a local weblogic server. The codes I use to look up JNDI is as follows: InitialContext initialContext

  • Simple USB display question

    I feel incredibly computer illiterate posting this question but I need some help so here it is. I connected my 23 inch display to my Mac book and everything is working pretty well. But I am running out of USB ports and I'm wondering how I can better