Master detail in bi 11g publisher report

Hi all

We use OBIEE 11 g (11.1.1.6).

How to achieve master-detail or Parent/child relationships in BI Publihser reports. Selectiing or modification of a value in column in the parent report should make the report child/chart etc...
I understand that this can be done through to join several sets of data in a data model.

One cannot explain.

Thank you.

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 the rtf template

http://bipconsulting.blogspot.com/2010/02/drill-down-to-detail-or-another-report.html

Tags: Business Intelligence

Similar Questions

  • master detail in obiee 11g report

    Hello

    I create report master detail in obiee 11g (11.1.1.6.5). I want to use it to navigate from one report when you click on the chart to another report that has tables and graphs in the same dashboard too.

    Can you please how can I do

    Hello!

    You have two options:

    First: Apply channel Interaction. You can click in your master detail report and automatically your second report will change.

    Second: Use action links.

    Look at this link: OBIEE 11 G - master detail | GerardNico.com (BI, OBIEE, data warehouse and OWB)

    Pls mark so useful

  • Master/detail for printing of PDF report

    My application allows end-users a way to fill a transport request via a form, separated by about 10 regions. The application consists of about 50 fields (from the table requests) and n number of transport, penetrated through tabular form in the application form. Once they complete it and send it to the transport Department, I want them to be able to generate a master/detail of the application report , with information of demand on top and all the transport on a table.

    The DBA installed Apache FOP and it works fine for printing the report. We are on Apex 3.2, exploiting an Oracle 11g database.

    So I followed this guide: http://www.oracle.com/technology/products/database/application_express/howtos/howto_master_detail_pdf.html. I have created a master/detail form, installed Desktop Publisher BI, created the RTF template, everythng. But it is not out of what I want.

    When I "print" to PDF, I get only a table with transport, but no info on demand at all, even if I choose "Advanced (include session state information)" and I does not include session state information on all the variables I wanted for the output in the PDF file.

    Any idea of what this could be the cause? Session state disappears somehow when I print the PDF? Or is there a better way to solve this problem? Any help is welcome.

    Best regards
    Mathieu

    I decided to buy FO Designer of the Java4Less. For $ 60, it's a flight, and it works well. Need to change a thing or not in the XSL - FO generated, but nothing too difficult at the moment.

    Best regards
    Mathieu

  • The master/detail Page scroll, Incorrect rendering position

    I think that it is something simple that I am on and I hope that someone will be able to indicate what it is.

    I have a Setup master/detail, how they were created in the packed app go live Checklist for projects (see page 200) mirroring.

    • This means that my page template is a type of master/detail with a classic/region report selector in the master detail region. The classic report is set to not show in the region selector.

    Under it, I have several regions, each game to be included in the region selector.

    UPDATE: My first region on the page has several components display only in it. If I do not show this region then the problem of scrolling stops.

    My problem is when I insert in the page that the page is automatically past the master section, scroll up to the region selector. However I can scroll to top knowledge my master.

    Anyone have an idea what might cause this behavior?

    Hamster wheel engineer wrote:

    I think that it is something simple that I am on and I hope that someone will be able to indicate what it is.

    I have a Setup master/detail, how they were created in the packed app go live Checklist for projects (see page 200) mirroring.

    • This means that my page template is a type of master/detail with a classic/region report selector in the master detail region. The classic report is set to not show in the region selector.

    Under it, I have several regions, each game to be included in the region selector.

    UPDATE: My first region on the page has several components display only in it. If I do not show this region then the problem of scrolling stops.

    My problem is when I insert in the page that the page is automatically past the master section, scroll up to the region selector. However I can scroll to top knowledge my master.

    Anyone have an idea what might cause this behavior?

    The Cursor Focus of page property is set to the first item on the page? If so, change it to don't focus cursor.

  • Master - detail reports

    Hi, Im currently produces a report of which the data are obtained from 2 views I created on the database. We can look at this as a relationship master detail. Basically I have a view with details of staf and views with all the details of the client. 1 staff member can have many clients asociated with them. This is related to a reservation id. If the staff and clients have the same reservation id they are so related.

    I have implemented this in the reports in the following way:


    I have a nonrepeating framework encapsulating everything. then this frame is divided into a left and right, the left side is an extensible framework with the details of the staff and the right side is an extensible framework with the details of the client.

    I want to be able to see is the details of staff then beside that the details of the customer like this:

    (.' are spaces - just used to show the layout)

    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.
    .............................................customer id | name of the customer. customer * | customer *.
    .............................................customer id | name of the customer. customer * | customer *.

    But as I have at the minute im just get:

    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.
    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.
    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.

    They do not seem to be linked is there a way to link the master details? I have already created the relationship in the querys etc. my problem, I feel lies in the way I set up the report, its basically just go to each view and bring back the reguardless of the relationship data.

    Any help would be much appreciated.

    Thank you.

    Published by: user13390506 on March 7, 2011 04:23

    Published by: user13390506 on March 7, 2011 04:24

    Have you tried simply to encapsulate the retail block in the extensible framework of the master block?

  • Report master-detail or list popup selection on LOV

    Master/detail report
    Using Popup LOV of a column in DETAIL. Why the RETURN_VAUE displays rather than the DISPLAY_VALUE? I need to display ITEMNO. It sounds like a problem with a tabular presentation?

    LOV is
    select ITEMNO display_value, ITEM_ID return_value
     from SH_ITEM
     ORDER BY 1
    Table
    *SH_ITEM*
    ITEM_ID
    ITEMNO
    ITEM_DESC
    Is actually long version that I really want
    select ITEMNO || ' - ' || ITEM_DESC display_value, ITEM_ID return_value
     from SH_ITEM
     ORDER BY 1
    Published by: userRRRYB on July 2, 2010 07:06

    Hi Alexandra,.

    In APEX 4.0, Popup LOV key support has been added to the built-in tabular feature (named for and based query LOVs), so now you can view the DISPLAY_VALUE according to needs. LOV Popup displays only the RETURN_VALUE, as you said, so it will not be your needs, but the new Popup LOV key should do the trick for you. If you change the attributes of a column in a table, update the column in question to the value of the point of his ' display as ' Popup LOV key (named LOV) or Popup LOV (query based LOV) key.

    Kind regards
    Hilary

  • [ADF, JDev12.1.3] master / detail af:tables the link is handled by ExecuteWithParams: how to create a master report / detail in a loop on the lines?

    Hallo,

    I have a page with 2 legs and they both contains an af:table created by dragging an instance of VO in the user interface.

    The 1st tab uses a master VO while the 2nd uses a VO detail.

    Between 2 your, there is not a link of VO master / detail.

    Opening Details tab I update the secondary table by calling the method ExecuteWithParams of the detail VO instance (in a managed bean).

    I would now like to generate a report that loop on the master table and that, for each line of master:

    • He writes in the report;
    • loops of registration of details (which are based on the master record) and also writes the report.


    Could you kindly suggest me which is the best way to achieve that through a code to write in a managed bean?

    Here I am interested how do to loop through the data, not in how to write the report.

    Thank you

    Federico

    Yes it will affect the selected line. If you want to ignore try using this code

        DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("DepartmentsView1Iterator");
        ViewObject vo = iter.getViewObject();
        for (int i = 0; i < vo.getEstimatedRowCount(); i++)
        {
          Row r = vo.getRowAtRangeIndex(i);
          System.out.println("DeptId= " + r.getAttribute("DepartmentId"));
        }
    
  • Rights of access to the BI Publisher 10g and 11g migrate reports

    Hi all

    I've migrated BI Publisher reports in 10G in the middle of 11 G environment. I installed both applications in local machine, to carry out this activity. Post, I moved a folder containing few reports (.xdo and .xdm) in OBIEE 11g environment installed in Linux environment.

    Report units are visible, but .xdo cannot be performed. I get the error on execution it below.

    "oracle.xdo.servlet.CreateException: oracle.xdo.servlet.CreateException: oracle.xdo.servlet.CreateException: oracle.xdo.servlet.CreateException: definition of data model not found: / report of Performance of the Bank-like of.xdm". "

    In addition, I don't have the access rights to change the datamodel (xdm) and report (xdo)

    I'm stuck with this problem for a few days and could not get much help from the available discussions.

    Thanks in advance

    Prasanna

    Hello

    I was able to retain the rights administrative everything on the new catalogue by doing the steps below

    1 run a fresh upgrade with destination as a separate folder (D:/dest) and not selecting "{BI_DOMAIN}... repository/bi_publisher /'."

    2 created a new catalog of presentation by specifying the path of the catalog in em ' in a new folder.

    3. copy the units OBI EE (file and files problemcs), upgraded in the shared folder in the folder newly created by Ms.

    4. go in BI Publisher 11 g-> Administration. Navigate to the directory of BI Publisher and point to the destination folder would be: / dest' and run 'Upload to the BI presentation catalog.

    5. now, all units are available in a shared folder with full rights for the user "weblogic.

    Concerning

    Prasanna

  • How to disable dynamically interactive report filed in the page master detail

    I use APEX 4.0 & very new to APEX. I am not able to disable a class in area of detail (which is an interactive report) of a master detail Page.
    I want to turn off the field in a row based on the value of another field of recording, like set_item_instance_property of the oracle forms. Please help me.

    See {message identifier: = 10743324}

  • master detail report

    I want to create a master detail report using CF 10 generator, but I can't find the option.

    I would like to know do I insert a sup in detail band report to generate the master details report.

    If this is not the case, can you please indicate what is the procedure to build the master details report by using CF 10 generator.

    Your information and help is much appreciated,

    Kind regards

    iccsi,

    iccsi wrote:

    I would like to know do I insert a sup in detail band report to generate the master details report.

    Yes.

  • Master / detail REPORT (FORM no)

    I use 4 APEX and want to create a master / detail REPORT (not a FORM) and can't seem to format as I want. For each record in my MASTER table that I want to print a few fields of her on the first line, followed by one or more records in the SECONDARY table on the following lines. It is easy to do as a form, but I want it on a web page as text only report. Any suggestions would be appreciated, other that "read the manual". Already tried.

    So my desired output would look like this:

    MASTER NAME: XXXXXX MASTER ADDRESS: CITY OF MASTER XXXXXX: XXXXXX

    RETAIL RETAIL QTY. ONLINE RETAIL PRODUCT
    1 XYZ 10
    2 ABC 20

    NAME OF THE MASTER: YYYYYY MASTER ADDRESS: YYYYYY MASTER CITY: YYYYY

    RETAIL RETAIL QTY. ONLINE RETAIL PRODUCT
    3 DEF 30
    4 GHI 40

    It is an area of APEX where a few feature improvements would make the very nice end statement. In the meantime, you can write your own reporting process in a region of PL/SQL easily, consisting of two loops: one for master records and one for children. You will have to expose the area using HTML, but since control you it can look as you wish. I did something similar with this code:

    create or replace PROCEDURE PROC_TONMILERPT(dt1 DATE, dt2 DATE, c NUMBER)
    as
      dt_from    DATE           := dt1;
      dt_to      DATE           := dt2;
      cust       NUMBER         := c;
      ttl_dys    NUMBER;
      cursor c_proj is select ORG_ID, ORG_NM from ORG_ENTITIES
                        where CUSTOMER_ID = cust
                          and ORG_ID NOT IN (200,300,400,500,600,700,800,900);
      v_org      NUMBER;
      v_orgnm    VARCHAR2(47);
      cursor c_rpt is select STN, MILES, SUM(TTL_WT)
                from (select s.SHORT_NM||'-'||j.PILE_CODE_ALT_FLAG as STN, r.CYCLE_MILES/2 as MILES,
                             SUM(CASE WHEN w.SPOT_WEIGHT = 0 THEN NVL(j.MAN_SPOT_WT,0)
                                      ELSE w.SPOT_WEIGHT
                                      END) as TTL_WT
                        from TC c, TC_LOAD_JOBS j, STATIONS s, LOAD_RATES r, SPOT_WEIGHTS w
                       where c.TC_ID = j.TC_ID and j.LOAD_RATE_ID = w.LOAD_RATE_ID
                         and w.DATE_INDEX = c.DATE_INDEX
                         and j.LOAD_RATE_ID = r.LOAD_RATE_ID
                         and FN_STN_KEY(j.FACTORY_ID,j.STATION_ID) = s.KEY_ID
                         and c.DATE_INDEX BETWEEN dt1 and dt2
                         and j.FACTORY_ID = v_org
                       group by s.SHORT_NM||'-'||j.PILE_CODE_ALT_FLAG, r.CYCLE_MILES
                       union
                       select s.SHORT_NM||'-'||j.ALT_FLAG as STN, r.CYCLE_MILES/2 as MILES,
                              SUM(DECODE(j.AVG_SPOT_WEIGHT,0,j.ACT_SPOT_WEIGHT,j.AVG_SPOT_WEIGHT)) as TTL_WT
                        from TC_3RDPARTY c, TC_3RDPARTY_JOBS j, STATIONS s, LOAD_RATES r
                       where c.TC_ID = j.TC_ID and j.LOAD_RATE_ID = r.LOAD_RATE_ID
                         and FN_STN_KEY(j.FACTORY_ID,j.STATION) = s.KEY_ID
                         and c.DATE_INDEX BETWEEN dt1 and dt2
                         and j.FACTORY_ID = v_org
                       group by s.SHORT_NM||'-'||j.ALT_FLAG, r.CYCLE_MILES)
                group by STN, MILES
                order by STN;
      x_fact     NUMBER;
      x_stn      NUMBER;
      x_stn_nm   VARCHAR2(47);
      x_alt      VARCHAR2(7);
      x_rt       NUMBER;
      x_mls      NUMBER;
      x_tons     NUMBER;
      x_lds      NUMBER;
      x_tnmls    NUMBER;
      z_tnmls    NUMBER      := 0;
    BEGIN
      ttl_dys    := dt_to - dt_from;
      htp.p('');
          htp.p('');
              htp.p('');
          htp.p('');
          htp.p('');
      htp.p('
    Ton Mile ReportTransystems
    From '||to_char(dt_from,'MM/DD/YYYY')); htp.p(' To '||to_char(dt_to,'MM/DD/YYYY')||'
    '||ttl_dys||' day period
    '); OPEN c_proj; LOOP FETCH c_proj into v_org, v_orgnm; EXIT WHEN c_proj%NOTFOUND; htp.p('

    '||UPPER(v_orgnm)||'

    '); --Project Work htp.p(''); htp.p(''); htp.p(''); htp.p(''); htp.p(''); x_tnmls := 0; OPEN c_rpt; LOOP FETCH c_rpt into x_stn_nm, x_mls, x_tons; EXIT WHEN c_rpt%NOTFOUND; z_tnmls := z_tnmls + x_mls*x_tons; x_tnmls := x_tnmls + x_mls*x_tons; htp.p(''); htp.p(''); htp.p(''); htp.p(''); END LOOP; CLOSE c_rpt; htp.p('
    PileTon MilesTonsLoaded Miles
    '||x_stn_nm||''||to_char(ROUND(x_mls*x_tons,0),'999G999G999')||' '||to_char(ROUND(x_tons,2),'999G999G999D99')||' '||x_mls||'
    '); htp.p('

    Total for '||v_orgnm||' - '||to_char(ROUND(x_tnmls,0),'999G999G999')); htp.p(' Ton Miles and '); htp.p(to_char(ROUND(x_tnmls/ttl_dys,0),'999G999G999')||' Average Ton Miles per Day

    '); END LOOP; CLOSE c_proj; htp.p('

    Customer Totals - '||to_char(ROUND(z_tnmls,0),'999G999G999')); htp.p(' Ton Miles and '); htp.p(to_char(ROUND(z_tnmls/ttl_dys,0),'999G999G999')||' Average Ton Miles per Day

    '); END;

    I created it as a procedure because the APEX limits you to only 32K of a character value in a region. If you do a lot of formatting, it can eat up hastily. Of more, that way I don't have to change the procedure to change the output, not the page APEX itself.

    Oh, and here's the code for the region of PL/SQL:

    begin
      PROC_TONMILERPT(to_date(:P1345_DATE_FROM,'MM/DD/YYYY'), to_date(:P1345_DATE_TO,'MM/DD/YYYY'), :P1345_CUSTOMER);
    end;
    

    You will notice that it accepts parameters from a region of "filters" to determine the results.

  • Difference between Master detail report and Drill Down

    Hello

    I want to know the difference between Master detail report and Drill Down. I'm confused about their use. Can inform you when to use what?

    Help appreciated

    Pradeep

    You must first help yourself by searching instead of these initial questions.

    Master in detail:
    As a condition of purchase order. The master is arrested in detail, and the details are elements...

    Dril Down:
    As the opening of report the report as hyperlink for more details...

    -Clément

  • Search in master-detail reports

    Hello

    I created master/detail pages in an application. The captain produced from the report model is not the online search feature that is there in the pages of standard report. Can someone tell me how a) produce master/detail with the included search feature or b pages) add the search functionality in the Master page of report post?

    Thank you!

    Tom

    Tom,

    To simplify things, change your 'Master report', change the report type "SQL query" and click on "Apply Changes". Now, if you change the report again, you can edit the SQL code directly in the region of origin.

    Now, to create point text say P1_FILTER and the button to apply the filter. Change your SQL query similar to the

    SELECT num_col1, char_col2, char_col3
    FROM tbl_tmp
    WHERE TO_CHAR(num_col1) = NVL(:P_FILTER, num_col1)
    OR char_col2 = NVL(:P_FILTER, char_col2)
    OR char_col3 = NVL(:P_FILTER, char_col3)
    

    You can see this at [http://apex.oracle.com/pls/otn/f?p=38121:17]

    See you soon,.
    Hari

  • Failed to add new detail in the form of master detail record

    Hello

    I created a simple database application from scratch by selecting the start a page master detail. This has generated a report (for the parent) and a page of form (for the child). On using the form to add a new record to the child, the following error is generated:

    Internal error in the routine mru: ORA-20001: error in MRU: line = 1, ORA-01400: cannot insert NULL into ("Student" 1.) "" DELEGATE. " "" ""DELEGATE_ID"), insert"Student"1." DELEGATE values' ('DELEGATE_ID', 'CLIENT_ID', 'NAME', 'INITIAL', 'SEX', "SPECIAL_NEEDS") (: b1,: b2,: b3: b4,: b5,: b6)
    Error failed to process the update.

    The field 'child' in the error message is automatically hidden on the form and I guess on the generation of this form using the wizard I would have had the opportunity to link the field delegate_id to a trigger or a sequence like this seems to happen when you create a scratch from application database using other types of page. I'm new to Apex then I would be grateful if someone could let me know why this default behavior occurs.

    Kind regards

    Kevin.

    I tried for Apex 4.0.2 (my version) and 4.1 (on apex.oracle.com) and I'm wondering for the production of main PK and details in both versions.

    What are your steps exactly in the wizard? Like this?
    Create page-> form-> form detailed Master
    Now you see a list of steps sub whose "Source of primary key.

    Oh I see "Create an Application Assistant." in your message. Start with an empty application (blank page) and use the wizard to create a Page. Maybe it's the difference.

    Published by: InoL on November 18, 2011 09:27

  • Master-detail functionality between the regions of PL/SQL and IR possible?

    4.2.1

    THM 2

    Hi all

    We have two regions in a page. The upper region is a region of PL/SQL that lists the 5 best wages by Dept. This was not done using traditional reports because management wanted a "dashboard" as the look and feel that is already existing and what is happening in that it is a pl/sql block that has the sliders and the necessary HTML, CSS in there.

    Below that is an IR when the user clicks on the dept of region of PL/SQL, it will refresh the IR below to display all employees in this Department

    Top of the page shows region of PL/SQL

    EMP name Dept wage

    Emp1 10 10000

    EMP2 10 950

    Emp3 20 800

    The Dept field is a hyperlink.

    When we click on Dept on this region of PL/SQL

    The lower IR should be updated (without submit page)

    Output

    Emp1 10 10000

    EMP2 10 950

    It is a kind of master-detail relationship between PL/SQL and Report (Detail) (Master) area Interactive

    We can hyperlink in the SQL in pl/sql area, but you wonder how trap line and pass the dept id to the IR and get this region to refresh account?

    All suggestions from the experts?

    Thank you

    Ryan

    It is a way to pass the info in connection

    Perform the dynamic Action of the link column report

    The dynamic action can submit the session state value, and then refresh the IR.

    On either by the way, you must create dynamic PL/SQL region to solve this problem, see this

    APEX reports: layout custom with a column named (model line)

Maybe you are looking for