Date for date dimension pull upward (Dimension to Dimension)

Need advice...

1. I have a person dimension table and the sales fact table. Person_id is the foreign key in the fact. I want to be able to make the date of birth. But the size of the person has only dob_sid which should point to the dimension of the day to get my the equivalent date. That's the problem... I can't join dimension dimension of the day person, I need to be able to join by fact, but the fact table is absent from the dob_sid.
2. the second question is, dimension of the person has other dates partners action_date, cancel_date, etc. in addition to a date field that I need to attach to the dimension of the day.

How will I be able to do this in BMM? Physical layer?

The key (no pun intended) is here to alias your date dimension for several searches to date, you need, these aliases directly join your dimension of person out the appropriate keys.

Tags: Business Intelligence

Similar Questions

  • Fill a Table for a Date Dimension

    I would be grateful for all the guru/developers who have populated it dates for a dimension table containing dates as in the example of data, that I will give you.
    And if you could share your knowledge on how this dimension table is filled.

    Here is the table structures you need and I have provided a check for the sqlloader in that file if you don't mine loads data into the dim_recnc_dte table.

    The sample I provided is a sample of data in 2006 smaill and the first 20 lines that was extracted from a productionised table which I thought will completely to the year 2037.

    I find it very difficult and I'm interested in this inclination. and how is this possible a sql to complete this table. ???

    CREATE TABLE DIM_RECNCL_DTE
    (
    DTE_ID NUMBER (12) NOT NULL,
    DATE OF DAY_DTE,
    DAY_NME VARCHAR2 (100 BYTE) NOT NULL,
    DAY_DESC VARCHAR2 (200 BYTE),
    BUSS_DAY_IND VARCHAR2 (20 BYTE) NOT NULL,
    WK_DAY_IND VARCHAR2 (20 BYTE) NOT NULL,
    WK_DAY_NBR NUMBER (10),
    DATE OF WK_START_DTE,
    DATE OF WK_END_DTE,
    DATE OF WK_LST_BUSS_DAY_DTE,
    MTH_DAY_NBR NUMBER (10),
    MTH_NME VARCHAR2 (100 BYTE) NOT NULL,
    MTH_DESC VARCHAR2 (200 BYTE) NOT NULL,
    DATE OF MTH_START_DTE,
    DATE OF MTH_END_DTE,
    DATE OF MTH_LST_BUSS_DAY_DTE,
    MTH_DAY NUMBER (10),
    MTH_BUSS_DAY NUMBER (10),
    QTR_DAY_NBR NUMBER (10),
    DATE OF QTR_START_DTE,
    QTR_END_DTE DATE NOT NULL,
    DATE OF QTR_LST_BUSS_DAY_DTE,
    QTR_DAY NUMBER (10),
    QTR_BUSS_DAY NUMBER (10),
    CLNDR_WK_NBR NUMBER (10),
    CLNDR_MTH_NBR NUMBER (10),
    CLNDR_QTR_NBR NUMBER (10),
    CLNDR_YR NUMBER (12).
    CLNDR_YR_DAY_NBR NUMBER (10),
    DATE OF CLNDR_YR_START_DTE,
    DATE OF CLNDR_YR_END_DTE,
    DATE OF CLNDR_YR_LST_BUSS_DAY_DTE,
    CLNDR_YR_DAY NUMBER (10),
    CLNDR_YR_BUSS_DAY NUMBER (10),
    FISCAL_WK_NBR NUMBER (10),
    FISCAL_MTH_NBR NUMBER (10),
    FISCAL_QTR_NBR NUMBER (10),
    FISCAL_YR NUMBER (10),
    FISCAL_YR_DAY_NBR NUMBER (10),
    DATE OF FISCAL_YR_START_DTE,
    DATE OF FISCAL_YR_END_DTE,
    DATE OF FISCAL_YR_LST_BUSS_DAY_DTE,
    FISCAL_YR_DAY NUMBER (10),
    FISCAL_YR_BUSS_DAY NUMBER (10),
    ROLLING_QTR_DAY_NBR NUMBER (10) NOT NULL,
    ROLLING_QTR_START_DTE DATE NOT NULL,
    ROLLING_QTR_END_DTE DATE NOT NULL,
    ROLLING_QTR_LST_BUSS_DAY_DTE DATE NOT NULL,
    ROLLING_QTR_DAY NUMBER (10) NOT NULL,
    ROLLING_QTR_BUSS_DAY NUMBER (10) NOT NULL,
    PRSN_TAX_YR VARCHAR2 (BYTE 9),
    DTE_PRT_DEFND_IND VARCHAR2 (20 BYTE) NOT NULL,
    AUDIT_ID NUMBER (12) NOT NULL
    )


    DOWNLOAD THE DATA
    INFILE *.
    BADFILE '. / DIM_RECNCL_DTE. BAD'
    DISCARDFILE '. / DIM_RECNCL_DTE. DSC"
    INSERT INTO TABLE DIM_RECNCL_DTE
    Fields ended by '; '. Surrounded of possibly "" "
    (
    DTE_ID NULLIF (DTE_ID = 'NULL'),
    DAY_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (DAY_DTE = "NULL").
    DAY_NME,
    DAY_DESC,
    BUSS_DAY_IND,
    WK_DAY_IND,
    WK_DAY_NBR NULLIF (WK_DAY_NBR = 'NULL'),
    WK_START_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (WK_START_DTE = "NULL").
    WK_END_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (WK_END_DTE = "NULL").
    WK_LST_BUSS_DAY_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (WK_LST_BUSS_DAY_DTE = "NULL").
    MTH_DAY_NBR NULLIF (MTH_DAY_NBR = 'NULL'),
    MTH_NME,
    MTH_DESC,
    MTH_START_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (MTH_START_DTE = "NULL").
    MTH_END_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (MTH_END_DTE = "NULL").
    MTH_LST_BUSS_DAY_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (MTH_LST_BUSS_DAY_DTE = "NULL").
    MTH_DAY NULLIF (MTH_DAY = 'NULL'),
    MTH_BUSS_DAY NULLIF (MTH_BUSS_DAY = 'NULL'),
    QTR_DAY_NBR NULLIF (QTR_DAY_NBR = 'NULL'),
    QTR_START_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (QTR_START_DTE = "NULL").
    QTR_END_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (QTR_END_DTE = "NULL").
    QTR_LST_BUSS_DAY_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (QTR_LST_BUSS_DAY_DTE = "NULL").
    QTR_DAY NULLIF (QTR_DAY = 'NULL'),
    QTR_BUSS_DAY NULLIF (QTR_BUSS_DAY = 'NULL'),
    CLNDR_WK_NBR NULLIF (CLNDR_WK_NBR = 'NULL'),
    CLNDR_MTH_NBR NULLIF (CLNDR_MTH_NBR = 'NULL'),
    CLNDR_QTR_NBR NULLIF (CLNDR_QTR_NBR = 'NULL'),
    CLNDR_YR NULLIF (CLNDR_YR = 'NULL'),
    CLNDR_YR_DAY_NBR NULLIF (CLNDR_YR_DAY_NBR = 'NULL'),
    CLNDR_YR_START_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (CLNDR_YR_START_DTE = "NULL").
    CLNDR_YR_END_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (CLNDR_YR_END_DTE = "NULL").
    CLNDR_YR_LST_BUSS_DAY_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (CLNDR_YR_LST_BUSS_DAY_DTE = "NULL").
    CLNDR_YR_DAY NULLIF (CLNDR_YR_DAY = 'NULL'),
    CLNDR_YR_BUSS_DAY NULLIF (CLNDR_YR_BUSS_DAY = 'NULL'),
    FISCAL_WK_NBR NULLIF (FISCAL_WK_NBR = 'NULL'),
    FISCAL_MTH_NBR NULLIF (FISCAL_MTH_NBR = 'NULL'),
    FISCAL_QTR_NBR NULLIF (FISCAL_QTR_NBR = 'NULL'),
    FISCAL_YR NULLIF (FISCAL_YR = 'NULL'),
    FISCAL_YR_DAY_NBR NULLIF (FISCAL_YR_DAY_NBR = 'NULL'),
    FISCAL_YR_START_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (FISCAL_YR_START_DTE = "NULL").
    FISCAL_YR_END_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (FISCAL_YR_END_DTE = "NULL").
    FISCAL_YR_LST_BUSS_DAY_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (FISCAL_YR_LST_BUSS_DAY_DTE = "NULL").
    FISCAL_YR_DAY NULLIF (FISCAL_YR_DAY = 'NULL'),
    FISCAL_YR_BUSS_DAY NULLIF (FISCAL_YR_BUSS_DAY = 'NULL'),
    ROLLING_QTR_DAY_NBR NULLIF (ROLLING_QTR_DAY_NBR = 'NULL'),
    ROLLING_QTR_START_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (ROLLING_QTR_START_DTE = "NULL").
    ROLLING_QTR_END_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (ROLLING_QTR_END_DTE = "NULL").
    ROLLING_QTR_LST_BUSS_DAY_DTE DATE "MM/DD/YYYY HH24:MI:SS" NULLIF (ROLLING_QTR_LST_BUSS_DAY_DTE = "NULL").
    ROLLING_QTR_DAY NULLIF (ROLLING_QTR_DAY = 'NULL'),
    ROLLING_QTR_BUSS_DAY NULLIF (ROLLING_QTR_BUSS_DAY = 'NULL'),
    PRSN_TAX_YR,
    DTE_PRT_DEFND_IND,
    AUDIT_ID NULLIF (AUDIT_ID = 'NULL')
    )
    BEGINDATA
    20060131; "31/01/2006 00:00:00 '; "" KILL " ' Tuesday '; » Y « ; » Y » ; 4; "28/01/2006 00:00:00 '; "03/02/2006 00:00:00 '; "03/02/2006 00:00:00 '; 31; » « « « JAN » ; » January «;» 01/01/2006 00:00:00 '; 31/01/2006 00:00:00 '; 31/01/2006 00:00:00 '; 31; 20; 31; ' 01/01/2006 00:00:00 '; ' 31/03/2006 00:00:00 '; ' 31/03/2006 00:00:00 '; 90; 63; 5; 1; 1; 2006; 31; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '; 365; 255; 18; 4; 2; 2005; 123; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 92; "2005-11-01 00:00:00 '; "31/01/2006 00:00:00 '; "31/01/2006 00:00:00 '; 92; 62; "" 2005/06; "" FULL "; 664858
    20060201; ' 01/02/2006 00:00:00 '; "" SEA "; "" Wednesday "; » Y « ; » Y » ; 5; "28/01/2006 00:00:00 '; "03/02/2006 00:00:00 '; "03/02/2006 00:00:00 '; 1; "" FEB "; "February"; ' 01/02/2006 00:00:00 '; "28/02/2006 00:00:00 '; "28/02/2006 00:00:00 '; 28; 20; 32; ' 01/01/2006 00:00:00 '; ' 31/03/2006 00:00:00 '; ' 31/03/2006 00:00:00 '; 90; 63; 5; 2; 1; 2006; 32; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '; 365; 255; 18; 5; 2; 2005; 124; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 63; "2005-12-01 00:00:00 '; "28/02/2006 00:00:00 '; "28/02/2006 00:00:00 '; 90; 60; "" 2005/06; "" FULL "; 664858
    20060202; ' 02/02/2006 00:00:00 '; "" GAME "; ' Thursday '; » Y « ; » Y » ; 6; "28/01/2006 00:00:00 '; "03/02/2006 00:00:00 '; "03/02/2006 00:00:00 '; 2; "" FEB "; "February"; ' 01/02/2006 00:00:00 '; "28/02/2006 00:00:00 '; "28/02/2006 00:00:00 '; 28; 20; 33; ' 01/01/2006 00:00:00 '; ' 31/03/2006 00:00:00 '; ' 31/03/2006 00:00:00 '; 90; 63; 5; 2; 1; 2006; 33; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '; 365; 255; 18; 5; 2; 2005; 125; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 64; "2005-12-01 00:00:00 '; "28/02/2006 00:00:00 '; "28/02/2006 00:00:00 '; 90; 60; "" 2005/06; "" FULL "; 664858
    20060203; "03/02/2006 00:00:00 '; "' FRI '; ' Friday '; » Y « ; » Y » ; 7; "28/01/2006 00:00:00 '; "03/02/2006 00:00:00 '; "03/02/2006 00:00:00 '; 3; "" FEB "; "February"; ' 01/02/2006 00:00:00 '; "28/02/2006 00:00:00 '; "28/02/2006 00:00:00 '; 28; 20; 34; ' 01/01/2006 00:00:00 '; ' 31/03/2006 00:00:00 '; ' 31/03/2006 00:00:00 '; 90; 63; 5; 2; 1; 2006; 34; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '; 365; 255; 18; 5; 2; 2005; 126; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 65; "2005-12-01 00:00:00 '; "28/02/2006 00:00:00 '; "28/02/2006 00:00:00 '; 90; 60; "" 2005/06; "" FULL "; 664858
    20060405; "05/04/2006 00:00:00 '; "" SEA "; "" Wednesday "; » Y « ; » Y » ; 5; "01/04/2006 00:00:00 '; "07/04/2006 00:00:00 '; "07/04/2006 00:00:00 '; 5; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 5; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 14; 4; 2; 2006; 95; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 27; 7; 3; 2005; 187; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 64; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060406; ' 06/04/2006 00:00:00 '; "" GAME "; ' Thursday '; » Y « ; » Y » ; 6; "01/04/2006 00:00:00 '; "07/04/2006 00:00:00 '; "07/04/2006 00:00:00 '; 6; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 6; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 14; 4; 2; 2006; 96; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 27; 7; 3; 2005; 188; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 65; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060407; "07/04/2006 00:00:00 '; "' FRI '; ' Friday '; » Y « ; » Y » ; 7; "01/04/2006 00:00:00 '; "07/04/2006 00:00:00 '; "07/04/2006 00:00:00 '; 7; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 7; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 14; 4; 2; 2006; 97; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 27; 7; 3; 2005; 189; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 66; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060408; ' 08/04/2006 00:00:00 '; "" SAM "; ' Saturday '; » N « ; » N » ; 1; ' 08/04/2006 00:00:00 '; "14/04/2006 00:00:00 '; "13/04/2006 00:00:00 '; 8; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 8; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 14; 4; 2; 2006; 98; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 28; 7; 3; 2005; 190; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 67; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060409; "09/04/2006 00:00:00 '; "" SUN "; ' Sunday '; » N « ; » N » ; 2; ' 08/04/2006 00:00:00 '; "14/04/2006 00:00:00 '; "13/04/2006 00:00:00 '; 9; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 9; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 15; 4; 2; 2006; 99; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 28; 7; 3; 2005; 191; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 68; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060410; "10/04/2006 00:00:00 '; "" MY. " ' Monday '; » Y « ; » Y » ; 3; ' 08/04/2006 00:00:00 '; "14/04/2006 00:00:00 '; "13/04/2006 00:00:00 '; 10; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 10; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 15; 4; 2; 2006; 100; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 28; 7; 3; 2005; 192; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 69. ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060411; "11/04/2006 00:00:00 '; "" KILL " ' Tuesday '; » Y « ; » Y » ; 4; ' 08/04/2006 00:00:00 '; "14/04/2006 00:00:00 '; "13/04/2006 00:00:00 '; 11; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 11; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 15; 4; 2; 2006; 101; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 28; 7; 3; 2005; 193; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 70; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060412; "12/04/2006 00:00:00 '; "" SEA "; "" Wednesday "; » Y « ; » Y » ; 5; ' 08/04/2006 00:00:00 '; "14/04/2006 00:00:00 '; "13/04/2006 00:00:00 '; 12; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 12; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 15; 4; 2; 2006; 102; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 28; 7; 3; 2005; 194; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 71; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060413; "13/04/2006 00:00:00 '; "" GAME "; ' Thursday '; » Y « ; » Y » ; 6; ' 08/04/2006 00:00:00 '; "14/04/2006 00:00:00 '; "13/04/2006 00:00:00 '; 13; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 13; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 15; 4; 2; 2006; 103; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 28; 7; 3; 2005; 195; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 72; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060414; "14/04/2006 00:00:00 '; "' FRI '; ' Friday '; » N « ; » Y » ; 7; ' 08/04/2006 00:00:00 '; "14/04/2006 00:00:00 '; "13/04/2006 00:00:00 '; 14; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 14; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 15; 4; 2; 2006; 104; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 28; 7; 3; 2005; 196; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 73; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060415; "15/04/2006 00:00:00 '; "" SAM "; ' Saturday '; » N « ; » N » ; 1; "15/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; 15; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 15; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 15; 4; 2; 2006; 105; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 29; 7; 3; 2005; 197; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 74; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060416; "16/04/2006 00:00:00 '; "" SUN "; ' Sunday '; » N « ; » N » ; 2; "15/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; 16; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 16; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 16; 4; 2; 2006; 106; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 29; 7; 3; 2005; 198; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 75; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060417; "17/04/2006 00:00:00 '; "" MY. " ' Monday '; » N « ; » Y » ; 3; "15/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; 17; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 17; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 16; 4; 2; 2006; 107; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 29; 7; 3; 2005; 199; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 76; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060418; "18/04/2006 00:00:00 '; "" KILL " ' Tuesday '; » Y « ; » Y » ; 4; "15/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; 18; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 18; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 16; 4; 2; 2006; 108; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 29; 7; 3; 2005; 200; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 77; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060419; "19/04/2006 00:00:00 '; "" SEA "; "" Wednesday "; » Y « ; » Y » ; 5; "15/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; 19; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 19; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 16; 4; 2; 2006; 109; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 29; 7; 3; 2005; 201; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 78; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858
    20060420; "20/04/2006 00:00:00 '; "" GAME "; ' Thursday '; » Y « ; » Y » ; 6; "15/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; "21/04/2006 00:00:00 '; 20; "" APRIL "; ' April '; "01/04/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 30; 17; 20; "01/04/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; ' 06/30/2006 00:00:00 '; 91; 62; 16; 4; 2; 2006; 110; ' 01/01/2006 00:00:00 '; ' 31/12/2006 00:00:00 '; "29/12/2006 00:00:00 '365; 255; 29; 7; 3; 2005; 202; "2005-10-01 00:00:00 '; ' 09/30/2006 00:00:00 '; "29/09/2006 00:00:00 '365 253; 79; ' 01/02/2006 00:00:00 '; ' 30/04/2006 00:00:00 '; "28/04/2006 00:00:00 '; 89; 60; "" 2005/06; "" FULL "; 664858

    Published by: user531731 on August 5, 2009 06:39

    This is an example which will fill the 2 folders for a day with combination Y and N for all dates between
    1/1/1980-1/1/2099.

    Create table emp3 (F_date date, cd varchar2 (1));

    declare
      v_date_key    DATE;
      v_future_date DATE;
    BEGIN
      v_date_key := to_date('01-JAN-1980', 'DD-MON-YYYY');
      v_future_date := to_date('01-JAN-2099', 'DD-MON-YYYY');
      WHILE (v_date_key <= v_future_date) LOOP
        INSERT INTO emp3 a (F_date, CD) VALUES (v_date_key, 'Y');
        INSERT INTO emp3 a (F_date, CD) VALUES (v_date_key, 'N');
        v_date_key := v_date_key + 1;
      END LOOP;
      Commit;
    end;
      
    
  • the advantage of using the date dimension.

    Hi gurus,
    I have a table of facts with 5 different dates as the shipping date, the order date.
    My question is
    Case 1. in fact, table I store date_keys (substitution integers) and create several date dimensions (alas) for each type of date as a date_dimension alias for the shipping date, an alias for the date of the order etc (in the model of declaration).

    Case 2: I just avoid using the date and just store date dimension (no integers) in fact table.
    In this way I will save 5 joints in 5 dimensions of different date.
    Note: I have need of these 5 participates in the declaration of model that will be used to create reports, not in the model ETL in dimension model ETL that one date will be there, but we must create on alias the dimension date for each type of report date.

    So, I was wondering what is the advantage of using the date dimension?

    It is more a question of design/statement of a question of ETL/ODI;).

    The advantage of the dimension is that you can select or aggregate data by year, weekends, quarter, month, day of the week...
    If you only keep the date, you had all these complexes of the formula in logic or calculated items columns (assuming you are using OBIEE). Performances will be affected and the code will be duplicated in many places.

    Hope that it answers the question.

    Jerome

  • Date dimension unique creating aggregation tables

    Hi guys,.

    I have a date single dimension (D1 - D) with key as date_id and the granularity is at the level of the day. I did table(F1-D) that gives daily transactions. Now, I created three tables of aggregation with F2-M(aggregated to monthly), Q(Aggregated to quarterly)-F3, F4-Y(Aggregated to yearly). As I said. I have a table of unique date with date-id as a key dimension. I have other columns month, quarter, year in the Date dimension.


    My question is: is this single dimension table is sufficient to create the joins and maintain layer MDB. I joined the date_id of all facts in the physical layer. MDB layer, I have a fact and logical table 4 sources. II have created the hierarchy of the Date dimension dimension and created the logical levels as a year, quarter, month, and day and also set their respective level keys. Now, after doing this I also put the logic levels for logic table 4 sources in the fact table.

    Here, I get an error saying:



    WARNINGS:


    BUSINESS financial model MODEL:
    [39059] D04_DIM_DATE logical dimension table has a source of D04_DIM_DATE at the level of detail of D04_DIM_DATE that connects to a source of fact level superior F02_FACT_GL_DLY_TRAN_BAL. F03_FACT_GL_PERIOD_TRAN_BAL




    Can someone tell me why I get this error.

    Reverse - your group table months must have information on the year.

    It's so she can be summarized in the parent hierarchy levels.

    In general, it is so you don't have to create a table of aggregation for each situation - your table of months can be used for aggregates of the year. Still quite effective (12 times more data than the needs, but better than 365 times).

    Think about your particular situation where you have a year AND a month group you might get away without information from parent levels - but I have not tested this scenario.

    With the second part, let's say you have a description of months and a key of the month field. When you select month and income description, obiee needs to know where to find the description of months of. You don't find it secondary date for reasons mentioned previously dimension table. So, you tell him to do it from the global table. It is a simple as you drag the respective physical column from the overall table on the existing logical column for the description of months.

    Kind regards

    Robert

  • Create an Alias for a Dimension Member

    I have a date dimension dial the number of the week. The members are the week number 1, 2, 3... 50, 51, 52. When I use the week number in an analysis, I want it to appear in the table the week 1, week 2, week 3, etc...

    Is it possible to do the level analysis OBIEE?

    In the analysis, draw something like column expression and use of week number

    'Week' | Cast (number of the week as char)

    Let me know how it worked

    Published by: Srini VIEREN on May 3, 2013 16:56

  • Hard disk and transfer of external tools for my dimension 2100 that are reliable?

    Hard disk and transfer of external tools for my dimension 2100 that are reliable?

    Hi chucksmack,
     
    -What exactly is the problem you are having?
     

    "Your question contains all the required information necessary for us to help you. Please re - write your question, this time to ensure that you have included all the information required and we will try to help. »

    See this link for more information on:

    How to ask a question

  • For a Dimension 8400 CD/DVD burner

    I just bought a CD/DVD for my Dimension 8400 burner and I have problems installing. First of all, the Green tabs that screw on the thing don't match so I don't have 1 screw on each side and I'm not sure where to connect the orange cable provided. Also I don't know what to plug into the bag of the drive other than the orange cable. Confused. Very confused. Help!


  • Binocular research for a dimension of the Page

    Hi all

    For a dimension of project defined as dimension of the page in the form online which have 120 members, binocular search button appearing at the next lower size Page down. But where as a dimension Department with binocular research of 46 members button does not appear.

    Y at - it no criteria or adjustment to binocular search button should appear for the size of the page in the form online?

    Thanks a lot for your kind help in advance.

    Kind regards
    TVMK

    Open a session planning
    Go to file-> Preferences and select the Option to display tab

    The value Allow seach when no.. pages is greater than 10

  • UDA creation for a dimension member

    Hi all

    When I create the UDA for a dimension member in my planning application I get the following error.

    The dimension associated with ID has not been defined for this property. You want to create the association now?

    Can you get it someone please let me know wahts this error?

    Thank you

    I take it as an application of EPMA, you must create the association of dimension between the property of the UDA and the dimension of the UDA.
    Reading of:-http://download.oracle.com/docs/cd/E17236_01/epm.1112/epma_admin/epma_create_assoc.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Memory for the dimension 2400 choice problem

    I am looking to order more memory.  A concert stick would be nice.

    My problem is the manual system provided with the Dimension 2400 says this:

    DDR SDRAM memory architecture
    Two memory connectors
    Capacity of memory 128-,-256, or 512 MB

    Maximum memory 1 GB
    Memory type PC2100 (266 MHz) and PC2700 (333 MHz) DDR
    SDRAM (non - ECC)

    To purchase memory from Dell Web site says this:

    Memory Dell approved

    Maximum memory: 2048
    Number of slots: 2
     

    512 MB memory Module for Dell Dimension 2400 / 2400C / 4600 Desktops $ 33,14

    1 GB Memory Module for Dell Dimension 2400 / 2400C / 4600 desktop $ 55,14

    If the Dell system manual is not saying 512 k by maximum stick and the Dell store saying 1 GB max stick?

    I would like to get a 1 GB stick.  What should I do?

    Hmm... I just read on user 1 GB stick magazines that many are running in their Dimension 2400.

    Message edited by Newbee video on 14/08/2008 16:59

  • Satellite M70-394: badge on the cover by pulling upward on one side

    Keep pulling upward on one side and me is annoying, especially since it is only a week old. Toshiba will send me a new?

    What should I do?

    Hello

    Usually, if you want to order parts, etc. you should contact Toshiba service partner in your country.
    Don t be angry with me, but a badge isn't a reason really to make contact with the service.
    I put t know if you will be able to order such badge but you can try it.

  • How to load data for the dimensions of the unmapped target

    Hello

    I HAV requirement that

    the source dimensions are

    1 account

    2 company

    Dimensions of the target

    1 account

    2 entity

    3.CUSTOM1

    4.CUSTOM2

    5 PIC

    I drew one account & other entity left blank...

    It was the order to HAV, mapped from the source address.

    For PEAK value [no PIC] must be load in the target, but this value was not in the source

    How can I specify the Format of data support Mapping in [Explicit, between the two, etc.] to encode the value target

    also other dimensions not mapped

    Thanks in advance

    Hello

    You can create a map like *-> [no PIC]

    If you want to display a value in the ICP source, you can configure your import format to import a static value and map this value.

    Concerning

  • Attribute in the form of planning data Dimension members

    Hi all

    We see members of dimension attribute in the form of planning data? Pls help

    Yes it is possible in 11.1.1.3, for example in your line selection a dimension that has attributes associated with it. Select the properties of the dimension next to the drop down.
    Check "enable the display of the custom attribute (parameter applies to all dimensions with attributes):
    Select the dimension attribute

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Date dimension

    Hello

    Suggest you to load a dimension of date using ODI or SQL.

    Because it is a one-time activity, I am tempted to use SQL scripts. However, would like to know how we can make it happen in ODI.

    Thank you

    Hi 1049916,

    I would certainly do it in SQL. As you say, it's a one-time job, and in fact I think it will be easier in SQL.

    What might be useful is to copy this SQL code in an ODI procedure, just to be sure it can be rerun if someone screw up the dimension.

    Kind regards

    JeromeFr

  • Compensation * for * rights dimensions with the security access import utility

    Hello

    I loaded the access of dimension for about 4000 members/groups with the ImportSecurity utility. Now, I want to delete those that we have changed the design of the security.
    Already, I know the SL_CLEARALL option but this option is not useful because it will be not only clear another dimension access loaded earlier, but also my data form access etc.

    What can I do? I will not delete these manually access rights, and I won't have to reset safety in the whole application, including security of types that should also be completely independent of the access of dimension.

    Thank you
    JM

    It won't be a magic solution for to manage you your access permissions, LCM will allow you to export to XML or the exportsecurity to txt and then you have to make your manipulation.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

Maybe you are looking for

  • OfficeJet scan error. 8, [(0, 18,-2147467259)]

    HP officejet 6310 all in one successfully installed except for the analysis function.  running windows 7.  Network also has another computer running Vista.  OfficeJet plugged into router ATT modem.  Two computers connected to the router modem by Ethe

  • USB-7856R

    Not sure if this is good advice, but here goes. What is the difference between a USB-7856R and a USB-7856R OEM?

  • text too small - how to set the upper size for all windows

    Separated from this thread. I NEED LARGE FONT ON MY PC FOR OFFLINE USE, BECAUSE OF ME VISIUALY INPAIRD I NEED THIS BAD FOR THE SCHOOL. PLEASE LET ME KNOW AS SOON AS POSSIBLE! EZERA Q

  • Telnet to a line specific vty

    Hello is it possible to connect telnet to specific vty line. line vty 0 3 Cisco password ! line vty 4 password 123 If so, how. Thanks in advance Joe

  • A good difficulty for problems with creating an account ePrint Center.

    Problem: impossible to register with ePrint Center Difficulty: The problem you are having is probably due to an old Snapfish account registered to your email address. ePrintCenter and Snapfish account information is stored in the same place and I saw