Data are not filled in the Dimension according to the hierarchy

Hi all

I have a DIM_ITEM table with the following structure,
ITEM_KEY      NUMBER(10,0)
ITEM_NAME     VARCHAR2(50 BYTE)
ITEM_SHORT_NAME     VARCHAR2(25 BYTE)
ITEM_CATEGORY     VARCHAR2(50 BYTE)
ITEM_TYPE      VARCHAR2(50 BYTE)
ITEM_BRAND     VARCHAR2(50 BYTE)
Below the data are met
insert into dim_item values (1, 'Samsung 42 LED Television', 'Sam 42 LED', 'Electronic', 'Television', 'Samsung');
insert into dim_item values (2, 'Samsung 530L Double Door Refrigerator', 'Sam 530L DD Ref', 'Electronic', 'Refrigerator', 'Samsung');
insert into dim_item values (3, 'Samsung 32 LED Television', 'Sam 32 LED', 'Electronic', 'Television', 'Samsung');
insert into dim_item values (4, 'Samsung 57 LED Television', 'Sam 57 LED', 'Electronic', 'Television', 'Samsung');
insert into dim_item values (5, 'Samsung 75 LED Television', 'Sam 75 LED', 'Electronic', 'Television', 'Samsung');
insert into dim_item values (6, 'Sony 32 LCD Television', 'Sam 32 LCD', 'Electronic', 'Television', 'Sony');
insert into dim_item values (7, 'Sony 42 LCD Television', 'Sam 42 LCD', 'Electronic', 'Television', 'Sony');
insert into dim_item values (8, 'Samsung 175L Single Door Refrigerator', 'Sam 175L SD Ref', 'Electronic', 'Refrigerator', 'Samsung');
insert into dim_item values (9, 'Samsung 230L Double Door Refrigerator', 'Sam 230L DD Ref', 'Electronic', 'Refrigerator', 'Samsung');
insert into dim_item values (10, 'Samsung 230L Single Door Refrigerator', 'Sam 230L SD Ref', 'Electronic', 'Refrigerator', 'Samsung');
insert into dim_item values (11, 'Whirlpool 530L Double Door Refrigerator', 'WP 530L DD Ref', 'Electronic', 'Refrigerator', 'Whirlpool');
insert into dim_item values (12, 'Whirlpool 1110L Double Door Refrigerator', 'WP 1110L DD Ref', 'Electronic', 'Refrigerator', 'Whirlpool');
insert into dim_item values (13, 'Royal 3+2 Sofa Set', 'Ryl 3+2 sofa', 'Furniture', 'Sofa', 'Royal');
insert into dim_item values (14, 'Royal 4+4 Sofa Set', 'Ryl 4+4 sofa', 'Furniture', 'Sofa', 'Royal');
insert into dim_item values (15, 'TMT 3+2 Sofa Set', 'tmt 3+2 sofa', 'Furniture', 'Sofa', 'TMT');
insert into dim_item values (16, 'TMT 4+4 Sofa Set', 'tmt 4+4 sofa', 'Furniture', 'Sofa', 'TMT');
insert into dim_item values (17, 'TMT 4 Person Dinning Table', 'tmt 4P DT', 'Furniture', 'Dinning', 'TMT');
insert into dim_item values (18, 'TMT 10 Person Dinning Table', 'tmt 10P DT', 'Furniture', 'Dinning', 'TMT');
According to these data

Samsung has TV and fridge
Sony has only TV
Whirlpool's refrigerator only

I created the hierarchy in AWM

1. all items
2 article category
3 point mark
4. item type
5. name of article

When I keep my Dimension and display data, it displays as
  - All Items
    - Electronic
      - Samsung
      - Sony
        - Television
          - Samsung 42 LED Television
          - Samsung 32 LED Television
          - Samsung 57 LED Television
          - Samsung 75 LED Television
          - Sony 32 LCD Television
          - Sony 42 LCD Television
      - Whirlpool
        - Refrigerator
          - Samsung 530L Double Door Refrigerator
          - Samsung 175L Single Door Refrigerator
          - Samsung 230L Single Door Refrigerator
          - Samsung 230L Double Door Refrigerator
          - Whirlpool 530L Double Door Refrigerator
          - Whirlpool 1110L Double Door Refrigerator
    Furniture
Nothing is there under Samsung. But the result to expect is,.
  - All Items
    - Electronic
      - Samsung
        - Refrigerator
          - Samsung 530L Double Door Refrigerator
          - Samsung 175L Single Door Refrigerator
          - Samsung 230L Single Door Refrigerator
          - Samsung 230L Double Door Refrigerator
        - Television
          - Samsung 42 LED Television
          - Samsung 32 LED Television
          - Samsung 57 LED Television
          - Samsung 75 LED Television
      - Sony
        - Television
          - Sony 32 LCD Television
          - Sony 42 LCD Television
      - Whirlpool
        - Refrigerator
          - Whirlpool 530L Double Door Refrigerator
          - Whirlpool 1110L Double Door Refrigerator
    Furniture
When I change the hierarchy as

1. all items
2 article category
3. element type
4 point brand
5. name of article

AWM displays data such as,
  - All Items
    - Electronic
      - Television
        - Samsung
          - Samsung 42 LED Television
          - Samsung 32 LED Television
          - Samsung 57 LED Television
          - Samsung 75 LED Television
          - Samsung 530L Double Door Refrigerator
          - Samsung 175L Single Door Refrigerator
          - Samsung 230L Single Door Refrigerator
          - Samsung 230L Double Door Refrigerator
        - Sony
          - Sony 32 LCD Television
          - Sony 42 LCD Television
      - Refrigerator
        - Whirlpool
          - Whirlpool 530L Double Door Refrigerator
          - Whirlpool 1110L Double Door Refrigerator
    Furniture
But the result expected for this hierarchy is,.
  - All Items
    - Electronic
      - Television
        - Samsung
          - Samsung 42 LED Television
          - Samsung 32 LED Television
          - Samsung 57 LED Television
          - Samsung 75 LED Television
        - Sony
          - Sony 32 LCD Television
          - Sony 42 LCD Television
      - Refrigerator
        - Whirlpool
          - Whirlpool 530L Double Door Refrigerator
          - Whirlpool 1110L Double Door Refrigerator
        - Samsung
          - Samsung 530L Double Door Refrigerator
          - Samsung 175L Single Door Refrigerator
          - Samsung 230L Single Door Refrigerator
          - Samsung 230L Double Door Refrigerator
    Furniture
What exactly I'm missing here? Could someone please help me on this?

NOTE: The data I used here are just fake and learning goal

Thanks and greetings
M trehout

The problem is that the definition of parent is ambiguous to some of your members. A good example of this is the 'Refrigerator' Member, appearing under the Samsung and whirlpool in your data set. There will be only one member named refrigerator in the AW, and it can have only one parent. In practice, is to choose the Whirlpool code, but my guess is that the choice is arbitrary and you might get different answers every time.

The solution is to make the Member have unique names-'Refrigerator-Samsung' and 'Refrigerator Whirlpool' say. You can do it in the data set itself or in the map. Of the to in the mapping, you can map the level of "Item_Type" corresponding to an expression like that.

DIM_ITEM.ITEM_TYPE || '-' || DIM_ITEM.ITEM_BRAND

(Make sure you get the size before reloading with new data, since otherwise, the former members will remain).

Tags: Business Intelligence

Similar Questions

  • Z10 Z10 BlackBerry BlackBerry data are not compatible with the version of the software you are currently using

    Due to some problems with my BlackBerry Z10 I concerned with my service provider, after recommendation that I wiped my BlackBerry Z10, to update the OS security

    After all this. I am unable to restore completely, (Emails, Contacts, calendar and device settings cannot be restored)

    Link blackBerry screen: the data are not compatible with the version of the software that you are currently runnin

    Kindly guide me I'm too worried about my data, which is very important for me

    If you still get www.bberror.com//bb10-0015 and have not corrected:

    Read the troubleshooting tips for error Knowledge Base BB10-0015
    0015 - file unrecoverable system error has been detected.
    More information can be found here: http://support.blackberry.com/kb/articleDetail?ArticleNumber=000034545

    http://supportforums.BlackBerry.com/T5/BlackBerry-Z10/error-BB10-0015/m-p/2685103#M45693

    I recommend you use a charger automatic file to restore the operating system on your device:
    https://supportforums.BlackBerry.com/T5/BlackBerry-10-functions-and/upgrading-OS10-devices-using-aut...

  • Dates are not appearing in the column start and Finsh of MS Project 2010. They become W31/4, W31/5, etc. Instead of 7/31/20113. How can I fix it?

    Dates are not appearing in the column start and Finsh of MS Project 2010. They appear rather like W31/4, W31/5, etc. When it should be like this: 7/31/20113. How can I fix it? Note: Dates listed do appear correctly.

    Hello Charlie,.

    You are welcome. It is what we are trying to do... help people! Thanks for letting me know that the problem is solved. Don't forget to mark it as your response so that we can spread the knowledge more far.

    Kind regards

    BearPup

  • Data are not displayed with the new responsibility

    EBS 12.1.3
    DB 11.2.0.2
    Windows 2003 R2

    Hi all

    I created a new responsibility 'ORG IQAMA DETAILS' associated with the Application of "human resources." I added the "Define person Extra Info" function in the menu
    When I give emp # to find any employee, new form is opening that shows only one name that lack data "type and details."

    Complete data are with Manager of Saudi HRMS.

    Please I need your help on this issue.

    Thank you!!

    Best regards
    Syed

    Hi Syed,

    When you create a new EIT, you must also assign to your responsibility to see.

    Please check the Note-
    Oracle HRMS information Types (EIT): [ID 70122.1] General & technical information

    See you soon,.
    Vignesh

  • JS calculations are not filling in the fields, help!

    Hello

    I use Acrobat X Pro on Win7 to create a form to fill out (not livecycle).

    The link to my file = https://www.dropbox.com/s/ghbla7mmpvc74er/Adobe_Support.PDF

    I filled the column "December" for testing.

    Under the column 'Part', bpM.1 of bpM.8 domain names are not get filled.

    bpM.0 and bpM.9 have the same JavaScript (like bpM.1, bpM.2, bpM.8) in custom calculate script, and they work fine.

    If I check the code in the debugger, and press enter by selecting the script, then only, these fields (bpM.1) download populated (search results).

    Sub_Total and HST are calculated and display very well.

    My questions - wise priority - are:

    1. why these fields do not display the results of the calculations? How to fix the problem/bug/logic?

    2. what other programming logic can I use to improve performance and can be minimize calculations (javascript), called in when there is a change in all areas.

    3. is it possible to have such calculations on thousands of fields in a single PDF file? If this is not the case, what are the alternatives.

    Thank you

    Rizwan

    Instead of code like this:

    f = this.getField ("bpM.0");

    f.Value = (sum2 * this.getField ("craM") .value) / 100;

    It should be:

    Set the value of this field

    Event.Value = (sum2 * this.getField ("craM") .value) / 100;

  • Data are not engaging in the table

    Hi all

    I have a requirement in which I need to add the following in an existing page.

    There is a query with a simple search panel and tabel corresponding region on the page. My requirement is to add a new field in the search panel and
    in the table. I did it successfully. The table has an update icon in which you navigate to a page where you can go and update all fields. But what is happening is that all the data are correctly updated except for the newly added field. Value NULL is is filled in the table.

    In the existing page they use an entity object to insert/update in tabel.

    I followed the following steps:

    1 has created a new field in the research and the table Panel.
    2 aajoutee new attribute in EO and VO.
    3. has created a new field in the page updated and joint vo attribute to it.


    But the data are fill in the tabel except adding the newlt field.


    Please help me.

    Adam

    There is no option to synchronize if Jdev 10 G. He is smart enough to take care of this. But if you add a new attribute to your existing VO EO-based, you can deal with a bug that is mentioned in the link below.

    You need to modify the generated XML. So, please check this link.

    http://oracleanil.blogspot.com/2010/11/EO-based-vo-extension-in-OAF-R12.html

    I hope that helps!

    Thank you
    AJ

  • Site designed with muse, accommodation with bc. Contact form data are not distributed by the e-mail recipient.

    www.mommymilestones.com

    Help!

    Thank you!

    Hello

    I checked the details and it seems that you use different emails for notification.

    Can you please confirm if you do not receive one of them? Also check the junk/spam mail folder.

    Thank you

    Sanjit

  • Reference data are not available for the verification of prerequisites

    OS: Oracle Linux Server version 7.1

    Oracle Version: Release of 12 c 1

    VM: Oracle

    Problem: I am installing Oracle 12 c.  When I try to run ($. / runInstaller - executePrereqs) I get the following errors.

    Please advice.

    Thank you

    NKS.Screen Shot 2015-03-14 at 5.09.32 PM.png

    Screen Shot 2015-03-14 at 5.21.09 PM.png

    This seems to be a bug - see MOS Doc 1567127.1 pl

  • The logged data is not loaded in the target table in cdc-compatible?

    Hello

    I tried with cdc-simple concept on single table.

    I had loaded, journaled table (only changed records) inserted in the simple target in cdc table. Its working fine.

    When I work on cdc-consistent and logged data are not loaded in the target table

    For this, I used the data model, it has 3 data stores. log the without option of data, its works very well.

    When I am trying to load tables logged in the target table in interface, its running fine.

    To do this, I chose "logged data only.

    Although I have not changed the records in the target table. target table is empty after the executed insterface.

    err1.png

    err4.png

    err2.png

    err3.png

    I chose the real option of insertion in ikm. But the logged data that is not inserted in the target table.

    Please help me.

    Thankin advacnce,

    A.Kavya.

    Hello

    You must EXPAND WINDOW and LOCK SUBSCRIBERS before consuming the CDC data:

    http://docs.Oracle.com/CD/E14571_01/integrate.1111/e12643/data_capture.htm#ODIDG283

    Subsequently, you unlock Subscriber and purge the log.

    Better to put a package to automate the whole thing.

  • BlackBerry software blackberry 10 data is not compatible with the version of the software of the device you are currently using

    Hello

    My update of 10.3.1.1565 sali writing entry to the top on my phone.  so I tried the downgrade to 10.2.1 to do all my files are gone, however I thought I was smart by making this morning during the execution of 10.3.1.1565 a full backup before attempting the downgrade to os 10.2.1 through BlackBerry Link

    In any case I had to restore my device to 10.3.1.1565 and now when I try to do a restore by using the .bbb (backup) I created to present IE get the following error message:

    BlackBerry 10 data is not compatible with the version of the software of the device you are currently using

    versions of the software on my phone now and the version of the software when I did my backup are exactly the same 10.3.1.1565.  I am able to restore my user files and applications ect, because it proposes to make a partial restoration,., but my contacts and don't forget files are now gone.  I NEED THEM.  How can I get that back...

    Help, please...

    Thank you

    Hello

    I thought about it.  so I thought I'd post.  Apparently the BlackBerry pulled the 10.3.1.1565 update.  Anway don't know what happened over butI usng Shenshi and grabbing an update of another carrier, after that, so I'm now able to do a full restore using my old BBB file.

  • Generate data that are not available in the table

    I have a table that has monthly data for agents. Example of table structure is the following:

    create table agt_dum)

    agent_id number,

    number of months,

    Commission number)

    Examples of data include:

    AGENT_ID MONTHS COUNCIL

    1150
    12100
    1625
    2110
    2220

    Month value can be from 1 to 12.

    So as you can see these data is missing for the agents a few months.

    Here, the requirement is I need to generate data for each agent for 12 months. If the data is not already in the table and are should include agent_id, month number and commission is equal to zero.

    The output for the above data would be:

    AGENT_ID MONTHS COUNCIL

    1150
    12100
    130
    140
    150
    1625
    170
    180
    190
    1100
    1110
    1120
    2110
    2220
    230
    240
    250
    260
    270
    280
    290
    2100
    2110
    2120

    I tried SQL query with full outer join. I was able to generate data for columns of MONTHS and the COMMISSION using the NVL function. But I have been unable to generate the AGENT_ID.

    Please share your suggestions.

    I'm using Oracle 11 g 2.

    Thank you

    Sudhanshu

    If you need something like:

    WITH agt_dum (agent_id, MONTH, commission)

    (SELECT 1, 1, 50 IN all double union)

    Select 1, 2, 100 of all the double union

    Select 1, 6, 25 Union double all the

    Select double union all 2, 1, 10

    SELECT 2, 2, 20 DOUBLES)

    all_months as (select rownum as LUN double connect by rownum<=>

    SELECT *.

    To all_months:

    partition outer join agt_dum ad bequeathed (agent_id) on (ad.month = am.mon)

    /

    It is not yet complete, but I'm sure you can handle the rest...

    HTH

  • When using adjustment layers, I get the message "adobe could not rasterize because pixels for this layer data are not directly editable" what's the problem?

    When using adjustment layers, I get the message "adobe could not rasterize because pixels for this layer data are not directly editable" what's the problem?

    This happens because there is no mask on adjustment and you have selected the Brush tool. You cannot paint on an adjustment. If the masks are not be created by default when you create the adjustment and you want that they be created, select mask add default option in the context menu of adjustments of the

  • How to restrict the scope of the EU change when the input data are not available?

    Hi Experts,

    I have a user enter-able (EU) field in the Section. When the tag input XML contains data for this field, then the value must print in this area and it is not editable.
    If the input data are not available only that one time that the field of the EU must be editable.

    Any thoughts?

    I tried like below,

    Domain name creation: UE_CompName
    Length: 15
    Type: alphanumeric
    Rule: XDD
    Source name:! Transaction/Compname
    under PreEdit,.
    module: DALW32
    Procedure: procedure of desired
    Information: CALL ("UE_CHECK")

    like that, I've updated in the field properties.

    Content of UE_CHECK DAL below,

    CurrFieldName = Fieldname()
    CurrFieldData = @("CurrFieldName")

    IF CurrFieldData! = « »
    SetProtect ("CurrFieldName")
    END
    But it does not work... Pls help me to do this...

    I assume that the 'mapping' occurs during a batch operation (Gendata) through any rule the XDD defined for this field. In the batch, pre and Post Edit calculations do not. This feature is related to the WIP/entry. What you can do is to add a level section - PostImageDAL rule to call your script and protect your land once it was located batch of your operation.

    In FAP that contains that field, add the PostImageDAL rule in the property of the rules in the Section box. In the data box, do call your script.
    Your script is a bit wrong, it seems you were trying to get the 'current' domain name and then check the value of fields. Drop the part and simply name your field in the string in quotation marks in the @ () function and the SetProtect.

  • ORA-20001: APP-FND-02604: one or more of the following data are not valid

    Hello

    I use the fnd_user_pkg.addResp procedure to add the responsibility of self-service to a group of users with the script below:

    Start
    for e in loop (SELECT a domain NAME)
    -dbms_output.put_line (e.name); just to confirm the names are there
    fnd_user_pkg.addResp (e.name, 'BY', 'CBK_EMPLOYEE_DIRECT_ACCESS', 'STANDARD', 'CBK Employee Self Service', sysdate, null);
    end loop;
    end;
    */*


    eld table contains the names of users to add, in capital letters. When I try to run the script, it fails with the error:

    ERROR on line 1:
    ORA-20001: APP-FND-02604: one or more of the following data are not valid:
    APPLICATION_SHORT_NAME =, RESPONSIBILITY_KEY = CBK_EMPLOYEE_DIRECT_ACCESS,
    SECURITY_GROUP = STANDARD.
    ORA-06512: at the 'APPS '. APP_EXCEPTION", line 72
    ORA-06512: at the 'APPS '. FND_USER_PKG', line 2713
    ORA-06512: at line 4 level


    However when I run the procedure of inserting a single user at a time, it ends without error. A popular thought.

    Dula

    Hello

    User_id = this will come from the fnd_user table?

    Fix.

    responsibility_application_id and responsibility_id = this will be retrieved through a query joining the tables?

    You can find it in the FND_RESPONSIBILITY, FND_RESPONSIBILITY_TL tables... See the site for more details--> http://etrm.oracle.com eTRM

    Thank you
    Hussein

  • cannot copy pictures or my movie for flash player files more. Flash player is not filled to the top. Used last 3 weeks ago. You are using windows xp, media center edition 2005.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    cannot copy pictures or my movie for flash player files more. Flash drive
    is not filled to the top. Used last 3 weeks ago. Using windows xp, Media Center
    Edition 2005.

    ===================================
    Maybe there is a small slider that changes the drive to
    read-only?

    And... There may be a limit to the number of files that can
    Add in the root directory of the drive. This can be
    fixed by adding a few folders to sort the files.

    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

Maybe you are looking for

  • HP dv8: when I change the screen map black mother

    Hello, my pc model is hp dv8.it have a problem on the power button is not open.then I try to change again motherboard.but there a problem.it opens, but showing black commandes.sur not my motherboard is 573758 - 001.and now, I use 591382 - 001.i might

  • The minimum hardware required for Satellite L755 drivers

    The minimum required hardware drivers satellite L755 m1du stopped by installationSince the installation of all the drivers, my laptop is too heavy.And order of installation of the drivers do not know.

  • Vista - error code install Update 80246007

    I try to install update which have been downloading from windows update.  I once installation is complete a message appears Code 80246007 Windows Update encountered an unknown error Help, please

  • Wireless receiver 3.1 Desktop device driver

    Hi all You just bought a Microsoft Wireless Laser Desktop 3000.  I installed the software that came with it.  However, my Windows XP Pro SP3 computer not recognize the receiver.  He keeps trying to install a device driver.  I looked in Device Manager

  • Lost icons blackBerry smartphones

    I wanted to move the locking and silent icons on my screen.  I clicked on the Menu, then move.  Both icons have disappeared.  Where can I find the to put them on my screen? Bob