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:48
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
-
How do I delete part of a column without deleting the whole column
I'm trying to deleting certain cells within the same column but I don't know how without deleting the entire column. It sounds so simple but I'm sure I'm overlooking something. Thanks.
jackiego26 wrote:
Bummer! Thought there would be something similar to Excel.
Excel describes this in different terms, and the Excel user goes through a different set of steps, but the reality is that in Excel as in Numbers you are shifting content from one set of cells to another, not 'deleting cells'.
If you were actually 'deleting cells' from rows 2-11 of a column, then shifting all cells right of the deleted cells into the space left by the 'deleted' cells, one of the results would be that at the right edge of the table, rows 2 through 11 would end one column 'earlier' than the rest of the rows (from which 'cells' had NOT been deleted.
Excel: Select the cells whose content is to be replaced, tell Excel to 'delete cells'. Tell Excel which direction to move content to fill the cells. Excel moves that content into the emptied cells.
Numbers (method 1): Select the cells whose content is to be moved. Copy. Select the first cell that is to receive the content. Paste.
Numbers (method 1a): Select the cells whose content is to be moved. Drag the content to the first cell that is to receive the content. Drop.
Numbers (method 2): Select the cells whose content is to be moved. Press shift-command-X (or go Edit > Mark for Move. Select the first cell to receive the content. Press Shift-command-V (or go Edit > Move.
Regards,
Barry -
How can I delete a column of numbers that are referenced in another column without deleting the other column?
select the column to delect by click in the column header
select the contextual menu for that column by clicking (and holding) the down arrow:
select "Delete Column" to remove the column: -
Account parent/child - easy way to see the children?
We're making extensive use of Account parent/child relationships. When you are viewing an Account, it is very easy to see the parent Account. Navigating to the parent is very easy. Users are requesting an Account related list that shows the children Accounts and the ability to easily navigate to a child Account. Is this capability possible?
Regards,
JeffJeff, when you are in the detailed view of a parent account there is a subobject called "Sub Accounts" which show all the child accounts for that parent.
-
How to export war files without including the library files
Hi,
I have several portlets that share the same jar files. In my tomcat, I'd like to load those jar files from shared/lib when tomcat starts up. Currently, to accomplish this, I export the war file from jsc, deploy to tomcat, then manually delete the jar files from WEB-INF/lib.
Is there a way I can modify some property file so that my war file does not include the shared libraries?
Thanks,
MarcHi!
Rightclick project's root node in Projects window and select Properties. Then go to Build->Packaging and remove unnecessary libraries.
Thanks,
Roman. -
How to reordering a table without coloring the entire column ?
Hi,
When I click on a column header to re-order the table, the entire column is show in a differente color. Is there any way to avoid this behave ?
Thanks,
M�rcioJavadoc for IWDNode says:
public void clearSelection()
Clears the Node's multiple selection; does not change the lead selection.
public void setLeadSelection(int index)
Sets the lead selection to the given index. It may be called with NO_SELECTION to reset (clear) the lead selection.
Parameters:
index - the index of the element
Throws:
ContextException - if caller tries to reset the selection, but selection is mandatory
IndexOutOfBoundsException - if the given index is not within the element list
See Also:
getLeadSelection()
Armin -
Force a GROUP BY to a dimension without including the column in the SELECT
Post Author: ewagener
CA Forum: Desktop Intelligence Reporting
I have a SUM measure object in my universe that has a Select statement consisting of a COUNT(distinct([Some column on Fact Table])). I would like to force a join to a dimension table and subsequent GROUP BY statement for one column on the dimension table anytime that this measure object is used.
I know that I can force the join from the fact table to the dimension table by simply putting the join syntax in the WHERE clause of the measure object. Example
SELECT COUNT(distinct ([Some column on Fact Table]))
WHERE FACT.DIM_KEY = DIM.DIM_KEY
The SQL that BusObj generates is correct and a join is made whenever the object is used, even by itself. Now I want to force BO to include a GROUP BY clause for one of the columns that is on the dimension table, while not forcing the user to select that column in the report. The SQL that I would like BO to generate is:
SELECT COUNT(distinct ([Some column on Fact Table]))
WHERE FACT.DIM_KEY = DIM.DIM_KEY
GROUP BY DIM.FIELD_A
I know a u201Cwork aroundu201D is to just include FIELD_A in my report and then hide it or remove it from the results. This works because I have the appropriate join defined in my universe linking the fact table to the dimension table on the PK/FK relationship. My report writer user does not want to have to add the column then remove it from the report, however, even though it gives her the correct answer. She has asked if we could do all of that behind the scenes. I also know that the ultimate solution would be do declare another fact grain and either use a view or a new fact table altogether. It may come to that, however, I am looking for a quick solution to just force the object to do a GROUP BY to a field in a dimension not selected in the report.
Thanks,
EdPost Author: amr_foci
CA Forum: Desktop Intelligence Reporting
i think you have to revise the Structre Query Language of your DBMS
there is nothing called Group by without a dimension to group by it
good luck
Amr -
Send pages document as pdf attachment without including the whole document in the message
What I am trying to do is to write a document in pages then send it as a pdf attachment which shows as a mail icon in the mail message. One then clicks on the icon and the attached file opens. Seems I can do it if I send it as a word doc but every time I try and send it as a PDF the whole document shows up in the email body....
Is there something I am not doing?
Thanks
BryanHi Gee,
We also tried this:
Wrote document in Pages and used "export" to save it as a PDF document.
Fired up Mail, clicked on add attachment and as usual we got the document in the body
Highlighted the document and right clicked.
In drop down menu we selected "show as Icon" and it did just that
We then sent it to our Tablet where, believe it or not it came up as an attachment NOT in the body of the mail.
Just shaking our heads on this on but I do really think Jerry is absolutely right so will not take any more chances and add a second page if I have to send a pdf......
Bryan -
How can I build an app in workshop without including the built-in controls
I don't want the TimerControl, EventControl, MDBListener.
When I deploy it can't find SLSBContainerBean and I don't want to add it to the
classpath. I don't want any BEA stuff in my application.
Thanks!I dont want too, ¿what is the solution?
-
Hi, How do I get an average of a column without including the zeros ?
Im using Numbers and I want to get an average of the column but I can't seem to take the Zeros out of the equation.
Can someone please help?
Please.This example was strictly greater than zero. if you want non-zero values, then this may work for you:
=AVERAGEIF(A1:A8, "<>0") -
Navigation in Parent Child Hiearachy is a bug in OBIEE 11.1.1.6 ?
Hi All,
Please look into one of my earlier posts
OBIEE 11g - Navigation in Parent Child Hiearchy not working
One of my friends Ram told me that this is an Oracle Bug in 11.1.1.6. It's I just wanted to know if anybody has faced the same issue and reported this as a bug in Oracle. Unfortunately, i don't have the privileges to log a bug or see the bug information, can anybody please provide any information on this ?
Thanks,
RonnyHi,
Bug 14406555 : 11.1.1.6.2BP1 UPGRADE : ACTION LINK INTERACTION FAILS WITH GETLEVELINFO ERROR
FYI: MOS
What actually did happen?
After the upgrade, when they expand the parent-child hierarchy and click on the measure column to navigate through the Action Link, nothing happens and they see error in the IE browser at the bottom - Message: 'getLevelInfo(...)' is null or not an objectLine: 1Char: 11175Code: 0URI: http://nyfsqla105.ny.fw.gs.com:9704/analytics/res/b_mozilla/answers/selectionsmodel.js It does not show any error in FF but it does not do anything. Inspite of checking "Do not display in a popup if only one action link is available at runtime" for Action links, it does show pop up after the upgrade.
Thanks
Deva -
How to Get the Parent - Child Relationship
Hi ,
In my application having 100 tables with parent - child releation ship without using casecade constraints
i want to delete the parent with child and sub child records
Example
Table - 1
parent1
child 2
Table - 2
Child 1 - Parent 1
Parent 2
Table - 3
Child 1 - Parent 2
Parent 3
Table - 4
Child 1 - Parent 3
How to delete the parent table ? Is it any scripts available ?
Regards
Sudhakar P.Hi,
1) Firstly identify the parent tables using
SELECT a.table_name, 0
FROM user_tables a, user_tab_columns b
WHERE a.table_name = b.table_name
store these in one table say ID_table
2) Identify dependent tables and sore in table say table_dependency using
SELECT LEVEL, parenttable, parentcol, childtable, childcol
FROM (SELECT UNIQUE parenttable, parentcol, childtable,
b.column_name childcol
FROM (SELECT p.table_name parenttable,
k.column_name parentcol,
k.POSITION pos,
c.table_name childtable,
c.constraint_name CONSTRAINT
FROM all_constraints p,
all_constraints c,
all_cons_columns k
WHERE p.constraint_name =
c.r_constraint_name
AND c.r_constraint_name =
k.constraint_name
AND p.constraint_type IN ('P', 'U')
AND c.constraint_type = 'R'
AND p.table_name != c.table_name
ORDER BY p.table_name,
c.constraint_name,
k.POSITION) a,
all_cons_columns b
WHERE a.CONSTRAINT = b.constraint_name
AND a.pos = b.POSITION)
3)Now using these details find tables without cascade rule as below
SELECT *
FROM table_dependency
WHERE child_table IN (
SELECT DISTINCT table_name
FROM user_constraints
WHERE constraint_type = 'R'
AND delete_rule <> 'CASCADE'
AND table_name IN (SELECT child_table
FROM table_dependency)
AND r_constraint_name IN (
SELECT constraint_name
FROM user_constraints
WHERE table_name IN (
SELECT table_name
FROM id_table
UNION
SELECT child_table
FROM table_dependency))
AND table_name NOT IN (
SELECT table_name
FROM id_table)); -
Calculate measure in parent child hierarchy
Halo everyone
I have a requirement about parent child hierarchy namely:
1. see the following picture as a sample.
the situation I got here is every employee has its own measure (Sales Amount). when it rolls up to 'Employee1' so the Sales will calculate all measure (Employee1 and all the descendents) but when it drill down, 'Employee1' will ONLY show its own 'measure' (it does'nt calculate from its descendents).
Any suggestion, Any idea, Any sharing, Any inspiration would be appreciated. thanks alot.Hi Vin,
We can use Descendants() funcion, which returns the set of descendants of a member at a specified level or distance, optionally including or excluding descendants in other levels.
Please refer to the document below:
http://msdn.microsoft.com/en-us/library/ms146075.aspx
Regards,
Elvis Long
TechNet Community Support -
HELP: how to build a parent-child hierarchy
Hy everyone,
my question is very basic: i need to know what is the structure of the relational tables that OBIEE accepts upon which i can build a parent-child hierarchy. I have data that OBIEE does not accept, do you know where i can find a clear description of the structure of the tables that has to be builded for creating correctly a parent-child hierarchy?
Thanks anyone a lot,
RegardsI've found what i needed, for everyone else:
http://docs.oracle.com/cd/E21043_01/bi.1111/e10540/dimensions.htm#BGBGACFJ
The parent-child relationship table must include four columns, as follows:
•A column that identifies the member
•A column that identifies an ancestor of the member. Note: The ancestor may be the parent of the member, or a higher-level ancestor.
•A "distance" column that specifies the number of parent-child hierarchical levels from the member to the ancestor
•A "leaf" column that indicates if the member is a leaf member (1=Yes, 0=No)
The column names can be user defined. The data types of the columns must satisfy the following conditions:
•The member and ancestor identifier columns have the same data type as the associated columns in the logical table that contains the hierarchy members. Note that the example shown in Table 9-1 uses text strings for readability, but you normally use integer surrogate keys for member_key and ancestor_key, if they exist in the source dimension table.
•The "distance" and "leaf" columns are INTEGER columns.
Note the following about the rows in a parent-child relationship table:
•Each member must have a row pointing at itself, with distance zero.
•Each member must have a row pointing at each of its ancestors. For a root member, this is a termination row with null for the parent and distance values. -
Sub Total value is empty in parent child hierarchy pivot table
Hi All,
I am using obiee 11.1.1.6.2 in Test environment. Is it a known issue/bug for 11.1.1.6.2 to show empty/blank values for sub total when using parent child hierarchy pivot table. The sub total for parent value is showing but sub total for child value is coming blank. However, in 11.1.1.5.0, we do not have any issue with this.
Is it a known bug in obiee 11.1.1.6.2?
Thanks,
SushilYes it is a known bug...
Thanks.
Maybe you are looking for
-
SAP crypto Library for PI 7.1
Hi Experts, Could you please tell me, from where we can get SAP crypto Library and how to do the installation for PI 7.1? If already installed then where to check it? Please share your suggestions. Thanks & Regards Sara
-
Unsupported file error when uploading video file to iTunes U
I downloaded one of my video file and remove the track afterwards. However, when I trying to reload the video files back to the site again, I got "Unsupported File" error for some of them. My files are withing 50MB ~ 500 MB range, codec of H.264 and
-
Is it possible to stop broadcasting BTopenzone
Hi everyone so i got one of these old school hubs http://postimage.org/image/q3a36w14l/ And im broadcasting Btopenzone is there anyway to disable this. I had 30 people connect to me about a week ago all from Iphones shows up when i log into my Hub th
-
Windows Defender not working after upgrade to 9860
I get an error message after upgrading to the new build 9860.
-
I updated to the new ios 6 and lost all my contacts....Please help
I updated to the new ios 6 and lost all my contacts....Please help