Multi level Group Above Report

I have a multi level Group Above report like this.
School name : xxxx
Course1
Student1
Student2
Course2
Student1
School name : yyyy
etc...
No students are enrolled in some of the courses. I used the Outer Query in SQL to include those courses. Everything looks okay, except the header for the students are still appearing. how do I supress the student heading if no drecords are present?
Can somebody help me.
Thank you
David Smith

hello,
you will have to create a counter, that tells you the numbers of students (summary-column, function : count, reset on : course) and create a format-trigger on the heading that hides it when the number of students is 0.
regards,
the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Multi-query group above report creates more pages

    Hi,
    I have a multi-query group above report (paper only), the parent group creates 5 rows(subframes) all onto the same page, but then creates 4 more IDENTICAL pages!!?
    at the end I have 5 repating frames and 5 pages.
    If I set Maximum Records per Page to 1, I have 5 pages (IDENTICAL) with the first frame only...
    any idea?
    cheers
    Matteo

    hello,
    you will have to create a counter, that tells you the numbers of students (summary-column, function : count, reset on : course) and create a format-trigger on the heading that hides it when the number of students is 0.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Repeating frame hiding in Group above report with three levels of grouping

    I'm working on a group above report.I have 3 levels of grouping. ex: Consider emp table
    Group1: Hiring year
    Group2:Manager code
    Group3:Dept no
    The R1 frame is refered to Group1. R2 -Group2, wich will come inside R1.
    R3-Group3, which will come inside R3.
    Now R3 is the inner frame, R2 is the middle frame and R1 is the outer frame.
    I want to display the data of the frame R3. Based on the parameter i'm passing , I want to hide the R1 or R2. I used the format trigger, but it is hiding the inner frames also. But I want to hide only the outer frame,But I want the data of the inner frames.
    all the suggesstions are welcome. Thanks in advance

    Don't hide R1 and R2, i.e. don't use their trigger to display or display items. Instead, put all objects in a normal frame, and hide it depending on the parameters you meantioned.
    What will happen will be somewhat like this
    -- R1
    |-- Frame - ( use trigger to hide depending on parameters )
    | |---R1 Items
    |-- R2
    |---Frame - ( use trigger to hide depending on parameters )
    | |---Items
    |---R3
    |----Frame
    |---Items
    I hope this helps.

  • How to develop a group above report in mailing lable style

    i want to know the method to develop a group above report (multi level groups) in mailing lable style like yellow pages on reports 6i e.g.
    group 1: country
    group 2: province
    group 3: Industry
    group 4: product or service
    mailing lable: Company Name
    Address
    Contact No
    I will highly appreciate if someone can help in this regard
    M. Imran Shahzad
    [email protected]

    Post Author: V361
    CA Forum: Formula
    I am slightly confused, but perhaps you can create a formula
    Then group on the formula.  If this is not what you want, could you post some sample data, with the desired results.

  • Supress repeated labels in group Above reports o matrix group above reports

    Hi,
    I have a problem, because I´m brand new in reports.
    I've defined same reports.
    When I defined a Group Above Report or a Matrix with Group Above Report the labels appear repeated in the same page:
    Year 2006
    Level 1 Range 1-3 months 3-6 months 6-12 months
    Age
    < 16 1
    16-17 1 3
    18-24 12 6 2
    25 4 5 2Total Level 1: 17 14 5
    Level 2 Range 1-3 months 3-6 months 6-12 months
    Age
    < 16 1
    16-17 2 1
    18-24 8 12 2
    25 5 4 3Total Level 1: 15 17 6
    Is it possible not to repeat the labels "Range 1-3 months 3-6 months 6-12 months",? I want them to appear once per page.
    How can I do it?
    Please may anyone help me?
    thanks
    Beatriz

    Why should that be a bug? You have a custom requirement and have to find a way to fulfill it. But, what is your actual sorting order? Do you have only this three departments? If so, you could add an addtional column in your query like
    DECODE(DEPT,  20, 1, 10, 2, 30, 3, 4) SORTINGput that column in the same group as dept and sort after that new column.

  • Need a multi-level control break report displaying a cross-tab for each ...

    I need a multi-level control break report that displays a cross-tab report for each
    detail and subtotal. The individual cross-tabs are no problem. There are two issues:
    1) How to get many cross-tabs (thousands) to appear in one report.
    2) How to provide cross-tabs in-line on the multi-level subtotal lines.
    Here is a concrete example.
    Suppose the data base contains this table:
    road (
    id_number number, -- this is an artificial PK
    city varchar2,
    county varchar2,
    state varchar2,
    length number,
    owner varchar2, -- roads may be owned by cities, counties, states, and others
    surface_type varchar2 -- the surface type may be gravel, asphalt, concrete, and others
    The table is populated with several million records that include every
    length of road in a US city.
    It is OK to suppose that all the attributes in all the records are not null.
    Without the PK, there would be millions of duplicates,
    which should all contribute to the summed lengths.
    The report I need is like a control break report with a detail line for each
    city together with subtotals for each county and state and
    a grand total for the US at the end.
    However, each detail and total line needs to be a cross-tab report
    summing the length over the city, county, state or US
    (whichever is called for at that location)
    for each combination of owner and surface_type.
    so the report would have the following structure:
    a city cross-tab for the first city in county 1/state 1
    a city cross tab for the last city in county 1/state 1
    a cross-tab for count 1
    a city cross tab for the first city in county 2/state 1
    a city cross tab for the last city in county 2/state 1
    a cross tab for state 1
    a cross-tab for the US
    Any suggestions will be appreciated.
    This problem comes up because my client's legacy system,
    which is being replaced,
    already has such a report (in COBOL).
    Thanks!!!
    Steve
    PS, I know one ugly way to do it. Namely, make a variable for each
    possible combination of owner and surface. Then code an ordinary control
    break report. However, I am looking for something better.

    Hi Jenna_Fire,
    According to your description, you have a matrix contains total for each group on each level. Now your requirement is, when you click on any number (data field or total), it will go to the detail report which returns all the detail information of the people
    within the group scope. For example, if you click on the total of Active users in United States, it will return the detail information of Active users in New York and Texas. Right?
    In this scenario, we should set the parameter (@Country, @State, @City) allow multiple values in both main and detail report. And in Default Value (@Country, @State, @City), query out all distinct values. In the textbox which contains
    those total values, when set use these parameters to run the report, we only need to pass the parameters of parent groups. For example, if we click on the total of Active users in New York, we only need to pass Country, State, Status to detail report, and
    in the detail report, the City parameter will use all distinct values (Default Values) because we don't pass the City parameter. We have tested this case with sample data in our local environment. Here are steps and screenshots for your reference:
    1. Create parameter Country, State, City and Status in both main report and detail report. Set both Available Value and Default Value get values from query (Create a dataset for each parameter, use "select distinct [column] from [table]" as query). Set allow
    multiple values for parameter Country, State and City in both reports.
    2. In corresponding textbox, pass appropriate parameters in go to report Action.
    4. Filter data in detail report (in where clause or using filters).
    5. Save and preview. It looks like below:
    Reference:
    Using Parameters to Connect to Other Reports
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Urgent- Group Above Report

    Hi,
    I am facing problem in Group Above report this can be said in the schema of Scott as follows.
    I have developed group above report on Dept,Emp tables. It is showing all the data but the deptno =40 is not showing. The query used is
    select * from emp,dept
    where dept.deptno=emp.deptno(+)
    There I have also used formula column to calculate total salary for each department in front of each department. I case of dept no =40 it is also showing blank

    Hi Riaz
    The 'emp' table does not have employees in dept 40.
    Regards
    Sripathy

  • How to create a Group Above report using APEX

    I want to create a Group above report with more that one group using APEX. Is it possible to generate such a report using APEX. If so kindly let me know how to go about creating a Group above report with more than one group.

    Hello Srini,
    Thank you very much for the reply but I'm not into OBIEE... I want the required query to be processed and the output to be shown in xml layout to load into RTF document. The rest I can manage.. but please let me know how to get the .xml output with out using the report builder or the apps environment(concurrent prg submission)..
    Please let me know if any... urgent
    Thanks in advance
    Krishna

  • Break Column in Group Above Report - Causing Error in Data Groupings

    Since I'm required to designate at least one Break Column in my Group Above report, I created a dummy column in my SELECT statement. I did this so that I could designate the required minimum of at least one break column, but I designated one that won't have any impact on how the report is ordered, because it will be the same value (NULL) for every record. So, my SELECT statement starts out looking something like this:
    SELECT
    NULL break_column,
    column_1 column1_name,
    column_2 column2_name,
    column_3 column3_name,
    column_4 column4_name,
    column_5 column5_name
    I needed for the break column to have no impact on the ordering of the report because I need for the ORDER BY clause to completely control how the report is sorted, w/o any interference by a hard-coded break column. I need this because my intention is to make the ORDER BY clause dynamic, and a hard-coded break column with actual data would supercede the ORDER BY clause, thereby making it static.
    Everything is working correctly with regard to how the report is sorting the records designated as group columns; however, the detail columns are getting all messed up as far as what main record they're grouped under.
    By this I mean that when I designate only one break column, some details may display under the wrong group, where they're not supposed to. For example, each page consists of demographic info. about a specific record on a table, and the details listed under it should be the individual comments that have been made on that record. The issue I'm seeing is that for some records, it's showing comments from not only the record for that group, but it continues to list out comments made for other requests as well, when those comments should be displayed under their own respective records.
    Why is this happening when I designate only one break column, and how can I keep it from doing this?

    Did you get a solution for this?
    I have the same problem.
    Any help would be appreciated.
    Thanks,
    Madhu

  • Display Total in Group Above Report

    Hello,
    I have a group above report with month, product_id, product_name as group above fields I have product_entry_date, description, total_qty, actual_qty etc as display fields in my report.
    I would like to have a total and grand total for total_qty and actual_qty for product_id and product_name. Issue I am having is when I add a summary column for total_ qty and actual_qty, total is getting displayed for each month.
    How can I display total and grand for total_qty and actual_qty?
    Any help is highly appreciable.
    Thanks

    ponic wrote:
    Hello,
    I have a group above report with month, product_id, product_name as group above fields I have product_entry_date, description, total_qty, actual_qty etc as display fields in my report.
    I would like to have a total and grand total for total_qty and actual_qty for product_id and product_name. Issue I am having is when I add a summary column for total_ qty and actual_qty, total is getting displayed for each month.
    How can I display total and grand for total_qty and actual_qty?
    Any help is highly appreciable.
    ThanksIf you want to display total qty for each month and you already done it. as you says..
    total is getting displayed for each month.If not ,
    Take a summary column at month group >> at properties .. Summary Function : Sum , Reset at month group.
    and for grand total
    take a summary column outside the query. >> at properties .. Summary Function : Sum , Reset at report.
    Hope it works.
    hamid
    If someone's response is helpful or correct, please mark it accordingly.

  • How to design group above report manualy

    I want to design group above report manually. How can i define main repeating frame and then internal repeating frame like report builder.

    Hi,
    one possibel way is:
    //-- loop through all master values
    &lt;?for-each:DEPT_ROW?&gt;
    //-- store the master key in a variable
    &lt;?xdoxslt:set_variable($_XDOCTX,'v_DEPTNO',DEPTNO)?&gt;
    //-- Output of master data
    &lt;?DEPTNO?&gt;
    &lt;?DNAME?&gt;
    //-- Loop through second dataset looking vor all data suitable to the current master key
    &lt;?for-each://EMP_ROW[xdoxslt:get_variable($_XDOCTX, 'v_DEPTNO')=DEPTNO]?&gt;
    &lt;?ENAME?&gt;
    &lt;?JOB?&gt;
    &lt;?end for-each?&gt;
    &lt;?end for-each?&gt;
    Hope that helps
    Rainer

  • Group above report problem

    hi,
    To get clear idea i am using emp table as an example.
    I am creating a report using style GroupAbove and save it in .jsp file.
    I took empno as group .
    My report was displayed in this way:
    page 1:
    empno 7369
    ename job sal comm deptno
    simth clerk 800 0 20
    empno 7499
    ename job sal comm deptno
    allen sales 1600 30 30
    ramu manager 4000 0 20
    and so on...
    page2 :
    empno 7499
    ename job sal comm deptno
    raju clerk 500 0 10
    empno 7599
    ename job sal comm deptno
    ramu worker 300 0 40
    ..... so on
    But My result should be in this way :
    page 1:
    empno 7369
    ename job sal comm deptno
    simth clerk 800 0 20
    empno 7499(problem :Here i dont want to display heading of ename.... and so on)
    allen sales 1600 30 30
    ramu manager 4000 0 20
    page 2:(if next page starts then should start with heading of ename... and so on)
    ename job sal comm deptno
    raju clerk 500 0 10
    empno 7599
    ramu worker 300 0 40
    ..... so on
    If any one know this probelm help me soon
    it's very urgent
    with regard's
    vijay

    You may have been better to use deptno as the group column in your example, since I'm not sure that grouping on empno makes sense (and hence makes the example difficult to picture).
    That said, it seems that the problem is that you only want the details headings to be displayed once per page (for a group above report). This isn't going to be too easy, and will require some coding, but bear with me.
    The first thing to do is to create a PL/SQL package with a single boolean variable in it. This will be used a flag to determine whether the headers should be displayed.
    In the before report trigger, set this variable to TRUE.
    In the format trigger for the frame containing all the boilerplate labels, check to see if the variable is TRUE. If it is then set it to FALSE, and return TRUE.
    If it's not then return FALSE (to suppress the display).
    In the between pages trigger set the variable to TRUE.
    Hope this helps (and that I've understood the problem),
    Danny

  • Group above report - help please

    Good Morning,
    I'm trying to create a group above report that resembles the following:
    LETTER TYPE: 00001
    BATCH TOTAL NOREPLY
    1234 3 1
    2345 2 0
    TOTAL VOL. FOR LETTER 00001 5
    I've tried using:
    select ltrtype, batch, count(reply)
    from ltr
    where reply = 'N'
    group by ltrtype, batch
    which does give me the correct figures under the NOREPLY Heading, but I can't get the correct figures for the TOTAL heading (NOTE: The figures in the TOTAL column should be a total of both the reply = 'Y' and reply = 'N' for the ltrtype and batch - the figures in the NOREPLY column should be a total of only the reply = 'N' for the ltrtype and batch.) I hope this explanation is clear
    I've also tried eliminating the where clause, but then I get the correct figures under the TOTAL heading, but I can't get the correct figures for the NOREPLY heading.
    I've also tried using two queries and a data link, but I couldn't get that to work either.
    Any help would be greatly appreciated.
    Thanks.

    Go to report wizard and check the groups and fields tabs. Otherwise map the repeating frames accordingly.

  • Is this Oracle Reports bug – "break order property" in "group above" report

    Is this Oracle Reports bug – “break order property” in "group above" report
    Could anybody confirm that in "group above" report, we could only order the brake column's values with ""none" or "ascending" or "descending" provided by "break order property"?
    In the following example, “Dept” is brake column. Oracle Reports allows us to order values in “Dept” with “descending” provided by “break order property”:
    Dept 30
    job ename salary
    xxx xxx xxx
    xxx xxx xxx
    Dept 20
    job ename salary
    xxx xxx xxx
    xxx xxx xxx
    Dept 10
    job ename salary
    xxx xxx xxx
    xxx xxx xxx
    or “ascending” provided by “break order property”:
    Dept 10
    job ename salary
    xxx xxx xxx
    xxx xxx xxx
    Dept 20
    job ename salary
    xxx xxx xxx
    xxx xxx xxx
    Dept 30
    job ename salary
    xxx xxx xxx
    xxx xxx xxx
    I need to do:
    Dept 20
    job ename salary
    xxx xxx xxx
    xxx xxx xxx
    Dept 10
    job ename salary
    xxx xxx xxx
    xxx xxx xxx
    Dept 30
    job ename salary
    xxx xxx xxx
    xxx xxx xxx
    Could I do this? Could anybody confirm that we could never ever do this, or If yes, how?
    Millions of thanks for advice.
    M.Z.
    Edited by: jielan on Sep 18, 2010 8:23 AM

    Why should that be a bug? You have a custom requirement and have to find a way to fulfill it. But, what is your actual sorting order? Do you have only this three departments? If so, you could add an addtional column in your query like
    DECODE(DEPT,  20, 1, 10, 2, 30, 3, 4) SORTINGput that column in the same group as dept and sort after that new column.

  • How to display different text for labels in Group Above Report Oracle Repor

    Hello,
    Is there a way to change the text that is displayed in Labels in a Group Above Report? For example, I have a Group Above report with my columns of data and above the columns I have my column labels, but I would like to be able to display various text, i.e. different labels based on condition. In other words, Column1 label could say Column 1 or This is Column1, based on a condition. This is Oracle Report Builder 10.1.2.0.2.
    Thank you.

    968277 wrote:
    I'm thinking it is possible with a Format Trigger, but I've only ever returned (TRUE) or (FALSE). I am very new to Oracle Reports Builder. Thanks.Hi,
    Yes it's possible. and your are in the right place. use this true and false. For example
    /*true means display, false means don't display */
    if your_criteria_or_condition is ok then
    return (TRUE);
    else
    return (FALSE);
    end if;create as many label as your need and control with the code..
    Hope this works..
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

Maybe you are looking for

  • How to use different  numbers ranges in LSMW for a material in 8plants

    Hi all, I have to upload data using MM01 in LSMW by using external numbers. the MATNR for materials are like this 17240,22818,82618,487218,7218,26418 how can i take these numbers in LSMW.i have 61 material numbers to be extended to 8plants.can i uplo

  • Spry not displaying in IE

    This page will not display in IE (6 or 7): http://www.k-state.edu/infotech/training/sprytestC.html It displays fine in Safari and Firefox for mac & pc. Any ideas why it won't display in IE? Would the type of server it's on make a difference (unix vs.

  • Not able to View generated SQL statement

    Hi, In order to view the generated SQL statement in Receiver JDBC Adapter, i have done logSQLStatement as true in  CC still not able to view in RWB, also mesg protocol i m using in CC is "xml sql format", is it bcos of this i am not able to ? If yes,

  • Code generating in ITS

    Hello,   I have a link on ITS Page.   In  code I have written it as \dfsrb\DfsDE\LOC\aaAE\bb\cc\dd.html But in source code the link generated is \dfsrbDfsDELOCaaAEbbccdd.html Could you please tell me how this is happening. What could be measure to av

  • How to retrigger workflow after complete release

    Hi All I have configured workflow for PO release.My query is that suppose I complete the PO release through workflow and then through ME22N I change the Quantity/Value such that a new release strategy is captured by the same PO.Now how do I retrigger