Parent Child Grandchild

Using the sample located @:
Spry
1.5 NestedXMLDataSet Sample
I've been having trouble getting the second level (grandchild
level) of nested xml to respond to events on the first nested
dataset (child level). Below are the 2 sample files which I cant
get working. Do I need to switch to a different approach? Maybe
master detail with <child> as master and <grandchild>
as detail. I'm stumped...
~~~~~~ Begin XML ~~~~~~~
<?xml version="1.0" encoding="UTF-8"?>
<parents>
<parent id="1">
<name>John Doe</name>
<children>
<child id="1">
<name>Ricky Dean</name>
<grandchildren>
<grandchild id="1">
<name>Evaline</name>
</grandchild>
</grandchildren>
</child>
<child id="2">
<name>Bill Bob</name>
<grandchildren>
<grandchild id="2">
<name>Billy Bob Jr</name>
</grandchild>
<grandchild id="3">
<name>Sally Sue</name>
</grandchild>
</grandchildren>
</child>
</children>
</parent>
<parent id="2">
<name>Jane Doe</name>
<children>
<child id="3">
<name>Fuzzy</name>
<grandchildren>
<grandchild id="1">
<name>Mary Dean</name>
</grandchild>
</grandchildren>
</child>
<child id="4">
<name>Buster</name>
<grandchildren>
<grandchild id="2">
<name>Buster Jr</name>
</grandchild>
<grandchild id="3">
<name>Mary May</name>
</grandchild>
</grandchildren>
</child>
</children>
</parent>
</parents>
~~~~~~ End XML ~~~~~~~~
~~~~~~ Begin HTML ~~~~~~~
<html xmlns:spry="
http://ns.adobe.com/spry">
<head>
<title>XML</title>
<script src="SpryAssets/xpath.js"
type="text/javascript"></script>
<script src="SpryAssets/SpryData.js"
type="text/javascript"></script>
<script src="SpryAssets/SpryNestedXMLDataSet.js"
type="text/javascript"></script>
<script type="text/javascript">
<!--
var dsParent = new Spry.Data.XMLDataSet("family.xml",
"parents/parent");
var dsChild = new Spry.Data.NestedXMLDataSet(dsParent,
"children/child");
var dsGrandChild = new Spry.Data.NestedXMLDataSet(dsChild,
"grandchildren/grandchild");
//-->
</script>
</head>
<body>
<div spry:region="dsParent dsChild dsGrandChild">
<table>
<tr>
<th>Parent</th>
<th>Child</th>
<th>Grandchild</th>
</tr>
<tr>
<td>
<ul spry:repeatchildren="dsParent" spry:choose="">
<li spry:when="{ds_CurrentRowNumber} == {ds_RowNumber}"
spry:setrow="dsParent" spry:select="select" spry:hover="hover"
spry:selected="">{dsParent::name}</li>
<li spry:default="" spry:setrow="dsParent"
spry:select="select"
spry:hover="hover">{dsParent::name}</li>
</ul>
</td>
<td >
<ul spry:repeatchildren="dsChild">
<li spry:when="{ds_CurrentRowNumber} == {ds_RowNumber}"
spry:setrow="dsChild" spry:select="select" spry:hover="hover"
spry:selected="">{dsChild::name}</li>
<li spry:default="" spry:setrow="dsChild"
spry:select="select"
spry:hover="hover">{dsChild::name}</li>
</ul>
</td>
<td>
<ul spry:repeatchildren="dsGrandChild">
<li>{dsGrandChild::name}</li>
</ul>
</td>
</tr>
</table>
</div>
</body>
</html>
~~~~~~ End HTML ~~~~~~~~

Hi Asa B,
You need to add spry:choose="" to <ul
spry:repeatchildren="dsChild"> so it looks like
<ul spry:repeatchildren="dsChild" spry:choose="">
Cheers,
nomadcanuck

Similar Messages

  • Parent-Child-Grandchild report

    Hi,
    I am trying to create a Parent-Child-Grandchild report, grouping on a value in the Child record set. The scenario that I have encountered is that there may be legitimate dupes in the child record set and if I put a grouping on the child record set the dupes seem to be getting de-duped and all the grandchild records displyed under the one child record. The outout looks like this:
    Ungrouped
    Parent record 1
    ----Child Record 1
    ------------Grandchild record 1
    ----Child Record 2
    ------------Grandchild record 2
    Grouped
    Parent record 1
    ----Child Record 1 - Grouped by Status
    ------------Grandchild record 1
    ------------Grandchild record 2
    Desired Output
    Parent record 1
    - Grouped by Status
    ----Child Record 1
    ------------Grandchild record 1
    ----Child Record 2
    ------------Grandchild record 2
    If I take the grouping off the child record set however, the dupes display and display their respective grandchild records. How can I get the cild recordset to group but to show the grandchild records properly?
    Thanks!

    Hi,
    I am trying to create a Parent-Child-Grandchild report, grouping on a value in the Child record set. The scenario that I have encountered is that there may be legitimate dupes in the child record set and if I put a grouping on the child record set the dupes seem to be getting de-duped and all the grandchild records displyed under the one child record. The outout looks like this:
    Ungrouped
    Parent record 1
    ----Child Record 1
    ------------Grandchild record 1
    ----Child Record 2
    ------------Grandchild record 2
    Grouped
    Parent record 1
    ----Child Record 1 - Grouped by Status
    ------------Grandchild record 1
    ------------Grandchild record 2
    Desired Output
    Parent record 1
    - Grouped by Status
    ----Child Record 1
    ------------Grandchild record 1
    ----Child Record 2
    ------------Grandchild record 2
    If I take the grouping off the child record set however, the dupes display and display their respective grandchild records. How can I get the cild recordset to group but to show the grandchild records properly?
    Thanks!

  • How do i create a parent-child-grandchild form?

    the application module wizard seems intent on creating 2 separate parent child relationships. what am i missing?

    Data Control Palette displays exactly the same structure as view objects in your application module have. Return back to model and edit application module content.
    Is your structure similar? :
    Left side:
    - parent
    - - - child
    - child
    - - - grandchild <-- click this
    Right side:
    - parent
    - - - child <-- the click this and press arrow
    - child1
    - - - grandchild
    Rado

  • Horizontal display of parent/child/grandchild on the template troubles

    Hello,
    I am trying to display horizontally the Child/Grandchild records on my template. I can see the Child/Grandchild records but not the Parent. I'm sure it's an easy fix but it eludes me.
    I can send the .rtf template and .xml file to anyone who would like to enlighten me.
    Thanks.

    Ok. I got the fix back. Thank you.
    Looks like the change was that I had the ForEach based on the lines, at the line level, but it should have been on the header level.
    Thanks again.
    Kkerig

  • Parent/Child/Grandchild ViewLink

    Hello,
    I have a viewobject which is constructed as follows:
    1. ParentViewObject
    2. ChildViewObject via ParentChildViewLink
    3. GrandChildViewObject via ChildGrandChildViewLink
    When going from the parent to the child, the viewobject works as expected.
    When going from the child to the grandchild, no rows are found.
    My belief is I am having a syntax error. If I run the test on the appmodule, the viewobjects work as expected.
    Question: Where can I find information on how to correctly access the child/grandchild view.
    Tks
    Booker Northington II

    The uix file is being called as follows:
    <ctrl:go name="PageName" redirect="true">
    <ctrl:property name="key" >
    <ctrl:selection name="viewTable" key="key" />
    </ctrl:property>
    </ctrl:go>
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:epicTemplate="http://net.btcg.epic/templates">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="/template/templateLibrary.uit"/>
    </templates>
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="EpicAppModule"
    definition="epic_bc4j_package.Epic_bc4j_packageModule"
    releaseMode="stateful">
    <bc4j:viewObjectDef name="ClinFunding_View1" rangeSize="3"/>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <content>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <catch>
    <displayException/>
    </catch>
    <contents>
    <document>
    <metaContainer>
    <head title="Clin Funding">
    <contents>
    <epicTemplate:epicScrollBarTemplate/>
    <include ctrl:node="/includes/epicScrollBarInclude"/>
    </contents>
    </head>
    </metaContainer>
    <pageLayout xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    title="ClinToClinFundingLink1 View">
    <corporateBranding xmlns="http://xmlns.oracle.com/uix/ui">
    <epicTemplate:epicCorporateBrandingTemplate/>
    </corporateBranding>
    <globalButtons xmlns="http://xmlns.oracle.com/uix/ui">
    <epicTemplate:epicButtonBarTemplate/>
    </globalButtons>
    <pageHeader xmlns="http://xmlns.oracle.com/uix/ui">
    <epicTemplate:epicClinMenuBarTemplate selectedTab="1"/>
    </pageHeader>
    <start xmlns="http://xmlns.oracle.com/uix/ui">
    <epicTemplate:epicSideNavTemplate/>
    </start>
    <tabs xmlns="http://xmlns.oracle.com/uix/ui">
    <epicTemplate:epicTabBarTemplate selectedTab="2"/>
    </tabs>
    <contents>
    <messageBox automatic="true"/>
    <bc4j:rootAppModuleScope name="EpicAppModule">
    <contents>
    <header text="Search">
    <contents>
    <form name="search" method="POST">
    <contents>
    <inlineMessage prompt="Search" vAlign="middle">
    <contents>
    <bc4j:viewObjectScope name="ClinFunding_View1">
    <contents>
    <flowLayout>
    <contents>
    <choice name="attrName"
    data:selectedValue="attrName@ctrl:page"
    shortDesc="Search Column">
    <contents>
    <bc4j:region automatic="true">
    <bc4j:attrStamp>
    <option>
    <boundAttribute name="text">
    <bc4j:attrDefProperty name="name"/>
    </boundAttribute>
    <boundAttribute name="value">
    <bc4j:attrDefProperty name="name"/>
    </boundAttribute>
    </option>
    </bc4j:attrStamp>
    </bc4j:region>
    </contents>
    </choice>
    <textInput name="attrValue" columns="20"
    data:text="attrValue@ctrl:page"
    shortDesc="Search"/>
    </contents>
    </flowLayout>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    <end>
    <submitButton text="Go" ctrl:event="search"/>
    </end>
    </inlineMessage>
    </contents>
    </form>
    </contents>
    </header>
    <header text="Results">
    <contents>
    <form name="viewForm" method="POST">
    <contents>
    <bc4j:viewObjectScope name="ClinFunding_View1">
    <contents>
    <bc4j:table name="viewTable" automatic="true"
    width="80%"
    alternateText="No rows found">
    <tableSelection>
    <singleSelection selectedIndex="0"
    shortDesc="Select Row">
    <contents>
    <submitButton text="Update"
    ctrl:event="update"/>
    <submitButton text="Delete"
    ctrl:event="delete"/>
    </contents>
    </singleSelection>
    </tableSelection>
    <bc4j:keyStamp>
    <bc4j:rowKey name="key"/>
    </bc4j:keyStamp>
    <bc4j:columnStamp>
    <bc4j:column>
    <columnHeader>
    <bc4j:sortableHeader/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    </bc4j:columnStamp>
    </bc4j:table>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </form>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    <contentFooter>
    <button text="Create" ctrl:event="create"/>
    </contentFooter>
    </pageLayout>
    </document>
    </contents>
    </try>
    </content>
    <handlers>
    <event name="search">
    <bc4j:findRootAppModule name="EpicAppModule">
    <bc4j:findViewObject name="ClinFunding_View1">
    <bc4j:findByExample>
    <bc4j:exampleRow ignoreCase="true">
    <bc4j:exampleAttribute>
    <bc4j:nameBinding>
    <bc4j:parameter name="attrName"/>
    </bc4j:nameBinding>
    <bc4j:valueBinding>
    <bc4j:parameter name="attrValue"/>
    </bc4j:valueBinding>
    </bc4j:exampleAttribute>
    </bc4j:exampleRow>
    </bc4j:findByExample>
    <bc4j:executeQuery/>
    <bc4j:setPageProperty name="attrName">
    <bc4j:parameter name="attrName"/>
    </bc4j:setPageProperty>
    <bc4j:setPageProperty name="attrValue">
    <bc4j:parameter name="attrValue"/>
    </bc4j:setPageProperty>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="sort" source="viewTable">
    <bc4j:findRootAppModule name="EpicAppModule">
    <bc4j:findViewObject name="ClinFunding_View1">
    <bc4j:sort/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="goto" source="viewTable">
    <bc4j:findRootAppModule name="EpicAppModule">
    <bc4j:findViewObject name="ClinFunding_View1">
    <bc4j:goto/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="create">
    <ctrl:go name="PrClinLink1_ClinToClinFundingLink1_Create" redirect="true"/>
    </event>
    <event name="update">
    <ctrl:go name="PrClinLink1_ClinToClinFundingLink1_Update" redirect="true">
    <ctrl:property name="key">
    <ctrl:selection name="viewTable" key="key"/>
    </ctrl:property>
    </ctrl:go>
    </event>
    <event name="delete">
    <bc4j:findRootAppModule name="EpicAppModule">
    <bc4j:findViewObject name="ClinFunding_View1">
    <bc4j:findRowByKey>
    <bc4j:keyBinding>
    <bc4j:selectionKey name="viewTable" key="key"/>
    </bc4j:keyBinding>
    <bc4j:handlers>
    <bc4j:removeRow/>
    <bc4j:executeQuery/>
    </bc4j:handlers>
    </bc4j:findRowByKey>
    </bc4j:findViewObject>
    <bc4j:commit/>
    </bc4j:findRootAppModule>
    </event>
    </handlers>
    </page>

  • Parent/Child/Grandchild ViewObject/ViewLink

    I have a viewobject which is constructed as follows:
    1. ParentViewObject
    2. ChildViewObject via ParentChildViewLink
    3. GrandChildViewObject via ChildGrandChildViewLink
    When going from the parent to the child, the viewobject works as expected.
    When going from the child to the grandchild, no rows are found.
    My belief is I am having a syntax error. If I run the test on the appmodule, the viewobjects work as expected.
    Question: Where can I find information on how to correctly access the child/grandchild view.
    Tks
    Booker Northington II

    We are expecting the same challenge, did you ever receive any feedback or work around to resolving this?

  • How to create a parent-child-grandchild portal form: Help Urgently!

    Hi All,
    I have a master table and a detail table. I also have a detail table based on the first detail table. How do I create a master-detail-detail_detail portal form ? Is this possible? if not, is there any other way to do it ?
    Thanks.

    HI,
    This is not possible with Portal Forms. You can try using jsp to do this.
    Thanks,
    Sharmila

  • Siebel BIP Integration Objec for Parent, Child and Grand Child

    Hi,
    I 'm trying to create a one report for displaying Parent, Child and Grand Child.
    Service Request
    - Quote
    - Quote Item.
    Successfully create the BIP Integration object and generated the xml file. problem here is when trying to include the fields in BIP desktop word, not able to see the grand child fields, could see only the parent and child fileds and for grand child only 'ListOfQuoteItem' text.
    Could some one please let me know the reason for this behavoir and wherther BIP supports 3 levels.
    Is there any Out of Box Siebel report showing parent, child and grandchild.
    Thanks,
    Ravi kanth

    One Siebel Adapter Upsert operation should be sufficient to insert the parent and child. In the Integration object definition, you define the Template child instances with the Parent of Template. i.e
    You define Template first as an Integration Component and then define
    Template child instances to have a Parent as Template.
    Thanks
    Swarna

  • Query Help with Parent, Child, Child's Child

    Hi all,
    Need some help with a query.  I'm trying to create a stored procedure that is sort of like a Customer, Order, Order, Details.  In my situation the tables are different but nevertheless, I want to grab all the fields from the  Parent, Child,
    and Childs' Child, where the Parent.ParentID = @Parameter.  I tried this:
    CREATE PROCEDURE [dbo].[spGetCompleteProjectXML]
    @ProjectID int = 0
    AS
    SELECT *,
    (SELECT *,
    (SELECT *
    FROM PageControls
    WHERE (PageControls.ProjectPageID = ProjectPages.ProjectPageID))
    FROM ProjectPages
    WHERE (ProjectPages.ProjectID = @ProjectID))
    FROM Projects
    WHERE (ProjectID = @ProjectID)
    FOR XML AUTO, ELEMENTS
    RETURN 0
    I think I'm close, but it was my best effort.  Could someone help?
    thanks in advance

    Hi TPolo,
    Regarding your description, are you looking for a sample like below?
    CREATE TABLE customer(customerID INT, name VARCHAR(99))
    INSERT INTO customer VALUES(1,'Eric')
    INSERT INTO customer VALUES(2,'Nelson')
    CREATE TABLE orders(orderID INT,customerID INT)
    INSERT INTO orders VALUES(1,1);
    INSERT INTO orders VALUES(2,1)
    INSERT INTO orders VALUES(3,2)
    INSERT INTO orders VALUES(4,2)
    CREATE TABLE orderDetails(orderID INT,item VARCHAR(99))
    INSERT INTO orderDetails VALUES(1,'APPLE1')
    INSERT INTO orderDetails VALUES(1,'BANANA1')
    INSERT INTO orderDetails VALUES(2,'APPLE2')
    INSERT INTO orderDetails VALUES(2,'BANANA2')
    INSERT INTO orderDetails VALUES(3,'APPLE3')
    INSERT INTO orderDetails VALUES(3,'BANANA3')
    INSERT INTO orderDetails VALUES(4,'APPLE4')
    INSERT INTO orderDetails VALUES(4,'BANANA5')
    SELECT customer.customerID,customer.name,
    (SELECT orderId,
    SELECT item FROM orderDetails WHERE orderID=orders.orderID FOR XML AUTO,TYPE,ELEMENTS
    FROM orders Where customerID=customer.customerID FOR XML AUTO,TYPE,ELEMENTS)
    FROM customer WHERE customerID=1
    FOR XML AUTO,ELEMENTS
    DROP TABLE customer,orderDetails,orders
    If you have any feedback on our support, please click
    here.
    Eric Zhang
    TechNet Community Support

  • Problem with saving Parent - Child  View Objects in ADF 11g.

    Hi Every one,
    I have a requirment, something like I will be displaying some data on my jsff screen based on one Transient View Object. Whenever user clicks on Save button, I have to do following steps in my AMImpl.
    -> Preapre dynamically Parent View Object Rows based on some logic
    -> Prepare dynamically Child View object Rows and invoke insertRow method on respective child view object.
    When I say commit() First Parent ViewObject data need to be saved and then Child View object data has to be saved. I am having Parent - Child Key relation ship btw these two ViewObjects. Some how I am populating the Parent Primary key in the Child View Object. Please suggest me If there is any other alternative to this.
    Thanks

    I got the solution, Enabling the check box option for Master - Detail Entity association (CompositionAssociation -> Cascade Update Key Attributes) resolved the issue.
    Thanks

  • Does table STPOX contain parent-child relationship between components

    Hello
    I need to get a list of components of SO BOM.
    FM CS_BOM_EXPL_KND_V1 exports an output table STPOX.
    Does this table contain parent-child relationship between components? If yes , can somebody tell me which fields contain parent child id.
    thanks

    Hi,
    STPOX is not a table, it is a structure & hence there is no storing of data in a structure. The table which stores this info is STPO.
    To get the link you can refer to STPO-STLNR & pass this value to MAST-STLNR, this way you can link the child with its parent.
    Regards,
    Vivek

  • How to allow Sharepoint users to login from multiple parent-child accounts?

    Our client has mutliple AD domains and wants to allow people which have multiple AD accounts in multiple domains to login as THE SAME user:
    - only primary account will be visible in search
    - there will be only one user profile with all informations gathered from all sub accounts
    - permissions for the sub account will be in sync with parent account
    - task generated for parent will be visible for child accouns too etc
    - ad admin can link the account together in the Active Directory - this link is permament (even if we move users to another OU) and ad admin can define which account is primary and secondary (parent/child)
    How we can implement this in Sharepoint 2010 Std Server?

    Everything in SharePoint keys of the Security Identifier (SID) of a user.  Each user in a domain has a unique SID, so there is no way to have multiple users recognized in SharePoint as the same user.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Getting parent-child data from a single column in a table

    Hi,
    I have a parent-child data in a column.
    Eg:
    0
    00
    01
    010
    011
    1
    10
    11
    These values are present in the single column itself. My need is to get the parent values for the given child value.
    For eg: If I am giving the input as 011, the query should return all its parents, i.e. 01 and 0
    Could you please give me any inputs on this?
    Thanks,
    GV

    Frank Kulash wrote:
    Assuming that each child's id is formed by adding exactly one character to the end of its parent's id:
    SELECT     id
    FROM     table_x
    START WITH     id          = :target_id
    CONNECT BY     PRIOR id     LIKE id || '_';
    Small tweak to yours Frank if it's just the parents that need identifying...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select '0' as x from dual union all
      2             select '00' from dual union all
      3             select '01' from dual union all
      4             select '010' from dual union all
      5             select '011' from dual union all
      6             select '1' from dual union all
      7             select '10' from dual union all
      8             select '11' from dual)
      9  -- end of test data
    10  SELECT     x
    11  FROM       t, (select '&required' as req from dual) req
    12  WHERE x != req.req
    13  START WITH x = req.req
    14* CONNECT BY PRIOR x LIKE x || '_'
    SQL> /
    Enter value for required: 011
    old  11: FROM   t, (select '&required' as req from dual) req
    new  11: FROM   t, (select '011' as req from dual) req
    X
    01
    0
    SQL> /
    Enter value for required: 11
    old  11: FROM   t, (select '&required' as req from dual) req
    new  11: FROM   t, (select '11' as req from dual) req
    X
    1
    SQL>

  • No data for Parent-child hierarchy column in Pivot table view

    Hi all,
    I used OBIEE 11.1.1.6.2 Version.
    I drag one Parent-child hierarchy column and one measure and show result with a pivot table view.
    But when I click "+" icon to show detail level data,
    It messaged that: "*the layout of this view combined with the data,selections,drills,or prompt values chosen resulted in no data*."
    But it can show every-level data when I used table view.
    It was so strange..
    Did anybody meet this before?
    Thanks in advance.
    regards,
    Anne

    Hi,
    Yes, I have the same problem with pivot table for hierarchy dimension.
    If you use a normal table (not pivot) it seem to work. Unfortunatley with restrictions as normal table view have.
    Same problem still exist in 11.1.1.6.5
    I have logged a SR to Oracle about this.

  • Parent Child Hierarchy Issue in OBIEE 11g

    Hi All,
    I am in OBIEE 11G v6. I have a sales fact table where the grain is one sale. So I have one row for every sale done.
    Now I have a ragged employee hierarchy like this with David at the root node.
    David >>Richard>>Sean
    David >>James
    Also, I have a role dimension which gives me what role each employee has performed on a sale. Only one employee can be associated with one sale. This is the way Roles have been asssigned
    David = Manager
    Richard = Off1
    Sean = Off2
    James = Off2
    Both Sean and James can have same Roles. Now I have created a parent child hierarchy for my employee dimension and the closure table. Defined the member key, ancestor key relationship in the parent child setting etc.
    Now in the report when I pull the parent child hierarchy and the sales_amount in the report, it comes out perfect with all the ragged hierarchy resolved. But the issue comes when I try to limit the report on Role = Off2. It gives me an error saying " The layout of this view combined with the data, selection , drills resulted in no data. Undo drill and view prompt values". Basically what i want is to be able to select any role type and then my hierarchy should be adjusted to show me that data. Like when I select Off2, I want to see David at the Top level and Sean and James under him because they are both Off 2 and David is their manager.
    Is that possbile? Also, am I getting this error because when I select Off2 though it gets Sean and James but since David is not Off2, I don't get the data?
    I hope I was able to explain the issue, any help on this would be greatly appreciated.
    Thanks
    Ronny

    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 ?

Maybe you are looking for

  • Can you edit AVCHD footage from a DSLR in Final Cut Express?

    We're planning on using a DSLR that shoots AVCHD video as a B Camera on a shoot that will be edited in Final Cut Express for posting on You Tube. Will this work in Final Cut Express?

  • Insufficient memory error

    Hi, We have around 3850 items. while we tried to run the Inventory Audit Report, system throughs error like 'SAP Business One has run out of memory; It will be shut down automatically in order to prevent data inconsistencies. Anybody knows, Please gi

  • Hard drive replacement iMac 24" 2008, what to do next?

    I am new on here so sorry if I get this wrong... I am replacing the hard drive on my 24inch iMac, 2008 model. I have checked out the instructions on ifixit and all that seems ok. I have purchased a passport from Apple and partitioned it as suggested

  • Validity Sensors Fingerprint Reader Not Working

    Hello, I am running a Pavilion dv7-6c43cl, and I recently reinstalled Windows 8.1. The fingerprint reader is not working - I tried to configure it through PC Settings and the error was "An error occured processing your fingerprint". I installed drive

  • Connecting Wireless and Ethernet routers???

    I have a livebox and a Dynamode ADSL router. Is it possible to connect the two together, one for the ethernet machines and the Livebox for airport? Cheers