Dimension Design - Single Dimension with Multiple Hierarchies

Morning,
the purpose of this discussion is to understand how we should design a specific dimension with 3 levels and multiple hierarchies for optimal performance.
We have an institution dimension with the following characteristics:
Characteristics
Dimension: Institution
Levels:
1. Total Bank (TB) Level
2. Peer Group (PG) Level
3. Institution Level
Hierarchies:
1. Some of the hierarchies have 3 levels and others have only 2 levels (Skip Level)
2. ALL the hierarchies have a TB level and an Institution level
3. None of the hierarchies have the same leafs
4. Some of the hierarchies leafs can overlap
Design:
We are considering two approaches for the institution dimension levels:
a)
Levels:
Hierarchy 1 TB Level
Hierarchy 1 PG Level
Hierarchy 1 Inst Level
Hierarchy 2 TB Level
Hierarchy 2 Inst Level
Hierarchy 3 TB Level
Hierarchy 3 Inst Level
Note:
This approach is working and the resulting dimension and cubes are used by OBIEE, but some of the OBIEE analysis takes a long time (more than a minute) to return the results.
At this point, we are not sure whether this approach will result in an optimal design from a performance perspective and are looking at restructuring the dimension to represent only the three conceptual levels as indicated below.
b)
Levels:
1. Total Bank (TB) Level
2. Peer Group (PG) Level
3. Institution Level
The rest of the dimension i.e. hierarchies, attributes and mappings are defined in the same way.
The cube associated with this dimension have approximately 80 million records.
Please advise on any best practices or design considerations that we need to take into account.
Thanks

No, it is not possible to have multiple hiearchies in a PC logical dimension.
The concept of the Parent-Child (PC) hierarchy is completely different from the level-based hierarchy. Specifically the PC hierarchy expects a predefined / architected table with corresponding PC column/value structuring with or without attributes.
Short story even shorter it is not possible.
Longer...
In the RPD the BMM actually prevents you from adding a new logical level, child level, or parent level when you have selected that the logical dimension be a parent child logical dimension with Parent-Child hierarchy.
On another note...
Have you tried architecting/building your PC source table so that it represents the roll-up and bottom child-levels like you are seeking? That is, that same member in the child column more than once having a separate parent value. That should be doable.
That was a great question, please award points if this answered your question or it was helpful.
Cheers,
Christian
http://www.artofbi.com

Similar Messages

  • SSM7.5 - Dimension with Multiple Hierarchies

    Hi all,
    I'm facing here one problem in the SSM front-end when I'm trying to use one the possibilities that PAS database offers, in this case the use of a dimension with multiple hierarchies.
    As you can see in this image, the dimension is created in PAS and works without problems in the dataview.
    Hierarchy one:
    [http://img121.imageshack.us/img121/334/pas1y.jpg]
    Hierarchy two:
    [http://img831.imageshack.us/img831/2586/pas2.jpg]
    In the SSM front-end, when I try to use that dimension, by default appears the first hierarchy:
    [http://img826.imageshack.us/img826/4043/hier3.jpg]
    In the dimensional selector the dimension appears fine for the first hierarchy:
    [http://img30.imageshack.us/img30/3103/hier1.jpg]
    But when I select the second hierarchy...
    [http://img34.imageshack.us/img34/1722/hier2.jpg]
    The Internet Explorer crashes and close all the open windows. This happens in the scorecard and also in the reports.
    Is not possible to use dimensions with multiple hierarchies in SSM? Did anyone had this problem before?
    Thanks in advance
    Pedro
    Edited by: Pedro S. Costa on Sep 13, 2010 11:03 AM

    Hi Shashi,
    first of all, thanks for your answer.
    But I don't understand when you say that "we cannot have two hierarchies on the same dimensions"?!?!?
    I already have some years of experience with PAS database and it's not the first time I create a dimension with more than one hierarchy. I use also that in a productive system (before this SSM front-end) without problems. And in this latest version of PAS (version 7.5.6) it's still possible to use that feature. As you can see in my initial post, I put two screen shots of the dimension with two hierarchies in PAS dataview, and works fine, without problems in the drill-down/up.
    From PAS online help:
    HIERARCHY is a Dimension command that defines the members and levels that comprise a particular hierarchy level within a dimension. It also allows multiple consolidation structures that stem from a central root of inputs. Use hierarchies when the input members are consolidated into more than one output member. When a dimension has hierarchies, members can have more than one path for rolling up into output levels. If a dimension has only one hierarchy, no HIERARCHY statement is necessary.
    Based on this, I create my example of a dimension (named MULTI) with two hierarchies (REGION and TYPE). Maybe the name I use for the second hierarchy create some confusion to you, because of the TYPE dimension that can exist in SSM. I just hope the problem I'm having in the SSM front-end is not related with the name I used for the second hierarchy!!!!
    I will rename that and test again.
    Regards
    Pedro

  • Using HLEVEL Property with Multiple Hierarchies

    Hello,
    I am trying to use the HLEVEL property on a dimension to indent the rows different amounts. Easy stuff, except I'm doing a row expansion on hierarchy 3 (H3).  Using EVPRO(AppName, MemberID, "HLEVEL") always returns the HLEVEL from H1.  If you select the same member ID in the member selector under different hierarchies and click the Properties button you can see a different value for HLEVEL, but I can't figure out how to get that in a report using EVPRO.
    Is there a way to tell EVPRO specifically which hierarchy to use when returning the value for HLEVEL?
    Thanks!
    Paul Petersen
    Akili

    Mike,
    please check the answer in this other post:
    EVPRO with multiple hierarchies
    It's for the MS platform, but it's the same for Netweaver.
    EVPRO can only retrieve the HLEVEL for the first hierarchy. You need to maintain further custom properties if you want to get the level of a member within multiple hierarchies.
    Regards,
    Simmaco

  • ASO Time balancing with multiple hierarchies

    Hello,
    I have an Essbase 9.3 ASO cube with multiple hierarchies in the period dimension (set as type = Time), and I'm trying to set one of my Measures to Time Balance Last with SkipMissing.
    When I validate the outline, I get:
    "This prototype must have all its shared members as siblings of previous sibling."
    on all the leaf level members in my period dimension.
    any ideas?

    We are on Essbase 9.3.0.1 and also tried to use ASO Time balance functions in conjunction with multiple hierarchies enabled.
    I recommend you not to use the ASO time balance functions. We did and had to revert everything after complaints from our user base.
    If you still use it, please test cases where you retrieve TB Last as well as flow values together with ytd and periodic values.

  • Sharing iTunes on a single computer with multiple users

    Greetings,
    I have been troubleshooting a problem sharing iTunes on a single computer with multiple users that cropped up a few weeks ago and have not had very good luck.
    Several months ago I successfully set up my wife’s G4 Laptop (PowerPC processor) so that we could share iTunes on that computer. I had just gotten her an “My Book” external hard drive (Western Digital). The iTunes Library will go on this new unit because the internal drive was running out of room. I successfully set the privileges, moved the entire library onto a “Share” directory and everything worked fine.
    In this way, when I got a new CD I could add it to iTunes (under my login, administrator privileges) and she could access it (under her login) to listen to while working on the computer or using her iPod. This arrangement went well for quite awhile.
    About a month and a half ago, when I tried to launch iTunes from my login I received this message:
    “The iTunes Library file is locked, on a locked disk, or you do not have write permission for this file.”
    I think the permissions must have changed when there was an update because my wife is pretty careful about what she does on her computer. Updates were the only thing I could think of that had changed since I had set her computer up. I also noticed that some of the iTunes defaults were different from the last time I had used it to add a CD.
    So, I did some reading and went back through the motions of trying to set it up again. I re-formatted the My Book hard drive to Mac OS Extended (Journaled) added the files back to the external, reset permissions on the external hard drive. (Owners: System, Access: read and write - Group: wheel, Access: read and write – Others: read and write).
    When I now launch iTunes under my login I get this message:
    “The operation cannot be completed because you do not have sufficient privileges for some of the items.”
    What gives? I am the original owner and have always had top-level privileges.
    Can someone point me to any articles or clues as to how I need to set-up iTunes on a single computer to be shared by more than one user? Also, I am considering upgrading to the newer system in a few weeks, so if a solution for OS X 10.5 is available, that would work too.
    Tim

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

  • HT2688 Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared librar

    Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared library?

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

  • How to design a form with multiple lang(Arabic and Eng) in a page

    Hi All,
    Could you pls help me how to design a form with multiple languages. when I set the form proprties-->Form Locale as Arabic. English text is comming in reverse and when set the FormLocale as English, Arabic text is comming in revese.
    Pls help me how to design
    Thanks in advance.
    Regards,
    Jayakar

    I am not sure how you can have two different languages inside the same PDF.
    Alternatively, if you want to place only the static labels, you can convert all the static label in one language to images and set the form language setting to other. And place the images inside the form using Image field. For example, you can keep the form language as English and then convert all the arabic language labels/ Static text to images.
    Anotherway,
         Have same sections in both the languages and hide and unhide based on the user selection of the language..
         if your user chooses Arabic, then you can unhide the Arabic sections and change the form language properties programmatically..
    Thanks
    Srini

  • How to design a form with multiple lang(Arabic and Eng) in a pge

    Hi All,
    Could you pls help me how to design a form with multiple languages. when I set the form proprties-->Form Locale as Arabic. English text is comming in reverse and when set the FormLocale as English, Arabic text is comming in revese.
    Pls help me how to design
    Thanks in advance.
    Regards,
    Jayakar

    I am not sure how you can have two different languages inside the same PDF.
    Alternatively, if you want to place only the static labels, you can convert all the static label in one language to images and set the form language setting to other. And place the images inside the form using Image field. For example, you can keep the form language as English and then convert all the arabic language labels/ Static text to images.
    Anotherway,
         Have same sections in both the languages and hide and unhide based on the user selection of the language..
         if your user chooses Arabic, then you can unhide the Arabic sections and change the form language properties programmatically..
    Thanks
    Srini

  • Using HLEVEL with multiple hierarchies

    Hi all,
    Is there a way to pass a parameter to the HLEVEL keyword to specifiy which hierarchy (Parent H1,H2, H3, etc.) to use when pulling the HLEVEL?
    We would like to use HLEVEL for report formatting however we need the ability to choose the hiearchy.
    Thanks!
    Mike

    Mike,
    please check the answer in this other post:
    EVPRO with multiple hierarchies
    It's for the MS platform, but it's the same for Netweaver.
    EVPRO can only retrieve the HLEVEL for the first hierarchy. You need to maintain further custom properties if you want to get the level of a member within multiple hierarchies.
    Regards,
    Simmaco

  • Will there performance improvement over separate tables vs single table with multiple partitions?

    Will there performance improvement over separate tables vs single table with multiple partitions? Is advisable to have separate tables than having a single big table with partitions? Can we expect same performance having single big table with partitions? What is the recommendation approach in HANA?

    Suren,
    first off a friendly reminder: SCN is a public forum and for you as an SAP employee there are multiple internal forums/communities/JAM groups available. You may want to consider this.
    Concerning your question:
    You didn't tell us what you want to do with your table or your set of tables.
    As tables are not only storage units but usually bear semantics - read: if data is stored in one table it means something else than the same data in a different table - partitioned tables cannot simply be substituted by multiple tables.
    Looked at it on a storage technology level, table partitions are practically the same as tables. Each partition has got its own delta store & can be loaded and displaced to/from memory independent from the others.
    Generally speaking there shouldn't be too many performance differences between a partitioned table and multiple tables.
    However, when dealing with partitioned tables, the additional step of determining the partition to work on is always required. If computing the result of the partitioning function takes a major share in your total runtime (which is unlikely) then partitioned tables could have a negative performance impact.
    Having said this: as with all performance related questions, to get a conclusive answer you need to measure the times required for both alternatives.
    - Lars

  • Single Element in Multiple hierarchies

    Hi ,
    Is it possible to have single element in multiple hierarchies in OBI EE .Lets say I have an prebuilt hierarchies
    Programs-->Campaigns and Offer--> Treatment?
    Can i create one more hierarchy Programs--> Campaigns --> Offer.It doesnot allow me to drag the offer_name to any other hierarchy since offer--> treatment hierarchy is present.
    Any pointers?
    Thanks & Regards,
    Gaurav

    Hi YSS,
    Thanks for yopur reply.
    The example which u sent to me is different to the requirement which iam looking for.Here is the more detailed abt my scenario.I have a cost element and under this cost element i have for example 4 hierarchies.under each hierarchy there are several sub nodes.in my query i want to disply like this.
    Hierarchy 1       Kf1 Kf2 Kf3
        sub node 1
          sub node 2
           Result
    Hierarchy 2
        sub node 1
          sub nde 2
           Result
    I hope now its more clear.please let me know if its possible and also can u explain how we can create Hierarchy variables to enable end user to select required hierarchies while running the query.
    Thanks,
    Vaka

  • How to compare single value with multiple values

    In my query I have something like this:
    A.SOR_CD=B.SOR_CODE where A and B are 2 different tables. This condition is in the where clause. The column in table A has single values but some values in table B have multiple comma separated values (822, 869, 811, ..).  I want to match this single
    value on the left side with each of the comma separated values. Please let me know how will I be able to do it. The number of comma separated values on the right side may vary.

    Hi MadRad123,
    According to your description, you want to compare single value with multiple values in your query. Right?
    In this scenario, the table B has comma separated values, however those comma separated values are concatenated into a string. So we can use charindex() function to return the index of the table A value. And use this index as condition in
    your where clause. See the sample below:
    CREATE TABLE #temp1(
    ID nvarchar(50),
    Name nvarchar(50))
    INSERT INTO #temp1 VALUES
    ('1','A'),
    ('2','A'),
    ('3','A'),
    ('4','A'),
    ('5','A')
    CREATE TABLE #temp2(
    ID nvarchar(50),
    Name nvarchar(50))
    INSERT INTO #temp2 VALUES
    ('1','a,A'),
    ('2','A,B'),
    ('3','c'),
    ('4','A,C'),
    ('5','d')
    select * from #temp1 a inner join #temp2 b on a.ID=b.ID
    where CHARINDEX(a.Name,b.Name)>0
    The result looks like below:
    Reference:
    CHARINDEX (Transact-SQL)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Restricting single PO with multiple plant

    Experts,
    Pl help me in restricting user from creating single PO with multiple plant. Is there any config available??? 
    I dnt want to go for any ABAP development.
    Thanks in Advance,
    Parag Mahajan

    Dear Parag,
    Querry :  Restricting a single P.O. with multiple plants:
    If you want to restrict a single Purchase order with multiple plants the reason may be that;
    Suppose your ordering material A for which you have three vendors in you SAP. But you are requiring this material in all your plants say example three plants.
    You can create Purchase order for same with vendor but due the huge requirement your vendor get overloaded.And your other capable vendors are not used at all.
    You can try out with quota arrangement for all vendors with which the quantity will be allocated to all the vendors depending on the quota rating.
    Also you can define lot sizing procedure for a your vendor in customizing and can avoid creating Purcahse order with multiple plants.
    Thanks ,
    Tushar Patankar

  • OBIEE Parent-Child Dimension with multiple hierarchies

    Is it possible to have in a parent-child dimension multiple hierarchies? I want to have the same botom childs to aggregate to different parrents. example.
    Account Dimension
    HR1-total
    HR1-parrent1
    CHILD1
    HR1-parrent2
    CHILD2
    HR2-total
    HR2-parrent1
    CHILD1
    CHILD2
    Thanks in advance.

    No, it is not possible to have multiple hiearchies in a PC logical dimension.
    The concept of the Parent-Child (PC) hierarchy is completely different from the level-based hierarchy. Specifically the PC hierarchy expects a predefined / architected table with corresponding PC column/value structuring with or without attributes.
    Short story even shorter it is not possible.
    Longer...
    In the RPD the BMM actually prevents you from adding a new logical level, child level, or parent level when you have selected that the logical dimension be a parent child logical dimension with Parent-Child hierarchy.
    On another note...
    Have you tried architecting/building your PC source table so that it represents the roll-up and bottom child-levels like you are seeking? That is, that same member in the child column more than once having a separate parent value. That should be doable.
    That was a great question, please award points if this answered your question or it was helpful.
    Cheers,
    Christian
    http://www.artofbi.com

  • Bug in Aggregate Persistence Wizard with multiple hierarchies

    Hi,
    Let's say you have a dimension with 2 hierarchies. In example:
    product -> subcategory -> category -> all products
    product -> subtype -> type -> all products
    Then you run the "Aggregate Persistence Wizard" and generate the code for 2 aggregations, one for each hierarchy.
    Then you execute the generated code wiithout errors.
    But no aggregate fact table is created, not inside the rpd, neither in the database.
    You only found the aggregated dimension tables (both in rpd and database), which btw generate consistency check errors due to the missing fact table.
    Workaround:
    The code generated by the Persistence Wizard contains a single "create aggregates" statement.
    Multiple aggregation are separated by commas inside the same statement.
    Instead create multiple "create aggregates" commands, one for each aggregation, each separated by a semicolon.
    OBIEE 11.1.1.5
    Hope it helps,
    Corrado

    Cosimo,
    If you've built your business model correctly with the complex joins and the dimensions relating to your fact, then the wizard will pick them up normally and will allow you to generate a script like this:
    prepare aggregates
    "ag_Fact_Budget"
    for "Core"."Fact - Budget"("Budget Amount")
    at levels ("Core"."Conformed Date"."Fiscal Year")
    using connection pool "Siebel Data Warehouse"."Data Warehouse Connection Pool"
    in "Siebel Data Warehouse"."Catalog";
    Check that your BM is consistent and sound (stars in physical and BM layer built right).
    Documentation-wise, refer to the Oracle Business Intelligence Server Administration Guide Version 10.1.3.2, page 189 f. or the Server Architect course, module 9 "Using Aggregates".

Maybe you are looking for