Building hierarchy trees (ragged hierarchy) in OBIEE

We want to build a hierarchy tree to drill into the different levels of our organization. (ragged hierarchy) In OBIEE Answers or like product is there a way to expand down the page in a tree format? I am looking for what others have done to display that UI drill down similar to how the Windows registry/file system expands. Building filters across the page will not work for us. Any thoughts would be greatly appreciated. Thanks.
Edited by: jonloring on Jun 30, 2009 12:40 PM

I did read it and was helpful, but I am trying to solve a UI formating problem. All the BI products seem to go across the page with filtering, not down the page in a tree format.

Similar Messages

  • Issue with Presentation Hierarchy in obiee 11g

    Hi Guru's
    I am using a presentation hierarchy in obiee 11 g, but it is behaving weirdly when expanding the hierarchy
    for example i have a hierarchy for languages when i expand one country in the hierarchy all the countries which has similar childs are getting expanded
    for Example Parent A B C D
    under A i have 1, 2,3,4, under B i have 5,6,7,8 under C i have 9, 10 ,11, 12 under D i have 1, 13, 14, 15
    so when i expand A in answers D is also getting expanded as i have 1 as common value in both the parents.
    can some please help me how to fix this, as the user does not like this expansion
    Thanks in advance,

    That is strange... I downloaded the files from the left hand side of this page:
    [Sample Application site|http://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html]
    ... the title states quiite clearly that the Sample Application (Build 825) applies to OBIEE release 11g.
    Best regards
    Juan Algaba Colera

  • Parent Child Hierarchy in OBIEE 11G

    Hi All,
    I am working on the parent child hierarchy in OBIEE 11g Source ESSBASE ..followed some of the blogs.
    http://www.rittmanmead.com/2010/07/obiee-11gr1-enhancements-to-essbase-support/
    I followed the following steps.
    1.Imported the Cubes from ESSBASE.
    2.Selected Accounts Hirearchy and changed the Hierarchy type to Value.
    3.Dragged the subject area to BMM and to Presentation.
    4.Now when i checked the Account Hierarchy from in the dashboard its not drilling down.
    If i change the Hierarchy type to Unbalanced ...then the Account hiearchy is working fine.
    Is there is any settings or process i have to follow..inorder to implement the Value based Hierarchy in OBIEE 11G source ESSBASE.
    Thanks

    So basically this means that if I build a parent child hierarchy on table A having the stucture like
    --David (Manager)
    -----James (Off1)
    --------Bill (Off2)
    and in my sales fact table for let's say today, I have only rows for Bill (Off2) because he is the only officer who did the sales today. Now when I will join my fact table to parent child hierarchy table A I will NOT get any data ? because there is no James who is the parent of Bill. So obiee need to have parent pulled off in the data (ANCESTOR) to be able to roll up the child.(IS_LEAF = 1)
    I testes this and if my data only contains only rows for Bill (or I limit on ROLE = Off2) then it won't show the hierarchy. The query which OBIEE fires is to look for either ANCESTOR_KEY = NULL OR (DISTANCE = 1 AND ANCESTOR KEY IN (Bill). Therefore it doesn't I am wondering then what is the use of builiding the parent child hierarchy when we need to pull in all the ancestors (like in this case James for bill and David for james) because in real scenarios there can be cases wherein we would want to filter the data based on other dimensions to which the parent child hierarchy joins ?

  • How to update a parent child hierarchy in OBIEE

    Hello All
    Quick question about updating parent child hierarchy in OBIEE.
    As we know, OBIEE 11G allows us to create value based hierarchy by generating table creation script and insert script. In the typical example of employee dimension, the parent child relationship table will be created with the following 4 attributes:
    MEMBER_KEY, ANCESTOR_KEY, DISTANCE, IS_LEAF
    So, what if later in the years some of the employees got promoted, retired or transferred? The value based hierarchy is going to change because person 1 reports to manager 2 now instead of 1. Obviously, the records in employee dimension is going to be updated. When that happens, how to update the parent child relation table with the same information? Do we have to rerun the insert script? How do we keep the history of employee changes and hierarchy changes?
    Please advice
    Thank you

    I guess it will update when the structure changes,Let see the response from other gurus.
    Thanks,

  • Parent child Hierarchy in OBIEE 10G

    Hi,
    I want to implement the parent child hierarchy in OBIEE 10g where I need to show people working under manager directly and indirectly.
    Please let me know as users doesn't want to drill the report but by selecting the option from the drop down Direct/Indirect they should see the results.
    Thanks

    I guess it will update when the structure changes,Let see the response from other gurus.
    Thanks,

  • Build Hierarchy  with nodes with ABAP for custom Infoobject

    Hi,
    Need to build hierarchy with nodes with abap for custom infoobject.
    Thanks

    Hi,
    Using information from:
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm
    you can bulid flat file with hierarchy data and then load in into BW...
    Krzys

  • Help needed in building a tree without duplicatin​g the nodes

    Iam trying to construct a tree, ID name as the parent node and channel name & channel values as its corresponding child nodes.
    I had constructed the tree, but the problem i have is with interfacing that with in my  main program. In the main program say suppose I have 5 Id's, each Id has some X number of channel's. And each channel has a value.
    Each Id is indexed and passed to the for loop. And since this for loop is inside the while loop each ID will be executed for every 5 iterations.
    Id, channel names will be constant each time it gets executed, but the channel value's will be updated during run time.
    If I directly feed the Id, channel names and values, replacing the constants in the vi, the tree is duplicating the messages, each time a ID is received inside the for loop, it is creating a new parent and child nodes.
    Please help me in fixing this issue, and constructing the tree, where the ID and channel names are not not duplicated.For better understanding Iam attaching a snapshot shot, which tells at what point the ID, channel name array and value is received.
    Attachments:
    channel_info.vi ‏31 KB
    channel.png ‏60 KB

    Caleb Harris, the arbitration ID is not the same each time. Cluster has several different id's, this can be seen in the attached screen shot. Attached sreen shot shows the cluster information,  a sample ID unbundled from the array and the list of channels in that Arbitration ID. I got an idea how to construct the tree but for that,
    1)Need to store all this arbitartion Id's,channel's , and values in 3- different arrays (Channel array and the values array must have the same size).
    2)Channel array must be in synchronus with the Value array say like the first index value of the value_array  should represent the value of the first element of the channel    
       array, similarly the second index value of the value_array  should represent the value of the second element of the channel array and so on.
    3) When ever the channel value gets updated, that particular element of the value array should be updated.
    If I can do this 3- steps I think I can succesfully build a tree. Can you please take a look at the snapshot and help me out in doing this.
    Attachments:
    Cluster Image.PNG ‏67 KB

  • Problem in building swing tree

    I am trying to build a tree with the values obtained from the database.
    I have clearly explained the steps i have followed and the problem i am facing
    Please look at the below code, where i have given step by step explanation
    can any one help me i n solving my problem?
    //global variables
    String ioGlobalDesc = null;
    TransferObject transObj = null;
    ObjVO[] ioObjVO = null; //holds the values to build the intial tree
    ObjVO[] ioObjExpTree;//hold the child value of the every expansion
    pv.jfcx.PVNode root;
    1) I have a root node PVNode which inturn extends DefaultMutableTreeNode
    pv.jfcx.PVNode root;
    2) createIntialTree()
    This is the first method i call to obtain the values from the database .This method inturns
    call the setRootNode method to build my initial tree where i am passing the root and the ioObjVO[] which has the
    values obtained from the database
    /******************createInitial Tree starts here****************************/
    public void createIntialTree(TransferObject poTransferObject)
              Hashtable output = poTransferObject.getResponseData();
              ioObjVO = (ObjVO[]) output.get("ObjVO");
              setRootNodes(root,ioObjVO);
    3) After the setRootNode method is called from the createIntial tree,I am setting the values obtained
    from the database to the root node.Here i am using my own class called MyNode which extends the PVNode,
    This i am creating to set the desc and id for the particular node.
    If you see the setRootNode method, I have created a node called ioCategory where i am setting the id and
    description for the particular node. i have added ioCategory Node to the HashMap where desc is set as key and ioCategory itself is the value.
    Now ioCategory node is added to the root node.
    I am finiding the childcount for the obtained values from the database.while building the intial tree itself,if the child count is greater than zero,i am creating a subNode with empty values, this i am creating to denote that the particular node has the child.
    i am adding the subNode to the ioCategory.
    Now i am able to see the intial tree and also if node has childcount>0 then i am able to see the node handle.
    Now if i click any of the node which has the childcount>0,it has take the particular node id and fetch the relavant child values
    for the id i send,This is done when i expand my tree
    Now i have expanded a node Which has childcount>0 and retrieved the values from the database
    please see the treeExpand method,where the Expansion event is triggered and every expansion i am sending the
    id to the database.
    Here i have a global vairable called [ioGlobalDesc = e.getPath().getLastPathComponent().toString();]
    where i am holding the current event triggered.
    In the expandTree method , this is the method which is being called for every expansion i make ,
    Here i will be gettig the values for the node expansion.Now i am setting this value to the
    subnode where i am tryting identity the same parent to fix all the child to the same.
    for this i have stored my current expansion path and made that as node so that i can fix my childvalues to
    this.temp node should actually denote my ioCategory node for which i need to fix the child values.
    MyNode temp =(MyNode) loHashMap.get(ioGlobalDesc);
    I have another method called createnode to set my child values to the parentnode.Here i am passing the temp as the parameter
    which holds the current parent for which i have to fix the values that i have already obtained in the
    expandTree method.ioObjExpTree[] holds the childvalues for every expansion i make
    My problem is, i am unable to find the same parent for which expansion is made and unable to fix the child nodes.Is there any way to do this?
    How do i create both the parent and the child as a dynamic node?
    ie is the way i proceeded is right or wrong???????????? i am totally confused.
    can any one please help me in solving my problem??????????????
    Tell me where i have misunderstood???????????????.or my approach itself is wrong in creating the dynamic tree??
    if so how should i do it??????????????????????????????
    /****************************setRootNodes start*******************************/
    private void setRootNodes(pv.jfcx.PVNode root,ObjVO[] poObjVO) {
    int loCount=1;
    for (int i = 0; i < poObjVO.length; i++)
    if (poObjVO.getInHierarchyLevel() > 0)
    MyNode ioCategory = new MyNode(poObjVO[i].getIsHierarchyDesc(), poObjVO[i]. getIsObjID());
    loHashMap.put(poObjVO[i].getIsHierarchyDesc(),ioCategory);
    root.add(ioCategory);
    if (ioObjVO[i].inChildrenCount > 0)
    MyNode subNode = new MyNode("","");
    ioCategory.add(subNode);
    loCount++;
    /****************************treeExpanded*************************************/
    public void treeExpanded(TreeExpansionEvent e) {
    AssMO loAssMO = new AssMO();
    for (int i = 0; i < ioObjVO.length; i++)
    if (ioObjVO[i].inChildrenCount > 0 && ioObjVO[i].getIsHierarchyDesc().equals(e.getPath().getLastPathComponent().toString()))
    ioFirstHit++;
    ioGlobalDesc = e.getPath().getLastPathComponent().toString();
    e.getPath().getLastPathComponent().toString();
              loAssMO.setPID(ioObjVO[i].getPID());
         break;
    if(ioGlobalDesc!=null)
    // code goes here for sending the Id to the database which in turn calls my expandTree method which retrieves the
    /************************************expandTree Ends here**********************/
    public void expandTree(TransferObject poTransferObject) {
         Hashtable output = poTransferObject.getResponseData();
    ioObjVOExpTree = null;
         ioObjVOExpTree = (ObjVO[]) output.get("ExpandTree");
    MyNode temp =(MyNode) loHashMap.get(ioGlobalDesc);
    ioUCSLogger.debug("<--END OF EXPAND tree method-->");
    createNodes(temp);
    /************************************expandTree Ends here**********************/
    /****************************createNodes start*************************************/
    private void createNodes(MyNode poParent) {
    for(int x=0; x<ioObjVOExpTree.length; x++)
    MyNode iosubNode = new MyNode(ioObjVOExpTree[x].getIsHierarchyDesc(),ioObjVOExpTree[x].getIsObjID());
    loHashMap.put(ioObjVOExpTree[x].getIsHierarchyDesc(),iosubNode);
    poParent.add(iosubNode);
    iosubNode.setButton(1,false);

    Hi,
    I have used Tree Node type to get the nodes.
    The model that I use has the following structure:
    There is a top node called <b>Ot_Publ_Details</b>. It has 3 child nodes <b>RepObjects, Subagenobjects and Subscrobjects</b>. These child objects internally has two attributes each.
    The tree that i have created has Four Treenode types and 3 TreeItem types.
    I have bound the data source of the tree node to Ot_Publ_Details. The first TreeNode is also bound to Ot_Publ_Details. The second tree node is bound to the RepObejcts, the third node to the Subagenobjects and the fourth node to Subscrobjects. The 3 treeitem types are mapped to the corresponding child attributes.
    when i execute this application, I get a tree with the topnode taking the value from the first treenode while the other 3 nodes doesnt come as node. instead they come as leaf attributes and they display the values present in the attributes.
    Hope the model structure and the UI structure is clear.
    Regards,
    Chander

  • Building netui:tree from XML

              Hi,
              I am trying to build a Tree in Workshop 8.1 using netui:tree tag (for data in
              an XML file).
              The BEA docs say that we have to assign the TreeNode object to the 'tree' attribute
              in the netui:tree tag.
              What is the best way to translate the XML doc into a TreeNode object(s)?
              Thanks,
              Ajay
              

              "Ajay Oruganti" <[email protected]> wrote:
              >
              >Hi,
              >
              >I am trying to build a Tree in Workshop 8.1 using netui:tree tag (for
              >data in
              >an XML file).
              >
              >The BEA docs say that we have to assign the TreeNode object to the 'tree'
              >attribute
              >in the netui:tree tag.
              >
              >What is the best way to translate the XML doc into a TreeNode object(s)?
              >
              >
              >Thanks,
              >Ajay
              Did you resolve your problem?
              I have the similar one.
              So. I can draw my tree for my data, but if i receive second xml document with
              new data and try repaint the tree, i have the same tree, whitout changes.
              Can you help me?
              Best regards
              Hubert.
              

  • Building swing tree

    is it possible to build a tree with the tree coordinates
    i have a tree cordinates field and the description of the co-ordinate in my database
    tree-coord description
    1.1.2         AAA
    1.1.3         aaa
    2.1.2         VVV
    2.2.3         TTR
    I have build a tree according the co-ordinates.can any one give me a clue how to build tree with the given tree cordinates?
    is there any API for this?

    you can use swings to display data in a hierarchical manner. javax.swing.tree package would do that for you.

  • Build a tree with recursion

    I need to Create a tree and with recursion (not to use SAP FM)
    and i have a tree like the following
    assume i have a root like
    root is level  1 -> customer 
    child level 2 -> like contact person & address
    child level 3 like visiting hours (contact person ) & Email address (adress )
    e.g. of the table that i need to provide as output is
    item              parent_key   child_key         
    customer                 0001         
    contant person         0001         0002
    address                   0001         0002
    vist                        0002         0003
    email                      0002         0003
    etc...
    let say i get as input always the root and i check for his child and for this node i
    look for his child etc how can i provide a table like the above table
    Thanks and Regards
    James

    Hi,
    build your tree step-by-step:
    -root node is always shown -> initially add it to the node table of your alv-tree
    ->user expands root node
    ->event expand_no_children has to be handled
    ->check which node threw that event
    ->if root node, select all persons
    ->add the person nodes to your alv-tree node-list, as parent use the root node
    ->refresh alv tree
    ->user expands person-node
    ->event expand_no_children has to be handled
    ->check which node threw that event
    ->if person node, select all visiting hours
    ->add the visiting hour nodes to your alv-tree node-list, as parent use the person node
    ->refresh alv tree
    Greetings,
    dsp

  • Issue with Skip Level Hierarchy in OBIEE 11g

    Hi,
    I have implemented Ragged and Skip Level Hierarchy as explained in the links below in OBIEE 11g RPD.
    (checked the 'Ragged' and 'Skipped Levels' check boxes)
    http://www.rittmanmead.com/2010/07/obiee-11gr1-support-for-ragged-skip-level-value-based-hierarchies/
    http://docs.oracle.com/cd/E17904_01/bi.1111/e10540/dimensions.htm#BABFBBFG
    When the Presentation Hierarchy is dragged in the OBI Answers, the leaf level beyond the skip (null) levels is not shown in the report.
    When any level finds intermediate null values, OBIEE is failing to show the existing value of the leaf level (Most Granular Level) or any values after Skipped Levels.
    For example, following is the values in database for different levels of department hierarchy.
    A -> B -> C -> Null -> Null -> F
    The OBIEE Presentation Hierarchy can only drill down till C, not beyond that. (does not show the leaf level value 'F').
    Could you please suggest whether I am missing any step?
    Thanks.

    Hi, My problem is that in my report it is showing me that levels as -- A -> B -> C -> Null -> Null -> F, however I want to show data as A -> B -> C -> F, i.e the null valus(columns) should be skipped. Please help.
    Thanks and Regards,
    Deepak

  • Hierarchy in obiee 11g

    Hi All,
    we have a to create a hierarchy for the below type.
    H1-->H2-->H3-->H5
    -->H4
    H1
    |
    H2
    | |
    H3 H4
    |
    H5
    How to create this type of hierarchy..?
    When we click on H1, H2 will display, when we click on H2, H3 and H4 should display, then clicking on H3 should disply H5.
    Also how to restrict to either H3/H4 when we click on H2..???
    Thanks.

    Hi,
    you have to create ragged hyrearchy
    see this link fo rdetails
    http://sandybi.wordpress.com/2010/08/17/hierarchies-in-obiee-11g-part-1/
    http://sandybi.wordpress.com/2010/08/18/hierarchies-in-obiee-11g-part-2/

  • How to model multiple parent hierarchy in obiee

    hi,
    I have product hierarchy with multiple parents for a single level. and i want to display all the levels of hierarchy at a same time.
    Below mentioned is wht data i am getting from product table in OLTP
    current product diamension
    root1--level 1
    child product1--level 2
    child product2--level 3
    child product3 ----level 4
    and
    root2----level 1
    child product4----level 2
    child product2----level 3
    child product3 ----level 4
    If u see we have child product2 belongs to two diff hierarchies.
    My report req is i want to show all the levels of product in single row.Some thing like
    Mb no. level 1 level 2 level 3 level 4
    123 root1 CP1 Cp2 CP3
    123 root2 CP4 CP2 CP3
    How to model this scanario in OBIEE?

    H,
    Refer this
    http://oraclebizint.wordpress.com/2007/11/30/oracle-bi-ee-101332-one-dimension-multiple-hierarchies/
    http://www.rittmanmead.com/2010/11/oracle-bi-ee-11g-parent-child-hierarchies-multiple-modeling-methods/
    Thanks
    Deva

  • Creating Essbase measure hierarchy in OBIEE

    Hi All,
    I have imported Essbase cube(11.1.2) to OBIEE 11.1.1.7 .
    In RPD i have clicked on "convert measure dimension to flat measures" in physical layer.
    Now measures are showing up as
                                                  Meas1
                                                  Meas2
                                                  Meas3
                                                  Meas4
    But i want meas2,meas3,meas4 to be child of Meas1 and Meas1 is "level only" .                                                                                            
    How to achive this in obiee?
    Thanks,
    Gourab       

    Raj,
    I think we can't create Hierarchy for Measures ie for FACT table.
    Thanks,
    Balaa...

Maybe you are looking for