Master -Child Report

Dear all,
Here I have implememented the matser child report navigation using the interaction option in OBIEE 11g.The scenario is working fine but I am getting the data misamtch in the child report when I clicked on the master report colum. What could be the reason for the data mismatch  in child report with the interaction option .
Please hel me
Thanks

Did you see the SQL generated for the Detail report ? mostly the detail report includes extra tables and causes unnecessary joins which may filter the data
Thanks,
Saichand

Similar Messages

  • MASTER-CHILD REPORT in JASPER REPORT

    Hi,
    How can i print a Master and Two child details in a Pre Printed Bill using Jasper Reports?
    Please give me some guid lines to achive this.
    Thanks
    Suresh

    http://forum.java.sun.com/thread.jspa?threadID=692499
    Cross-post.
    And please note that this is not a Jasper Reports support forum.

  • How to pass multiple values from master to child report

    Hello,
    How would I pass multiple prompts from the master to child report? So for example, say I want to pass a 'Country' value along with a 'City' value
    Would it be?
    ="<a href=\"../../opendoc/openDocument.jsp?iDocID=ASQlgCemIOlEid1HHUlzyPs&sDocName=DocTest&sIDType=CUID&sType=wid&sWindow=Same&lsSCountry="+[Country]+"&lsSCity="+[City]+"\</a>"
    Thanks,
    Carter

    Carter,
    what is the syntax for this?
    It is exactly how you have posted in your original note.
    "&lsSCountry="+[Country]+"&lsSCity="[City]
    This will work providing the target report has a prompt called "Country" and another prompt called "City".  Note that your prompt and what you pass between the &lsS and the equal (=) must match exactly, otherwise OpenDocument will not communicate the prompt title to InfoView properly and InfoView will stop and execute the prompt to get the info it needs before running the report.  Have you tried what you've posted originally to see if it executes without a problem?
    Thanks,
    John

  • Opening child report through master report using hyperlink

    HI Experts,
    I have a requirement where, I need to create a child report which will open through a master report using hyperlink.
    I have to use BIP desktop (MS word) and need to create a RTF template using XML file.
    Can you please guide me, how I can achieve this?
    Regards,
    Suhasini
    Edited by: 942451 on Jun 28, 2012 9:48 PM

    Take a look at this blog post: http://bipconsulting.blogspot.com/2010/02/drill-down-to-detail-or-another-report.html
    Thanks,
    Bipuser

  • Disable/Hide the Refresh Button in Child report

    Hi All,
    Our Environment is BOXI-R2;
    We have a Master Report calling a Child Report (based on Open Document);
    Our requirement is to hide the" Refresh Button "in the child report Layout
    we tried using "hideRefresh=true"
    but the child report is not responding to the above clause
    Help us in this,
    if this is a BUG in XI R2, let us know the Service Pack details
    Thanks

    Joe , Thanks for your Inputs..
    our master report has the aggregated Measure , when the user clicks on this , it has to open a child report (with paramters from master report).
    We are aware of customizing "viewer.js " file (under BO install home) with "refreshDocIcon = null".
    But is this the only solution to hide the refresh button in the child report ?
    SInce its already a PRODUCTION environment, our customer won't allow to change the standard settings of the product.
    Thanks

  • Dbms_output in child report

    Hi,
    I've been trying to create a report with a child report of type "dbms_output" which does not seem to be working.
    The child report by itself (in another report) works correctly, but if it's the child of any other one it doesn't. I have tried both using bind variables and without using them.
    The message I get is the typical syntax error even when the code is somethin as simple as this:
    begin
    dbms_output.put_line('Hello');
    end;
    Perhaps I just didn't find some very simple option, but it looks like a issue with reports to me.
    Any ideas?
    Thanks.

    > For me (WinXP SP2, 10gR2, 12.1 - 32.13) it doesn't made difference...
    Both worked.
    I have this report:
    Master Name: dept
    Master Style: Table
    SQL:
    select deptno
         , dname
         , loc
      from dept
    order by deptno
    Child Type: Detail
    Child Name: dbms_test
    Child Style: plsql-dbms_output
    SQL:
    begin dbms_output.put_line(:DNAME); end;No other report attributes are set.
    This version works fine. But if I change child SQL to
    begin
    dbms_output.put_line(:DNAME);
    end;I get
    ORA-06550: line 1, column 6
    PLS-00103 found '' but expected one of the following:...and the same messages for line 2, column 30.
    WinXP SP2 (czech), 10g rel.10.2.0.3.0, SQLDev 1.2.1.32.13.
    Could you compare my and your report attributes, please? Thanks.

  • Master Detail report in bi publisher 11g

    Hi All,
    We are using OBIEE 11g (11.1.1.6).
    How to achive the Master/Detail or Parent/Child reports in BI Publihser reports. Selectiing or Changing a column value in parent report should effect the child report/graph etc..
    I understand this can be done through joining multiple datasets in a Data Model.
    Can any one explain.
    Thanks.

    check the below
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi//bip/advancedbip/advancedbip.htm#t3
    http://www.youtube.com/watch?v=NPbKRnSkDVM
    using rtf template
    http://bipconsulting.blogspot.com/2010/02/drill-down-to-detail-or-another-report.html

  • Dbms_output size limit in child report?

    Is there a hard limit on the size of the DBMS_OUTPUT that can be displayed in a CHILD report? If so, can it be increased in a future version?
    I have a user defined report that shows active sessions in the top (i.e. master/parent) report. The report has a child tab that show the EXPLAIN plan for the selected SQL statement using DBMS_OUTPUT. It works great unless the Explain Plan is too large, in which case I get an error.
    I just tried to duplicate the problem but nothing that is running now generates a plan large enough to hit the limit, which isn't surprising because the limit was pretty large.
    The SQL for the Child report is below. Note that is it all in one line because at one time it didn't work if there were embedded newlines in the SQL (I don't know if that is still the case). So, it is ugly, but like I said it works well and is very useful.
    DECLARE v_predicate VARCHAR2(200) ; v_sql_hash_value VARCHAR2(100) := :SQL_HASH_VALUE ; v_plan_hash_value VARCHAR2(100) := :PLAN_HASH_VALUE ; v_inst_id VARCHAR2(2) := :INST_ID ; v_child_number VARCHAR2(3) := :SQL_CHILD_NUMBER ; BEGIN v_predicate := 'HASH_VALUE = ' || v_sql_hash_value || ' and PLAN_HASH_VALUE = ' || v_plan_hash_value || ' and INST_ID = ' || v_inst_id || ' and CHILD_NUMBER = ' || v_child_number ; dbms_output.put_line( '<pre>' ) ; FOR nxt IN ( SELECT substr(plan_table_output, 1, 255) as rec FROM table (DBMS_XPLAN.DISPLAY( 'GV$SQL_PLAN', null, 'ALL', v_predicate ) ) ) LOOP dbms_output.put_line( nxt.rec ) ; END LOOP ; dbms_output.put_line( '</pre>' ) ; END ;

    What database version?
    The default size of the buffer for dbms_output used to be limited in the database. it may be that you are hitting that.
    What is the error message?

  • Binds in Master/Detail Reports: Problems and Solutions

    I've been trying to use bind variables in the master report of master/detail reports with multiple detail reports; but, I've been getting a problem with the detail reports not displaying data.
    Here's a sample sequence of events:
    1) Select the master/detail report under User Defined Reports.
    2) Connect to a DB (if necessary).
    3) Enter any value(s) for the bind(s) for the master report.
    4) Select a row in the master report.
    5) The currently selected detail report displays column names and data.
    6) Select a different detail report.
    7) Nothing displays except column names.
    8) Select a different detail report.
    9) Nothing displays except column names.
    10) Click the currently selected row in the master report.
    11) Now the current selected detail report displays (column names and) data.
    I have found that if, I am more selective with my bind variable names, I can get things to work as expected.
    First, let me show an example of some SQL that was giving me problems.
    Master Report:
    select distinct OWNER
    from SYS.ALL_OBJECTS
    where (OWNER like :OWNER or :OWNER is NULL)
    Detail Reports:select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'INDEX'replacing 'INDEX' with other values for the other detail reports.
    (I did have this problem with other SQL too but hopefully this SQL will run on everyone's DB.)
    The first solution I found was to change the name of the bind in the master to something like OWNER_BIND.
    The second solution I found was to change the master to
    select distinct OWNER as POWNERand change the detail reports to
    where OWNER = :POWNERAnother solution might be to adjust the bind variable names' case, but I didn't look at that.
    While I was trying different things to get this to work, one of the goofy things that SQL Developer did was add <binds>s to the <query>s of the detail reports in my UserReports.xml. IIRC, it even did this to a master/detail report that I was not editing. So, if you run into this problem, you might want to open your UserReports.xml and clean it up by hand. (Actually, that might be good advice for other problems too.)
    Tip: I've had other problems with my User Reports such as disappearing reports; so, not only do I regularly make copies my UserReports.xml, I also save report(s) into separate XML files and use Tools > Preferences... > Database > User Defined Extensions to add REPORT-type extensions to SQL Developer. (Kris Rice talked a bit about REPORT-type extensions in this blog entry: http://krisrice.blogspot.com/2006/11/xml-extension-points-reports.html)
    FYI: I'm using sqldeveloper-1.1.2.2579 on Windows XP w/ SP2. The DB is Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.

    Here is the complete XML exported from a problem report. If you want to use this, save it as an XML file then import that file from within SQL Developer (ie, right-click on User Defined Reports and choose Import).
    Notice that there are <binds>s on the detail reports. They don't belong there; only the one on the master report belongs. (The <binds> is specified by the Binds tab when creating a report. They are for prompting the user for value(s) and you cannot do that in child reports.) Even if I removed the <binds>s from the detail reports before importing the XML file, I still see the problem. SQL Developer also ends up putting them back. I think that it might happen to each detail report individually as it is visited when using (ie, not editing) the master/detail report.
    <?xml version="1.0" encoding="UTF-8" ?><displays><display id="" type="" style="Table" enable="true">
         <name><![CDATA[Sad]]></name>
         <description><![CDATA[]]></description>
         <tooltip><![CDATA[]]></tooltip>
         <drillclass><![CDATA[null]]></drillclass>
         <CustomValues>
              <TYPE>horizontal</TYPE>
         </CustomValues>
         <query>
              <sql><![CDATA[select distinct OWNER as OWNER
    from SYS.ALL_OBJECTS
    where (OWNER like :OWNER or :OWNER is NULL)]]></sql>
              <binds>
                   <bind id="OWNER">
                        <prompt><![CDATA[OWNER (like)]]></prompt>
                        <value><![CDATA[NULL_VALUE]]></value>
                   </bind>
              </binds>
         </query>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[INDEX]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'INDEX']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[PACKAGE]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'PACKAGE']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[PACKAGE BODY]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'PACKAGE BODY']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[SEQUENCE]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'SEQUENCE']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[TABLE]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'TABLE']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
    </display>
    </displays>

  • Child reports and bind variables

    I'm working on a user defined parent/child report. What I'm having an issue with is using a parents bind variable value in a child. To simpify my example:
    The master query is:
    select count(*), document
    from download_audit
    where activity_date > sysdate-:DAYS
    group by document
    which returns a count of downloads for each document in the last :DAYS days. I want the child report to then list the person that downloaded a selected document:
    select document, user_id, activity_date from download_audit
    where activity_date > sysdate - :DAYS
    and document=:DOCUMENT
    This does not work because the initial :DAYS bind isn't sent to the child.
    If I add the :DAYS as a selected column to the master sql it works. e.g.
    select count(*), document, :DAYS days
    from download_audit
    where activity_date > sysdate-:DAYS
    group by document
    My question is, do child bind variables all have to be selected columns in the master query or is there a way to have a "global" bind variable that gets carried from master to child?
    I'm using SQL Developer 3.2.20.09 on OS X Lion
    Edited by: RoboMan on Nov 16, 2012 11:23 AM

    I agree whole heartedly :)
    If you want to make things even more interesting, create some 3rd generation child reports and carry the bind variables throughout the multiple levels - here's an example
    http://www.thatjeffsmith.com/archive/2012/09/grandparent-parent-child-reports-in-sql-developer/

  • Pass one parameter from parent to child report.

    Hello experts,
    I am new in OBIEE. I have devloped report1 and report2. Report1 is master report and report2 is child report. Both reports are madeup of combined request to need to business requirement.
    I am facing issue to create navigation from report1 to report2. Actually i have to pass to value to col1 of report1 to filter the second report. There are 5 and 6 columns in 1st and 2 report respectively.
    Please suggest how i can achieve this.
    Thanks in Advance

    Hello,
    Keep all the columns which are in the report 1 as prompted in report 2 and provide the navigation path in report 1 for report 2.
    Also please refer this:
    http://gerardnico.com/wiki/dat/obiee/olap_operation ---gives results as You expected..Please mark it as useful if it is satisfies your requirements.
    Thanks,
    Chitra Subramani
    Edited by: user6371773 on Mar 3, 2011 4:28 AM
    Edited by: user6371773 on Mar 3, 2011 4:29 AM

  • Master-detail reports in SqlDeveloper

    Hello,
    I recently read this article by Sue Harper.
    www.oracle.com/technology/oramag/oracle/07-may/o37sql.html
    I am using Sqldeveloper for a little while now, but never created a user-defined report.
    This morning I read this article about it, and I am really thrilled.
    The problem is: I cannot get a master-detail report to work.
    I followed the instructions:
    Master query:
    select a.master_column
    from not_important a
    The type of the detail report is "DETAIL" and I refer to the master-column like this : where blabla = :MASTER_COLUMN
    I Tried:
    * changing caption of the bind variable.
    * adding a column alias in the master query
    * changing type to child
    nothing works
    Tried it in sqldeveloper: 1.5.4 and 1.1.2.25
    neither work.
    Of course I am missing the obvious. Can somebody please point out, what I am doing wrong.
    Regards.

    I finally figured out, what I was doing wrong.
    I tested my report with a single master-record by pressing the detail run-button (>) immediately after the report openend, WITHOUT first actually selecting this single master record with my mouse.
    So when I hit the detail run-button (>) Oracle returned with a "All Rows Fetched: 0". So I never realized I was actually querying with a NULL value in the bind variable.

  • SQL Dev Child Reports - Dynamic From Clause Possible?

    Hi All,
    Trying to figure out this problem:
    Master Report SQL:
    select TABLE_NAME from USER_TAB_COLS where COLUMN_NAME = 'CREATION_DATE'
    Results with some table names. Now I want to use the table name to formulate my child query
    Child SQL:
    select * from :TABLE_NAME where CREATION_DATE >= SYSDATE-7
    or whatever.....but I want to somehow use the table_name dynamically.
    Thanks!
    -Brent

    I doubt that you can get dynamic from clause for Child Report if its style is table.
    But you can get dynamic one in child with style script:
    Say you have :
    Master report for list tables which select owner and table name by some condition (I omit this):
    SQL :     select owner, table_name from all_tables ..So Child Report
    SQL is follow:
        COLUMN TN NEW_VALUE TNAME ;
        select :OWNER||'.'||:TABLE_NAME as TN  from dual;
        select '&&TNAME' as tab_NAME, count(1) from &&TNAME;Hope it help.
    Edited by: K_Serge on Jan 5, 2013 5:10 AM
    Edited by: K_Serge on Jan 5, 2013 5:20 AM

  • Passing binds to Child reports / detail script reports

    Hi,
    I've been trying to figure out (assuming it's possible) how to pass bind variables to child / detail PL sql script reports.
    I've made sure to declare the binds tab, and made sure it saved. However, if I try something like:
    exec dbms_output.put_line(:VAR);
    I get bind variable not declared. Any ideas what I'm doing wrong?
    Thanks.

    Make sure that the value you are trying to pass to the child/detail report exists as a column in the parent/master report. Second make sure that the bind name in the child/detail report is in ALLCAPS.
    I don't know of any other way to pass bind values to child reports than via the parent query, and the all caps requirement catches me often enough.

  • XSQL Master Child

    Dear All,
    I need to develop the reports using XSQL. Generate the report as master child table relation wise.
    I will give sample format of my report.
    <MasterVaue>
    <child-value></childvalue>
    </mastervalue>
    i.e
    each department wise i want show the employee names
    How we can achive in XSQL in ADF
    TIA

    Hi,
    Can anyone helpout me.
    - <ROWSET>
    - <ROW num="1">
    <DEPTID>100</DEPTID>
    <EMP_ID>82</EMP_ID>
    <NAME>Ganesh</CHGVALUE>
    </ROW>
    - <ROW num="2">
    <DEPTID>100</DEPTID>
    <EMP_ID>85</EMP_ID>
    <NAME>Rajesh</CHGVALUE> </ROW>
    </ROWSET>
    - <ROW num="2">
    <DEPTID>101</DEPTID>
    <EMP_ID>81</EMP_ID>
    <NAME>Raju</CHGVALUE> </ROW>
    </ROWSET>
    Here i need <DEPTID> wise employee details
    TIA

Maybe you are looking for