Parent Child Hierachy Revenue Rollup Issue
Hi All,
I have modeled my parent child hiearchy in such a way that revenue for each parent is equal to sum of his revenue and all his descendents. So If this my table
Empname|Revenue
David|100
James|25
Terry|30
this is what my hierachy shows
--David(155)
---James(25)
---Terry(30)
Now this is working perfectly fine and this is how users want it to be. To roll up the revenue for all the descendents uptil the top level.
The issue is, users also want to see what revenue David contributed. Because, as per the above example, when they try to add 25(James) + 30(Terry), it comes to 55 and the revenue contributed by David (100) becomes implicit and David straightaway shows 155. So they want to have a small pop up or any other column in the report which bifurcates David's revenue with others just to add more sense to David's revenue of 155.
Is there any workaround which could be done in the same report or do I have to create a separate detail report ?
Thanks,
Ronny
Thanks Dpka, I did exactly that, there is a small issue. Let's say my hierarchy is (I have just dded one more level under David). So James and Terry reports to Thomas and Thomans reports to David.
--David(165)
----Thomas(65)
------James(25)
------Terry(30)
David is the top level and Thomans the next level. Now when I click on David, it takes me to the target report and shows me the revenue as expected but when I click on either Thomas, James or Terry, it doesn't take me to the target report. At the bottom left it shows me an error. This is what the error is
Message: 'getLevelInfo(...)' is null or not an object
Line: 1
Char: 11142
Code: 0
URI: http://wmdwm100a.midlandls.int:7001/analytics/res/b_mozilla/answers/selectionsmodel.js
So It is working only for the top level managers whose doesn't have any anscestor. Any ideas why is tha so?
Thanks,
Ronny
Similar Messages
-
Parent Child Hierachy Drilldown (without including the hierachy column)
Hi
I have a hierarchy with categories/subcategories, which goes into a table like this:
Category Name Amount
Top cat1 23
Top cat2 5
I want to use the Category Name column to drill down to the sub categories, so that if I click "Top cat1", the table will look like this:
Category Name Amount
Sub cat1-1 23
Sop cat1-2 5
The "Drilldown" option for the actionlink in column interactions doesn't do anything for this hierarchy, and by trial and error we worked out that it only seem to work with level-based hierachies (but in a warped way. It adds an additional column for every level!).
Trying to use an actionlink doesn't work too, since there's no good way of passing the clicked category ID to set as the parent ID of the next page.
Using a GoLink URL did work, BUT navigating to a completely new page doesn't fit our requirements.
Is there a way for us to do this? Thanks!
Edited by: lum on 22-May-2012 23:48Thanks Dpka, I did exactly that, there is a small issue. Let's say my hierarchy is (I have just dded one more level under David). So James and Terry reports to Thomas and Thomans reports to David.
--David(165)
----Thomas(65)
------James(25)
------Terry(30)
David is the top level and Thomans the next level. Now when I click on David, it takes me to the target report and shows me the revenue as expected but when I click on either Thomas, James or Terry, it doesn't take me to the target report. At the bottom left it shows me an error. This is what the error is
Message: 'getLevelInfo(...)' is null or not an object
Line: 1
Char: 11142
Code: 0
URI: http://wmdwm100a.midlandls.int:7001/analytics/res/b_mozilla/answers/selectionsmodel.js
So It is working only for the top level managers whose doesn't have any anscestor. Any ideas why is tha so?
Thanks,
Ronny -
N Level Parent child hierachy (BO)
Hi Tammy ,
Thanks a lot for the valuable information that you have provided .
Can you please let me know whether we can handle N level hierarchy in 4.0 Universe in Member Ancester format . e.g
Member_key Ancenster_Key
1 3
2 3
3 5
4 5
5 6
6
When I drill in my report from 5 it will go to 3 and 4 . and when i drill from 3 in same report it will go to 1,2 .
Can we have have recursive query generatin with help of the hierachy ?
regards ,
JeevanThanks Dpka, I did exactly that, there is a small issue. Let's say my hierarchy is (I have just dded one more level under David). So James and Terry reports to Thomas and Thomans reports to David.
--David(165)
----Thomas(65)
------James(25)
------Terry(30)
David is the top level and Thomans the next level. Now when I click on David, it takes me to the target report and shows me the revenue as expected but when I click on either Thomas, James or Terry, it doesn't take me to the target report. At the bottom left it shows me an error. This is what the error is
Message: 'getLevelInfo(...)' is null or not an object
Line: 1
Char: 11142
Code: 0
URI: http://wmdwm100a.midlandls.int:7001/analytics/res/b_mozilla/answers/selectionsmodel.js
So It is working only for the top level managers whose doesn't have any anscestor. Any ideas why is tha so?
Thanks,
Ronny -
Hello,
I'm using the latest versions of AdobeCC and Indesign on the mac to generate fixed format ePub3 files.
I have an Indesign Book which is comprised of 9 documents (chapters). When I create a bookmark based Table Of Contents, I'm finding that I'm having trouble getting the 'parent' and 'child' hierarchy perfect. This is because some 'child' bookmarks need to be under the 'parent' of one document within my book, and yet I need to add the bookmark from a different document (or chapter).
In essence, I'm asking is there a way of having a 'child' bookmark in one document, nestled under a 'parent' on a different document within my InDesign book? All I seem to get are repeats of the 'parent' rather than it looking at all of the documents and synching them.
In the screenshot below (the larger circle), I have added sharks as a parent folder in one 'document/chapter', and then later on in the book (in a different document/chapter, another shark needs to be added to the list under the sharks parent, and yet it doesn't give me the option to add it as a Child to sharks. I created another sharks parent in this later document thinking I might be able to synch across all documents, but all it seems to do is create a duplicate.
Any help appreciated!
Thanks, JoeJust thought that a much better way of phrasing what I initially asked would be: Is there is a way to synchronize bookmarks across all documents in a book?
Thanks
Joe -
ForEach iterator in parent child relation
Hi,
How can i use forEach to iterate parent child view object. Issue it is only able to fetch value of parent vo not child view object values, if I use af:iterator instead of af:forEach it works perfectly. So there is no issue with data.
But I am not able to iterate child VO.
<af:forEach items="#{bindings.testVO.rangeSet}"
var="parent" varStatus="parentRow" >
<af:outputText value="#{parent.Name}"/> -- it works fine prints value
<af:forEach items="#{parentRow.childVO.rangeSet}"
var="child" varStatus="childRow" >
<af:outputText value="#{child.subject}"/> ---> It doesn't work
</af:forEach>
</af:forEach>
If i use iterator it works fine... But I have to use forEach to generate dynamic id for each component in forEach LoopI tried to use af:iterator first but the problem is it is not able to handle dynamic id generation for each component:
<af:iterator value="#{bindings.companyVO.collectionModel}"
var="company" varStatus="companyStatus"
rows="#{bindings.companyVO.rangeSize}">
<af:iterator value="#{company.employeeVO}"
var="employee" varStatus ="employeeStatus">
<af:outputLabel id="emp${companyStatus.index}${employeeStatus.index}" value="#{employeee.empId}"/> ->>> here id is always emp it is not able to get index value and if i used the same code in forLopp it works it is able to fetch dynamic id based on index like emp12 emp13 emp14 etc...
</af:iterator>
</af:iterator> -
Parent/Child Master Data Type
I recently created a new master data type in my model, which included one attribute with the 'parent' check box checked - to signify that it was to be used as the parent.
Upon activating the master data type - the system auto generated several other attributes within the master data type. My question is, what is the purpose of these additional attributes and how are they to be used?
Before Activation:
Attribute
Description
Notes
ID
ID
<< marked as key and as required
DESCR
Description
<< no special check boxes checked
PID
Parent ID
<< marked with parent check box
After activation:
Attribute
Description
Notes
ID
ID
<< marked as key and as required
DESCR
Description
<< no special check boxes checked
PID
Parent ID
<< marked with parent check box
IDA
Ancestor: ID
<< auto added after activation
IDL
Level: ID
<< auto added after activation
IDLA
Ancestor: Level: ID
<< auto added after activation
IDPTH
Path: ID
<< auto added after activation
IDPTHA
Ancestor: Path: ID
<< auto added after activation
DEACRA
Ancestor: Description
<< auto added after activation
PIDA
Ancestor: Parent ID
<< auto added after activationhttps://share.sap.com/a:r2l29c/MyAttachments/38b00c31-a7f4-404c-8247-1a99ef4b0509/
Hey JJ,
The purpose of these attributes is for parent-child hierachy relationship.
In addition to above mentioned attributes, you should also notice (via HANA studio), that another Planning object gets generated automatically. The new planning object should be the name of your parent-child object plus "_ANC" prefix at the end.
If you take a look at this planning object, you will notice that the object contains all the generated attributes (your attriubute plus "A" prefix at the end) in the definition.
Once you load data into your parent-child hiearchy object the "_ANC" object will automatically get populated with parent-child node relationship.
"A-prefix" attriubutes essentially represents the attributes of ancestor in this case.
In addition, in order to do Ancestor rolllup in your calculation you will also need to create an ancestor planning level which contains all the attriubutes of your base planning level as well as these "A-Prefix" attributes.
Please take a look at the document we created for "How to configure Parent-Child Hiearchy" from the share link
It has more detailed information.
Thanks.
Daniel. -
Do the custom rollup member formulas work recursively for parent child dimension?
Hi
We have custom rollup set up for Account dimension which is parent child.
It seems to work fine when the custom member formula refers to a base account member i.e. if the formula for MemberKey4 is (MemberKey1 + MemberKey2) then it shows the sum of the underlying members 1 and 2.
But if the formula for MemberKey10 is (MemberKey3 + MemberKey4) then it should evaluate the value for MemberKey4 first and then add to it value for MemberKey3 to come up with final number for MemberKey10.
Do the custom rollup work fine with the recursive calculations? Is this recursion limited to some level?
Thanks
ShaileshHi Jorg,
Thanks for your input.
Actually the hierarhcy is more determined by the parent child relationship. So we cannot move the members as per the formula. And further the formulas are not always additive, there are divisions and multiplactions happening also.
Further the calculated members (account members) are used in different places, the usage level of calculated members could be 3 in some cases i.e. MemberKey15 = (calculated using MemberKey10 = (calculated using MemberKey7 = (Calculated using MemberKey4 = (calculated using base members)))). Now inserting the base members in place of a calcuated member becomes more of string manipulation.
And on the top of above complexity, the formulas are not static and they are more user defined, they may change between time periods, which forces us to write a dynamic procedure to translate the 'business formula' into SSAS formula. We expect the custom rollup to work as expected (i.e. if the formula contains a calculation involving the calculated member, it should resolve that first and so on) and we have written generic procedure to replace the Account Code in the 'business formula' with the accont key value with the account hierarchy char string.
In the link http://doc.ddart.net/mssql/sql2000/html/olapdmad/agmdxadvanced_6jn7.htm for AS2000, it talks about the calculation pass deapth, it says:
.......If a cube has custom rollup formulas or custom rollup operators, a second calculation pass is performed to handle the computations needed to calculate these features.......
Now from the above, it is obvious that the OLAP engine will automatically go into recursion if the formula contains a cacluated member and it knows that the calculated member has to be resolved first before calculating the final formula result. The above article also talks about 'Calculation Pass Number' property in the AdvanceCube Editor (AS2000), which can be set to the value depending on the expected number of passes required in a given scenario. I don't find such an equivalent peoperty for SSAS 2005.
Would anybody please throw some more ideas / insights on this issue?
Jorg, thanks again for your input...
Shailesh -
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
RonnySo 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 ? -
Issue with Parent child dashboards using SWFLoader component
Hello Gurus,
I am using Parent-child dashboards approach in our project.
I have multiple child files embedded in Parent dashboard using the SWFLoader (directly passing the URL as SWFLoader value) to load child dashboards. All the child, parent swf's are saved in the same intranet folders.
When I open the parent SWF, everything loads fine in the intranet.
But for some users, when they open from the intranet, the child dashboard doesnt load up properly or size of the dashboard gets reduced to a small version. (Iam sure that it has nothing to do with the access/privileges)
Any thoughts/ideas what could be causing an issue with child dashboard/resizing of the child dashboard.
Please help!
regards,
S RCheck whether the machine has compatible flash version in error specific machine and your machine.
-
Issue to check in parent-child closure table attributes to OBIEE repository
I use OBIEE 11.1.1.5 Administration Tool to open repository in online mode and set up parent-child hierarchy. There are no issues but after I check in changes to server, close repository and open it back from server, closure table attributes are missing.
On the other hand when I save repository file locally, close it and then open offline, all mentioned attributes are there. Also all other modifications (except hierarchy) are properly checked in to remote repository.
When I compare UDML from remote and local copy of repository here is part missing in remote:
CLOSURE TABLE ATTRIBUTES( "xxx".."yy"."ORG_STRUCTURE_CLOSURE"."MEMBER_KEY",
"xxx".."yy"."ORG_STRUCTURE_CLOSURE"."ANCESTOR_KEY",
"xxx".."yy"."ORG_STRUCTURE_CLOSURE"."DISTANCE",
"xxx".."yy"."ORG_STRUCTURE_CLOSURE"."IS_LEAF")
When trying to build web report I get "[nQSError: 38107] Not all four columns are defined for closure table" (which is actually not surprising).
Unfortunately I need to do this change in online mode without restarting obiee services.
Any ideas how to force admin tool to check in all changes to remote repository?Finally I applied workaround:
- modified hierarchy in offline mode
- deployed repository
Now when importing repo in online mode closure table parameters are in place. -
Guys,
I have a parent-child hierarchy and users would select a randomn level from the prompt (Hierarchical column used in the prompt). So for the level selected I need to capture all the leaves and put a top n function on them.. Any ideas??
Things that i have tried are using Selection steps with hierarchical columns.
Step 1: Start with all Memebers
New step: Step 2 is Selected Members based on hierarchy relation Ship (Keep only members of leaves of hierarchy)
But the problem is I am not able to override the Step -2 with dashboard prompt. I was able to do only fior STEP -1
So any ideas??
If i can atleast capture all the leaves of selecte level from the prompt that would solve my problem to a large extent?/ Thought abt Hierarchical Navigation Functions but didnt succeed?? Any suggestions really appreciated
Thanks..
Prash
Edited by: Prash11 on Aug 6, 2012 11:14 AMI have got lot of hierarchies which are atleast 20 levels deep. So its not really feasible for me to create multiple views for multiple levels.
I tried to use hierarchical column functions and it works but not able to override the values from prompts in the selection steps. So still trying few things
Step 1: Start with All members (over ride with prompt checked)
Step 2: Select a level with in the hierarchy and Keep only leaves of the selected level
Step 3: Apply Condition do a TOP 10 and keep only that result set.
This works fine with out any issues from an ad-hoc stand point. Only problem there is no way for me to over ride the dashboard prompt value in Step - 2 as it expects me to select a value from the hierarchy. Any alternativeS? -
IPCC Parent Child Autoconfiguration Issue
IPCC Parent-Child Autoconfig Failure
We have a IPCC Parent Child implementation. It is working since last year.
It consist of one ICM Parent (7.2.7) and 13 child System IPCC (7.2.7)
We are trying to integrate another Child to the Parent. This new Child is a IPCC Enterprise 8.0(2)
The Child is configured with a System IPCC PG, in accordance with the document:
Cisco Contact Center Gateway Deployment Guide for Cisco Unified ICME/CCE/SCCE/CCX. Enterprise Release 8.0(1)
and Express Release 8.0(1) it is configured and we tested it and is working, it is ready to be integrated to the Parent.
For integration with this new Child we added in the Parent 2 new servers and the Enterprise PG is configured.
The pim for the Enterprise PG Gateway is Active.
On the Parent AW we can see that the Services are being replicated (CallTypes from the new Child)
Also we can see peripheral Monitors replicated on the PG Explorer (this is the device targets from the new Child)
The problem is that Skill Groups and Agents from the new Child are not being replicated to the Parent.
We double checked configurations. Reconfigured the whole Child IPCC but just CallTypes and Device targets are
being replicated, not the SkillGroups and Agents.
Someone has dealed with an issue like this???Hi,
Can you check AutoConfig log file on Enterprise GW for this new child.
It will show you why these skills and agents are not getting replicated to parent.
Cheers,
Vinod K -
Parent child relation in OBIEE -RPD Issue
Hi,
I created a star schema by taking two tables . Now i want to establish parent-child relation ship .
Now by clicking create logical dimension ----->Dimension with parent-child hierarchy ,the member key is not found.Pls correct me where i went wrong .
Thanks-BhaskarI know you said you have primary key defined already but just to make sure, can you follow these steps:
1) Double click on dimension table
2) go to tab 'Keys'. check if your primary key is defined there.
3) If not, in 'Key Name', type in the key name
4) select the primary key(column) in 'Columns'.
5) Click OK.
and then try to create hierarchy by following these steps:
1) Right Click on the dimension table
2) Create Logical Dimension -> Dimension with Parent-Child Hierarchy...
3) Click OK (if you are OK with default values) -
Rollup calculations in Account hierarchy (parent-child type)
Hi,
I want to create a parent-child relationship type Account hierarchy using Universe. The hierarchy has to support different set of calculations for roll ups action for different branches in the same level.
Eg.
Balance Sheet
(+)Assets
(-)Liabilities and Owners Equity
Net Income
(+)Operating Profit
(+)Other Income and Expenses
(-)Taxes
Balance Sheet = Assets -Liabilities and Owners Equity
Net Income = Operating Profit + Other Income and Expenses - Taxes
Regards, SujeevMeasures automatically roll up.
Whether you define your measure with an aggregate or not, if the projection is set to Sum, it will roll up.
Measures that are to be summed should have Sum() wrapped round them at the universe level though.
What you may have is a lot of positive values in your database and no negatives.
If that's the case, you will need to use a case statement to determine the sign of the value.
E.g.
Sum(CASE WHEN Type='Asset' THEN table.value WHEN Type='Liability' THEN -1*table.value ELSE 0 END) -
OBIEE 11g - Navigation in Parent Child Hiearchy not working
Hi All,
I have a employee parent child hierarchy and I want to show revenue for each employee in the report. I have modeled my revenue as a measure like case 4 shown in the following link
http://www.rittmanmead.com/2010/11/oracle-bi-ee-11g-parent-child-hierarchies-multiple-modeling-methods/
So for example this is my report ,
--David (30)
---Sandra (15)
-----Joe (10)
Joe'e revenue is 10, Sandra's is 5 (showing her 5 Joe's revenue) and David's is 5 (showing his 5 Sandra's revenue)
Issue :
Now what I want is to provide action link on the revenue column so that when user would click on revenue for any employee it would direct them to a detail report showing the bifurcation.
For ex, I want that when user click on 15 which is Sandra's revenue, he would be redirected to a detailed report for Sandra and similary for Joe and David
MY ISSUE IS that the navigation is NOT working for sandra and Joe. It is only working for David (who is the ancestor of sandra and Joe). When I click on 15 to see sandra's detail report, it doesn't do anything and in the bottom left corner of the browser status bar below I see an ERROR saying
(same for Joe but David work's fine)
Message: 'getLevelInfo(...)' is null or not an object
Line: 1
Char: 11142
Code: 0
URI: http://localhost:7001/analytics/res/b_mozilla/answers/selectionsmodel.js
Why is that happening? Is that because I have modeled the revenue as an measure and not attribute. Is navigation not possible in this case?
Anybody has any solution or workaround for this, it will be highly appreciated.
Thanks,
RonnyOk, so let me explain this in detail and give the structure of my tables and the data,
There are three tables.
1.Parent Child relationship table - pctable
2.Closure table which OBIEE creates through a script - reltable
3.Fact table which contains the revenue - facttable
This is the data
pctable
personid | managerid
David | NULL
Sandra| David
Joe|Sandra
reltable
memberkey | ancestorkey |distance |is_leaf
David|NULL|NULL|0
David|David|0|0
Sandra|Sandra|0|0
Joe|Joe|0|0
Sandra|David|1|0
Joe|Sandra|1|1
Joe|David|2|1
facttable
personid|revenue
David|5
Sandra|5
Joe|10
and my joins conditions are, I join pctable to reltable and then reltable is joined to facttable like this.
pctable.personid = reltable.ancestorkey
reltable.memberkey = facttable.personid
and then in the report, when I pull up the pchierarchy build from pctable and revenue , I get as below and like I said, when I click on Sandra to see the revenue she contributes, I am not able to navigate. Can you let me know what modifications needs to be done?
---David(20)
----Sandra(15)
------Joe(10)
Maybe you are looking for
-
How to throw Custom Error message in Portal
Hi Experts ! I am working on CRM 5.0 and using BADI CRM_ORDER_STATUS for LEAD transaction. This BADI is checking the userid when user is trying to change the status of a lead. if userid is not correct than it is throwing an Error Message in GUI but
-
Single invoice for multiple deliveries STO PO
Hi All, Need to create single invoice from multiple deliveries. These deliveries are created from STO PO and not from sales order... VF04 will not work.. Please let me know if there is any standard t. code for creation of single invoice out of multi
-
Hi, while trying to get a soapelement from xml file, i have the error : oracle.xml.parser.v2.XMLParseException: Start of root element expected the code i m using is as follow : public static SOAPMessage XMLDocToSOAP(String soapBodyAsString ) throws S
-
What do you do if you forgot the answers to your security questions
Please help me
-
Shud i make use of enhancement fwk here ?
hi, i have extended an idoc and i need to populate the extra segments before sending it out to EDI (outbound). typically we write this code in an user exit. any idea if i can make use of enhancement fwk in this situation ? if so how ? thks