Showing parent next to child in row heading

Hello -
I have a dimension in an ASO cube that has dozens of children for each of thousands of parents. I'm trying to write a Financial Reporting report that shows the level 0 members and displays their parent name next to them in the report rows (these parent names would be descriptors for the user's benefit - the data would still be level 0). I'm not able to find any variation of MemberProperty in a text column that can do this, nor any formula in the row heading. I'm considering redesigning the cube to put these children and parents into separate dimensions, but that seems counter-logical to me, since they're a perfect parent/child relationship. Can anyone suggest a way around this? Thank you very much for your time.
-Rob

Have you considered creating anothe alias table that concatenates the Parent and Child for the Alias.

Similar Messages

  • Hierarchy query showing  parent and their child records

    I'm a newbie on Oracle using Tora,
    I'm Trying to run a query that will show me a hierarchical view of parent and child records in a table.
    So far I"ve found a query format like this, but its not working
    SELECT employee_id, last_name, manager_id
    FROM employees
    CONNECT BY PRIOR employee_id = manager_id;
    but when running it with my tables and columns I get an error message
    saying something 'cannont run CONNECT BY in subquery'
    Any ideas?

    Thanks for all the help, I'm getting the error message
    'ORA-01473: cannot have subqueries in CONNECT BY clause'
    Here's my actual query
    select           resource_id, lname, org_id
    from           std_resource
    start with      resource_id = 413783
         connect by prior resource_id = org_id;
    I'm trying to display a hierarchical list of user resource_id's, last names, and org_id's from the std_resource table starting withe resource_id 413783

  • Validate Parent Entity Row when Child Entity Row got changed

    Guys,
    I want to Validate Parent Entity Row, when a child Entity Row got changed.
    How can i do it?

    As I said before, define an accessor from child to parent. now you are able to navigate from the child to the parent and can do the validation. Here are some links into the docs:
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcentities.htm#sm0133
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcrules.htm#CJADEHJD
    Timo

  • SSRS Table/Row Header does not repeat on every page when exported to PDF

    Hi, I have a SSRS Report in which the rows are grouped and the Tablix has a Table/Row header. I wanted the header to repeat on every page for a group because sometimes the data from the group would be more than one page.
                                   To achieve this
                                   - I went to Advance mode by clicking the arrow next to column group
                                   - Selected the Header Static column from Row Group
                                   - Changed the following properties
                                                    - KeepWithGroup: After
                                                    - RepeatOnNewPage:
    True
                                                    - The header columns
    are set to not grow.
    The problem only occurs when the nested grouped data in one of the columns goes over a page. The following pages don't have any header.
    So half of the time the header row repeats but when the nested grouped data extends over one page the header does not show. Problem only occurs when rendered to pdf.
    I found this line "Headings are repeated on each page only if there is sufficient room" in SQL 2008 version. But I could not find it in later versions of sql server. So does that mean it is fixed

    Hi Mumblesnz1,
    According to your description, you specify value of RepeatOnNewPage as True in the report. When exporting the report to PDF, one grouped data extend over one page, and tablix header display on first page, not repeat on following pages.
    As we tested in our environment(SQL Server 2008(SP3)-10.0.5520.0(X64)), it works as you required. We set KeepWithGroup as After and RepeatOnNewPage as True. After exporting to PDF, the grouped data display on two pages, and tablix header repeats on each
    page. Since we haven’t found any document mentioned this issue is fixed on which version, I suggest you try to install the service pack 3 for sql server 2008.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Hide parent group if child groups are hidden

    I have SSRS 2005 report.
    Report structure - To show a particular account transactions for every company.
    So user will select account then i have to show all transactions for that account for all companies.
    Parent group - Account
    Child group - Company
    Details section is like below,
    transactions id            transaction type          debit
              credit              difference
    In the groups visibility for compnay group (chile group) i have set condition if diff is zero then hide
    so its hiding child groups. but showing account i.e. parent group. 
    My Report looks like,
    Account : Acc001 (Parent group)
    Company - ABC     (child group)
    transactions id            transaction type          debit  
            credit          
    difference    
    t1                                   type 1                        4
    t2                                   type 2                                    
            4
    total by company            4                    4                   0
    Company - XYZ            (child group)
    transactions id            transaction type          debit  
            credit           difference    
    t3                                   type 1                        100
    t4                                   type 2                                    
             100
                                       total by company           100               100      
             0
    total by account              104             104                 0       
    so i am hiding companies ABC and XYZ but report still show last row total by account. so if abc and xyz are hidden i want to hide that account group (for e.g. Acc001).
    h2007

    Hi h2007,
    According to your description, you have a report with detail rows showing transaction information, child group showing companies, and parent group showing account. Now you want to hide the detail row if the difference(debit-credit)=0, and if the detail row
    is hidden, you want to hide the company as well. Right?
    In Reporting Service, we can’t use a property of a text box as an expression when we use IIF() function to evaluate. But we can put this whole IIF() expression into a IIF() function for another textbox or group to set visibility. We tested your case in our
    local environment. It works fine and completely achieve your goal. Here are steps and screenshots for your reference:
    Create a table as described.
    Right click on any textbox of detail row. Select Properties.
    Click on Visibility tab, put this text into expression:
    =IIF(SUM(Fields!Debit.Value)-SUM(Fields!Credit.Value)=0,true,false)
    Select toggled by its parent group (Company).
    Repeat step2 and step3 for each textbox of detail row.
    Right click on textbox of Company. Select Properties.
    Click on Visibility tab, put this text into expression:
    =IIF(IIF(SUM(Fields!Debit.Value)-SUM(Fields!Credit.Value)=0,true,false),true,false)
    Select toggled by its parent group (Account).
    Right click on textbox of Account. Select Properties.
    Click on Visibility tab, put this text into expression:
    =IIF(IIF(SUM(Fields!Debit.Value)-SUM(Fields!Credit.Value)=0,true,false),true,false)
    Go to Properties window, set InitialToggleState Expanded for Company and Account textbox
    Save and preview.
    Reference:
    Expression Examples (Report Builder and SSRS)(See Properties->Visibility)
    Expression driven visibility in a report
    Best Regards,
    Simon Hou

  • How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program?

    How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program?  To explain further... I have a young son who is on my iCloud family sharing program... I am excited to be able to share SOME of my music in my iTunes library, but there are some songs and music videos that are not age appropriate for him and currently there is no way to restrict him from viewing and downloading anything off of my iTunes library.  Yes, I suppose I can delete the songs he shouldn't have access to, but I don't think I should have to do that... I paid for them and still like them and listen to them while I work out or am without my kids.  Is there a way for me to personally select which songs/videos I would like to "hide" from my children in an effort to shield them from inappropriate content?

    Hello ggg39,
    Welcome to the Apple Support Communities!
    I understand that you have some content in your iTunes library that you would like to restrict access for the child set up on Family Sharing with you. To do this, you can set restrictions on the child’s device as described in the attached article. 
    Family Sharing - Apple Support
    Now kids under 13 can have their own Apple IDs. As a parent or legal guardian, the family organizer can create an Apple ID for a child and add the child to the family group automatically. Ask to Buy is turned on by default, and the organizer can also limit the content kids have access to on their devices through Restrictions on an iOS device or parental controls in OS X and iTunes.
    For more information on restrictions and how to set them up, please reference the next attached article. 
    About Restrictions (parental controls) on iPhone, iPad, and iPod touch - Apple Support
    Have a great day,
    Joe

  • JTable with row header plus value extraction from headers

    Hi, I am trying to do the following:
    Short Version-
    1. Create a table that has both row and column headers
    2. Allow the user to mouse over any of these headers such that doing so will display an image I have produced on a panel. (I already know how to create the image and how to display it, I'm just not sure how to associate it with a particular row or column header)
    3. Make the row headers look as much as possible like the column headers.
    Slightly Longer Version-
    Column headers will be labled A-H (maximum) while row headers will be labled 1-12 (maximum). Either can be less, however, depending on user input. After the table has been realized, the user will move the mouse over say, header 'H' and when they do, a JPEG image will appear on another panel and a tooltip will appear above the cell showing a formula. This happens when either row or column headers are moused over.
    Currently, I am using the following code from the O'reilly Swing book as a baseline for experimentation but any help you can offer will be appreciated. I'm fairly new to the JTable world... :-(
    TableModel tm = new AbstractTableModel(){
                   String data[] = {"", "a", "b", "c", "d", "e"};
                   String headers [] = {"Row #", "Column1", "Column2", "Column3", "Column4", "Column5"};
                   public int getColumnCount(){ return data.length;}
                   public int getRowCount() { return 1000;}
                   public String getColumnName(int col){ return headers[col];}
                   public Object getValueAt(int row, int col){
                        return data[col] + row;
              //creates a column model for the main table. This model ignores the first
              //column added and sets a minimum width of 150 pixels for all others
              TableColumnModel cm = new DefaultTableColumnModel(){
                   boolean first = true;
                   public void addColumn(TableColumn tc){
                        if(first) {first = false; return;}
                        tc.setMinWidth(150);
                        super.addColumn(tc);
              //Creates a column model that will serve as the row header table. This model
              //picks a maxium width and stores only the first column
              TableColumnModel rowHeaderModel = new DefaultTableColumnModel(){
                   boolean first = true;
                   public void addColumn(TableColumn tc){
                        if(first) {
                             tc.setMaxWidth(tc.getPreferredWidth());
                             super.addColumn(tc);
                             first = false;
              JTable grid = new JTable(tm, cm);
              //set up the header column and hook it up to everything
              JTable headerColumn = new JTable(tm, rowHeaderModel);
              grid.createDefaultColumnsFromModel();
              headerColumn.createDefaultColumnsFromModel();
              //make sure the selection between the main table and the header stay in sync
              grid.setSelectionModel(headerColumn.getSelectionModel());
              headerColumn.setBorder(BorderFactory.createEtchedBorder());
              headerColumn.setBackground(Color.lightGray);
              headerColumn.setColumnSelectionAllowed(false);
              headerColumn.setCellSelectionEnabled(false);
              JViewport jv = new JViewport();
              jv.setView(headerColumn);
              jv.setPreferredSize(headerColumn.getMaximumSize());
              //to make the table scroll properly
              grid.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
              //have to manually attach row headers but after that, the scroll pane
              //keeps them in sync
              JScrollPane jsp = new JScrollPane(grid);
              jsp.setRowHeader(jv);
              jsp.setCorner(ScrollPaneConstants.UPPER_LEFT_CORNER, headerColumn.getTableHeader());
              gridPanel.add(jsp, BorderLayout.NORTH);

    There a number of nice examples on JTable: http://www.senun.com/Left/Programming/Java_old/Examples_swing/SwingExamples.html
    Hope you could find something suitable ...
    Regards,
    Anton.

  • How do I include/show data from a child table in a Modal Window?

    How do I show data from a child table in a Modal Window?
    I have an application where each customer might have multiple addresses and phone numbers which are stored in child tables.  When I show the customer in a record on a screen I can place a Modal Window button on the screen which can be pushed at runtime
    to display detail information for the particular customer parent table which works great. However, I would also like to display the data from the address and phone number child tables. Is there a way to do that?  Or can I just launch a hole separate screen
    which would automatically display the needed data for the particular customer? If yes, how? 
    Thank you for any help.

    I am not even sure how to describe my situation in such a way that this forum incident would be of benefit to other people as I think it is fairly unconventional. 
    The “add contactaddress” link does not show up on the right.  
    The contactaddress table is a child of the contact table. 
    The contact table is a child of the contactlink table.
    And the contactlink table is a child of the person table.
    I have it set up this way because the contact in the contact table may be a contact to multiple persons in the person table and I do not want to re-enter the contact info every time the contact is used. 
    In the list detail screen of the person table I can see the contactlink child collection so that I can see the name of the person in the contact table at runtime. However, the contactaddress collection is not related to the person table so it does not show
    up on the right hand side of the design screen as an “add contactaddress”; nor is there “add contact” link.
    What I would like to happen during runtime is that it is not necessary to switch screens from the person list detail screen to a contact list detail screen to see the addresses and phone numbers for the contact.
     Is my setup unnecessarily convoluted? Is there a better way? Please see the two snapshots below.
    Perhaps there is a way to call up a Detail screen from the List Detail at runtime? 
    Anyway, if you are still reading, thank you very much for your help.   
    jjjjj

  • Is it possible to show the count of number or rows in table on the Home page Tab button.

    Is it possible to show the count of number or rows in table on the Home page Tab button.
    On home page there is a Tab called Count and I want to show the count on the right corner of this tab button.
    Please help

    Create an application item. APP_HOME_COUNT.
    Create an application process:
      make the application process type "on new instance" if you only want this to run once
      make it "on load before header" if you want to have the value set every page load
    application process source:
    select count(*) into APP_HOME_COUNT from <your table>
    modify the tab name to reference the app item, maybe something like "Count(&APP_HOME_COUNT.)"
    result should look like this "Count(5)"
    Good Luck,
    Tyson

  • Create 2 row header in an HTML report?

    Can anyone help me and take a look at my code?
    The Test Data 3.vi reads in the text file, then Data Report.vi spits out a report in HTML. 
    I am trying to do a couple of things,
    1. to duplicate a report in the exact manner it is formatted in, a double row header. (I will have to post another reply,and include the 2 jpg files of what I am trying to do.)
    2.I am also trying to get 2 columns of data in one column, or to at least appear that way. It would be the 2nd and 3rd columns to one column, 4th and 5th columns into one column, and so on.
    Attached is my code and text file. I am about going cross-eyed trying to figure this thing out.
    Can anyone help
    Attachments:
    data.txt ‏2 KB
    Test Data 3.vi ‏55 KB
    Data Report.vi ‏29 KB

    Below are 2 jpg files showing what it is I am trying to do in my code. With what I have tried, it seems impossible to get it exactly the way the original report is formatted. I attempted to concatenate strings, but, all that does is run the data together rather than in nice neat columns. I tried putting to arrays into one, but that didn't work either to give me my 2 columns of data into one column.
    Thank you in advance...
    Attachments:
    2columns to 1.jpg ‏233 KB
    Double header row.jpg ‏233 KB

  • Can any one tell me how to change the current row header in FB1LN tcode

    Hi,
    can any one tell me how to change the current row header in FB1LN tcode.
    I want to show input date also in the layout.
    Regards
    Mave

    Hi
    I know two ways:
    - transaction obvu: here you can insert new fields, but only if these fields are included in certain table (like BKPF, BSEG, BSIS.....
    - if your field isn't included in those table, you have to modify the structure RFPOS and manage it in the BTE 1650. After updating RFPOS you have to run the program RFPOSXEXTEND to update the structure RFPOSXEXT.
    Max

  • Af:table row header

    I have two questions regarding adf table
    1. Is there a way to set header for each row (not the column) in the table?
    2. Which property is responsible for displaying line numbers in the table?
    Thank you

    Hi,
    1. You can set a column as row header by setting the "rowHeader" attribute on column to be true and these header columns should be first columns in table.
    2. AFAIK, there is no property as such, but you can do it programmatically by adding a transient attribute in vo for line number and by calling a method which increments line number for each row by iterating all rows in vo
    Eg. code using DeptView(where lineNumber is a transient attribute added in DeptView to hold line numbers assigned to each record).
    public void incrementLineNumbers(){
    RowSetIterator deptVOIterator = getDeptView().createRowSetIterator("DeptViewIterator");
    Long lineNumber = 0L;
    try{
    while (deptVOIterator.hasNext()) {
    DeptViewRowImpl row = (DeptViewRowImpl)deptVOIterator.next();
    row.setLineNumber(++lineNumber);
    System.out.println("Line number: "+lineNumber+"\n*********\n");
    deptVOIterator.closeRowSetIterator();
    }catch(Exception e){
    e.printStackTrace();
    Sireesha

  • ADF row header and delete all problem

    Hi,
    I am using JDeveloper 11.1.14 and ADF-Bc in my project.
    In one of my page I display a simple table and a button which deletes the selected records.
    I dragged and dropped the 'Delete' operation from the Data Control view object onto the bindings.
    The below method iterates through selected rows and calls the 'Delete' operation which removes the current row.
    The Code for delete is as below
    public void deleteSelectedRows(ActionEvent actionEvent) {
    RowKeySet selectedRows = richTable.getSelectedRowKeys();
    Iterator selRowIter = selectedRows.iterator();
    RowSetIterator empRSIter = voIter.getRowSetIterator();
    while (selRowIter.hasNext()) {
    Key key = (Key)((List)selRowIter.next()).get(0);
    Row currentRow = empRSIter.getRow(key);
    if (currentRow != null) {
    voIter.getViewObject().setCurrentRow(currentRow);
    OperationBinding operation =
    getBindingContainer().getOperationBinding("Delete");
    if (operation != null) {
    operation.execute();
    I have added row header as column in my jsp page inside af:table. ex: <af:column rowHeader="true" width="12" id="c16"/>
    The problem is that if I manually select all rows[using control key] and click on 'Delete' button, the method is working fine[all records are being deleted].
    But If select all records either thorugh ctrl+A or on click of top of row header, all records are being selected in U.i,but the delete operation is not deleting
    all the records.It deletes only part of the records.[Ex: say 7 out of 10 records being displayed].
    Please let me know where I am doing wrong. or if it has something to do with range size.
    Regards,
    Praveen
    Note: I have multi selection enabled on the table

    Hi Frank,
    I have few more observations to add.
    In the below code, if the row removal is commented out, then the selected row count(i.e size ex: 9)
    and the index counter printed are correct.[i.e for example index counter printed will be 1,2,3,4,5,6,7,8,9]
    RowKeySet rowKeySet = (RowKeySet)richTable.getSelectedRowKeys();
    System.out.println("\nSIZZE"+rowKeySet.size());
    CollectionModel cm = (CollectionModel)richTable.getValue();
    int index = 1;
    for (Object facesTreeRowKey : rowKeySet)
    cm.setRowKey(facesTreeRowKey);
    JUCtrlHierNodeBinding rowData =
    (JUCtrlHierNodeBinding)cm.getRowData();
    System.out.println("index"+index);
    index++;
    // rowData.getRow().remove();
    But when row removal is present then the index counter displayed is also wrong.. [ex: 1,2,3,4,5,6]
    Same behavior is observed with 'Delete' operation also.
    Regards,
    Praveen

  • How to Query the Summary Name from Custom Section Row Header Information

    I need a query that can help me retrieve the summary name from a custom section row header information.  We have a couple of Denorm tables that when the data is denormalized, the row_name field is only showing the denormalized alias name.  We would like to be able to pull the summary name from the row header information section?  How can we use the denorm alias name and join it to another table to find the associated summary name?

    The following query returns the row name as well as the denorm row name, for a given custom section, where we specify the custom section by the denorm table. You oculd do this in other ways, it just depends on how you want to retrieve the information. Is this what you are looking for?
    SELECT ml.Name [rowName], ml.langID, dr.NAME [denormRowName], dr.FKROWTEMPLATE, dt.GENERATED_TABLE_NAME
    FROM DENORM_CS_ROW dr
    inner join DENORM_CS_TABLE dt on dr.FK_DENORM_TABLE_ID = dt.ID
    inner join commonextendedattributeml ml on dr.FKROWTEMPLATE = ml.fkOwner
    where dt.NAME = 'myDenormTableName'

  • Requirement to show parent item on Pick Slip report

    rdf file of pick slip is not giving parent item in the output. I added a sql query to get the parent item details from oe_order_lines_all. Since the query is at a different level, I could not show parent item and its related child items in sequence.
    does any one have similar problem......please let me know how u have fixed it

    actual query gives the items which are picked from wsh_delivery_details wdd, oe_orders_lines_all oola....
    <G_PICK_SLIP_NUMBER>
    <SOURCE_LINE_NUMBER>1.1</SOURCE_LINE_NUMBER>
    <ORDERED_ITEM>SS</ORDERED_ITEM>
    </G_PICK_SLIP_NUMBER>
    <G_PICK_SLIP_NUMBER>
    <SOURCE_LINE_NUMBER>2.1..1</SOURCE_LINE_NUMBER>
    <ORDERED_ITEM>XX1</ORDERED_ITEM>
    </G_PICK_SLIP_NUMBER>
    <G_PICK_SLIP_NUMBER>
    <SOURCE_LINE_NUMBER>2.1..2</SOURCE_LINE_NUMBER>
    <ORDERED_ITEM>XX2</ORDERED_ITEM>
    </G_PICK_SLIP_NUMBER>
    i added a query to get the parent item, which I can get only from oola since the parent item did not have the record in wdd
    <G_SOURCE_HEADER_ID4>
    <SOURCE_LINE_NUMBER1>2.1</SOURCE_LINE_NUMBER1>
    <ORDERED_ITEM4>XX</ORDERED_ITEM4>
    </G_SOURCE_HEADER_ID4>
    in the template i am using the following xml tag
    <?for-each:G_PICK_SLIP_NUMBER?><?sort:SOURCE_LINE_NUMBER;'ascending';data-type='text'?>
    which gives
    1.1 ss
    2.1.1 xx1
    2.1.2 xx2
    where as i am looking for the following output
    1.1 ss
    2.1 xx
    2.1.1 xx1
    2.1.2 xx2
    i hope this explains my issue. Thanks
    zoom_ride
    zoom_ride

Maybe you are looking for