Time dimensions in double

Hi all

I think I have a simple requirement but I don't how it works:

I have some dimensions and a fact table. In my table of facts, I have 2 foreign key on my dimension of time.
When I import my tables and check the consistency, I get errors: "in double foreign key. Delete"(don't remember complete sentence)
This is the first point that I do not understand. Why can I have not more than 1 foreign key?

The second point is to know how to have 2 time dimensions. In the MDB, I duplicate my time dimension. But which to choose? I tested with a foreign key and complex join (and foreign keys 2 or 1 in Physics) and I still have the same result (bad).

So can someone explain to me how configure both physical than MDB joins use a dimension greater than 1 hour (without creating a new physical dimension of course)

Thank you

Hello

Create table aliases (as they play different roles) for the dimension of time in the physical layer and combining your done using physical joints.

After importing to the physical layer, if duplicate keys exist, delete the duplicate keys.

In this scenario, two keys will be exist on the fact for the time dimension, remove those and create the joins between aliases.

Thank you
Vino

Tags: Business Intelligence

Similar Questions

  • Time Dimension table

    Hello

    I have a requirement where I need to calculate the value of average purchase order based on the month. The problem I have here is that the custom time Dimension table that I have in my RPD has dates only until 2011 and not beyond. I downloaded this table via BI tutorials oracle schema EXAMPLE.

    I've looked everywhere on the internet for a time dimension table, but I'm unable to find it. Can someone please help me find a way to insert the time dimension table?

    Thank you

    Nicole Shepherd

    Hi Anthony,.

    You can change the SQL code to insert new rows into your table.

    Example:

    INSERT INTO your_table (your_field)

    SELECT TO_DATE('31/12/2010','DD/MM/YYYY') + NUMTODSINTERVAL (n, 'day') AS Full_Date

    FROM (SELECT level n FROM dual connect by level)<>

    The foregoing will insert lines starting at 01/01/2011 and until the 01/01/2011 + 4000 days (over 10 years).

    Of course, you must extend the code to calculate all the fields in your time dimension.

    Concerning

    Federico

  • Time dimension

    I have the CSV file as a data source. I've created tables to CSV files and then them modeled in SPR and then created time on that dimension. But the time dimension does not work. Is it because the data source is a CSV file?

    Any help appreciated

    Where is their total content large?

    This one is from SampleApp, as you can see there is a "time Total" and it is reported as "grand total" (a box set).

    So maybe just remove your and build it yet keeping the grand total and rename the level of detail of the "year".

    Add your unique column it and set it as the key level (and also key chronological).

  • error in creating time dimension OLAP in ORDM

    HI Experts

    I am trying to update the data in olap time dimension that is based in ORDM of MV and I get the error message "path of aggregation for the hierarchies of a dimension 'TIME' is incompatible," Please suggest what is at stake / soln.

    Thank you

    Prateek

    Hi David,

    Please check your hierarchies for consistency.  Because it seems that the TIME dimension is selected for the updating of the MV, the hierarchies must be consistent star.

    This means that the hierarchies must be consistent with each other in regard to members and stars according to the subject at a level.

    Compatible with each other.

    "If a dimension member appears in several hierarchies, then his descendants playing to the level of detail are exactly the same in each hierarchy." For example, if Quarter_1 consists of January, February and March at the level of detail in the Calendar hierarchy, Quarter_1 cannot be July, August and September in the Fiscal hierarchy.

    However, the members of a hierarchy can have different parents in other hierarchies. For example, these customer hierarchies are compatible if the 'Total' Member all members at the SHIP_TO level in deliveries and market Segment. »

    -helps AWM on the Details of the implementation of the Panel properties of Dimension tab

    Consistent stars with each other = in addition to being consistent with each other, such as defined above,

    "If a parent has children at the same level in multiple hierarchies, these children must be identical. For example, suppose an a H1 and H2 hierarchies dimension and level L3 appears in both entities. If X parent has children, C1, C2 and C3 at the L3 level in hierarchy H1, X also children a C1, C2 and C3 to the L3 level in hierarchy H2.

    Following customer hierarchies are consistent star only if two hierarchies, REGION has the same members (for example, Americas, Europe, Pacific), rolling among the SHIP_TO members themselves.

    Hierarchy of shipments:

    TOTAL

    REGION

    WAREHOUSE

    SHIP_TO

    Hierarchy of the country:

    TOTAL

    REGION

    SUBREGION

    DEPARTMENT / PROVINCE

    SHIP_TO ".

    -helps AWM on the Details of the implementation of the Panel properties of Dimension tab

    -Ken Chin

  • Time Dimension type to different values in the attributes - Bug or feature?

    Not sure if this is a bug or a feature.

    But if there is a time dimension hierarchies. You have the option of specifying different values for member attributes in different hierarchies.

    For example.

    A hierarchy has MIN_ID for its members and uses MIN_END_DATE for its end_date

    Hierarchy B has MIN_ID for its members and uses SESS_END_DATE for its end_date

    According to this message and a comment by David Greenfield:

    Gender issue when several mappings for different hierarchies

    "You try to map the same attribute, SORT, on different columns in two hierarchies? In other words, what 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 because a member must have the same value for the attribute independently of the hierarchy. »

    Unlike a dimension of the user, a time dimension seems to allow this and it seems to work as expected. Behavior in this case is the difference between a user and the time dimension?

    Your description of the structure of the dimension is very clear, but I have a question about system requirements. When you say you want to the time running from 17:00 to 16:59, do you mean that the calculation must spand day? for example "5:00 PM: Jan 1, 2012" to "4:59 PM: 2 Jan 2012".» If so, then this you is impossible by making a loop only the dimension of time-seconds. Or do you really mean it must wrap around the same day. for example "5:00 PM: Jan 1, 2012" at "11:59 PM: 1 Jan 2012", then again to "00:00 AM: 1 Jan 2012" to "4:59 PM: 1 Jan 2012"?»»»

    If you want the calculation for the period of days, then I think you need to spend TIME on the DATE dimension level. You can leave some MINUTES in the second dimension, which can be a dimension of standard user. You must then two levels of the DAY (with different members) in the date dimension - each with a different set of the child. You can assign the TIME_SPAN to the TIME level 1.

  • Best practices for the Time Dimension

    I'm a new contour design. I need to set up a time for daily dimension, perpetually. In the past I would set up a member years i.e. 2010, 2011, 2012... and a second dimension with the days i.e. Jan 01, 02 Jan.

    Is there a better way than that? I would like if possible do so in only one dimension.

    Have you looked at the Date-Time dimension? It's ASO-only, but has a ton of features:
    http://download.Oracle.com/docs/CD/E12825_01/EPM.111/eashelp/frameset.htm?sel_cal_hier.htm

    He put everything in a single dimension, btw. I've seen similar dimensions in cubes BSO stored in sparse form. Shudder.

    Kind regards

    Cameron Lackpour

  • S.o. of time Dimension

    Hi all

    In the project current works unlike the day regular 00:00 to 24:00 that the day of the transaction is divided into two shifts; Maj r: 06:00 to 21:00 SHIFT B: 21:00-06:00 the next morning.

    The customer wants to run reports on transactions happening in one day that spread over two shifts and would then like to generate MIN, MAX, AVG time. My time dimension currently has the following columns:

    Timestamp
    Year
    Month
    Week
    Day


    You don't know how to accommodate the transaction date that is a "single day" that falls within "two days".

    Any help is greatly appreciated.

    Concerning
    B

    Hi B,

    I hope that you do not use W_DAY_D / W_MCAL_DAY_D the granularity that is Date and time. You said that you have Timestamp in your time Dimension, so I'll give you the solution accordingly.

    Add two columns in your time Dimension. A Transaction shift and others for the day of the Transaction. Your ETL must fill these columns, accordingly as you mentioned logic. If you have a similar logic for Transaction week / month / year, you add the columns accordingly.

    Now, once you expose these columns in the presentation layer and the users query your metrics made against trading day, you will get your desired results. Please note that your should be attached to the dimension of time at the level of the timestamp and not date.

    Please let me know if it solves your problem.

    Thank you
    Nabhanil

  • Hour/Min column in the Time Dimension

    Please can someone help me with the script to fill in the time Dimension Table that contains a column of hours/min. Here's my Time_D structure:

    Year
    Quarter
    Month
    Name of the month
    Week
    Day
    Hour
    Min

    Also is it a good practice to have the hour/Min column in the time Dimension?


    Thanks in advance.
    Concerning
    B

    B,
    Sorry if I confused things a bit...
    I wanted to say in the MDB layer, you can model a dimension table (time) with the path complete drill (year-> quarter-> month-> day-> hour-> Min)
    This a logical table would have two sources of logical table to map required fields of your two tables of phyiscal (Date_Dim and Time_Dim)
    You must define the levels of content accordingly for each logical table source, so the user in responses can perfectly break of the year all the way up to Min, their sound a single dimension, actually its two tables and the BI server switches according to the levels of content in the LTS.

    Sorted?
    Let us know if you get the probs.
    Alastair

  • Add the quarter to the time dimension

    Hello

    We have created a time dimension using the owb wizzard, but did not include the quarter level. Is it possible to add it to the dimension later without deleting a re-creation of the entire dimension?
    A new time dimension would probably be corrupt all the cubes (data and metadata), so I would avoid that.
    Any ideas?

    See you soon,.

    Knut

    Hi Knut

    Yep, should be possible.

    Change the dimension and select the quarter level in the levels Panel, and then click quarter in hierarchies pane to add it to the hierarchy. You can then delete the link and autobind on details for the physical links to the underlying table. On the hierarchies pane, there is a button "Create map" that will regenerate the mapping to load the time dimension.

    See you soon
    David

  • 1 h period and the time dimension

    Hi all

    1. I'm new to OWB and I was wondering is it possible to force the default time dimension (done using Wizard) to have some 'small' level then a day (say, 1 h)?
    If this is not the case, have you tried to manually update the dimension and mapping?
    Or it is better to leave default dimension and start with my own time dim?

    2. What is the difference between the dimension created as the dimension "time" and with a similar but defined content as typicall dim? (issues / analysis performance)?

    Thanks in advance.
    See you soon,.
    B

    Hello

    OWB can create dimensions date to the level of the day.
    You can use this dimension as a source of a map of your own to create a time dimension to the level of the time (enclose it with values of 1-24).

    Have you considered using a date on the day level dimension and a second dimesion of time containing only 1-24 hours?

    With the help of the wizard makes living easier, but there is no advantage in terms of performance in relation to a normal size. Be sure to add all the clues you need.

    Kind regards
    Carsten.

  • Question about time Dimension Type Format

    Hello, I've created a repository and I see that my time dimension has a strange format type. When I'm in answers page and click on the year and click "Show results", I see all my years of my database, but in this format:
    2.006
    2007
    2,008
    ...

    And I want to see:
    2006
    2007
    2008 (no period separator)

    And also if I'm going to filter my highlights of the year and I click on allchoices... it shows not my years as:
    2006.00
    2007.00
    2008.00

    Everyone knows about it?

    Thank you very much

    First check the data type you specified for the year column in the physical layer of the repository. Is this other thing as integers?

  • Time dimension wizard is not apear

    I'm just starting with OWB and have a few questions. I use OWB version 10.1.0.4.0.


    1. when I try to create a time dimension (right-click on the dimension) only 'create the dimension' will apear and not an opportunity to choose a wizard. What I am doing wrong?

    2. is it possible to display the content (data) in a table directly from the mapping Editor?

    THX in advance,

    Arjan

    Hi Arjan

    If you really must use OWB 10.1... This is true of OWB 10.1. OWB 10.1 has a standard dimension wizard, and there was a table function, condition to generate data, the card had to be built manually. See the 10.1 user guide, Chapter 22 - OLAP allowing with OWB. This article describes a time dimension prepackaged, that you can use if necessary.

    The version 10.2 OWB introduces wizards of dimension/time with on the support of the box and is wizard driven. Version 10.2 OWB has much richer support OLAP, OWB 10.1, it was made by a best practice/bridge technique.

    See you soon
    David

  • How to create the time dimension?

    Hi friends...
    I'm working on OBIEE since the last 2 months.
    I created a few reports; I don't have the time dimensions in the layer of MDB.

    Now, I need to give a few zoom feature in my reports. Almost all of the reports have the time factor.
    As year, month, and day. can I still create the time dimension based on the exercise.
    (1) what is - that I think give the zoom feature in the reports.
    (2) can we have multiple time dimensions in the MDB layer?


    Thank you very much in advance.

    Toony,

    You can create a time dimension based on the fiscal year, and you can have many dimensions of time within a business model. There is a lot of documentation, of messages and articles about dimensions. If you haven't already done so, check out page 126 of the Server Management Guide and read this article. That should at least help you get started on building your time dimension.

  • Counter in the time dimension

    Hello

    I'm generating time such as dimensions

    SELECT

    separate (TO_NUMBER (to_char (DT, 'YYYY'))) AS YEAR_SK,

    quarter, month, date, etc.

    0 as DAYCOUNTER

    Of

    (

    Select to_date (January 1, 2010 ',' DD-MM-YYYY "") + rownum dt-1

    of the double

    connect by level < = to_date (January 1, 2020 ',' DD-MM-YYYY ')-to_date (January 1, 2010 ',' DD-MM-YYYY ') + 1

    )

    I need to generate sort DAYCOUNTER who is the next value (1,2,3). Y at - it a function that will help me get there?

    Hello

    user8030080 irta:

    SELECT

    TO_NUMBER (to_char (DT, 'YYYY')) * 10000 + TO_NUMBER (TO_CHAR (Dt, 'MM')) * 100 + TO_NUMBER (TO_CHAR(Dt,'DD')) AS DATE_SK,

    TO_NUMBER (to_char(DT,'YYYYMMDD')) AS DATEID,

    TO_NUMBER (to_char (DT, 'YYYY')) * 100 + TO_NUMBER (TO_CHAR(Dt,'MM')) AS MONTH_SK,

    TO_NUMBER (to_char (DT, 'YYYY')) * 100 + TO_NUMBER (TO_CHAR(Dt,'WW')) AS WEEK_SK,

    TO_NUMBER (to_char (DT, 'YYYY')) * 100 + TO_NUMBER (TO_CHAR (Dt, 'Q')) AS QUARTER_SK,

    TO_NUMBER (to_char(DT,'YYYY')) AS YEAR_SK,

    LEVEL as DAY_COUNTER - you have not an outter connect would adopt in that's why the error message

    daycounter - this is what emerges from the query online

    Of

    (

    Select to_date (January 1, 2010 ',' DD-MM-YYYY "") + rownum-Dt, daycounter LEVEL 1

    of the double

    connect by level<= to_date('01-01-2020',="" 'dd-mm-yyyy')="" -="" to_date('01-01-2010',="" 'dd-mm-yyyy')="" +="">

    )

    gives me:

    01788 00000 - 'CONNECT BY clause in this query block'

    * Cause:

    * Action:

    Error on line: column 12: 6

    Kind regards

    Steve

  • Capsule full time as his double registered an external drive

    Hello

    I have a standard mac 500 GB and a separate external drive from Seagate.  The Seagate has itunes and is probably 500 GB used out of 2 TB. The Mac is probably 350 GB full.  These two back up to a 2 TB Timecapsule. Its been fortunately backup for awhile but some how seems to have saved double the seagate as well its economy to its full.

    So, I need to restore the Timecapsule to delete the previous info and copy information that is held on the Seagate and Mac.

    I had a glance through some of the headings on the Airport utility, but can't see all the options. I wouldn't say I'm tech savvy.  All advice would be great.

    Thank you

    You say here that you want to clear the contents of the Time Capsule hard drive and start over with new backups of your Mac and the Seagate drive attached to the Mac?

    If this is the case, I suppose you understand that you will lose your backup history of the Mac and Seagate drive when you do this, since tit Time Capsule disk will be wiped clean when it is cleared.

    Please confirm.

Maybe you are looking for

  • Can I use the Satellite A215 for Satellite L305-s5921 recovery disk

    My laptop crashed (series Toshiba L305-s5921).I do not have the restore disks, but I have the recovery disc for my Toshiba A215 series. Can I pick up my laptop with this drive.

  • I want to install 64-bit Windows using the recovery procedure

    I brought a L series today and I just turn it on. I need help to set up 64-bit windows. I chose 64-bit but on the next screen, it says factory default software for recovering or erase the hard drive, including all data and were leaving. Which one to

  • first problem of points

    Hello I have a DAQ hardware that is responsible for the conduct of an electromagnet. At the start of the VI, it seems that there are three or more points of my measurement data are not accurate because they were taken before this area to reach its ma

  • Missing C:\WINDOWS\SYSTEM32\rpcss.dll

    After a computer upgraded my laptop with WIN 7 since Vista it seems that I can't back up computer using the WIN software nor WD external drive. It seems after running an antivirus program and malware, Miss me the above file. How can I fix it? Barbara

  • How to remove Win 8 once you got into the loop of auto repair

    Hello I want to delete my win 8 and 8.1 pre-installed os clean win install. The first thing that boot is an auto repair repeatedly. In prebooting does not react on any key functional. The only things I can use are UEFI and command prompt. Everything