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.

Similar Messages

  • 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).*

  • 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

  • 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

  • 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.

  • 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 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

  • 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
    <?for-each:DEPT_ROW?>
    //-- store the master key in a variable
    <?xdoxslt:set_variable($_XDOCTX,'v_DEPTNO',DEPTNO)?>
    //-- Output of master data
    <?DEPTNO?>
    <?DNAME?>
    //-- Loop through second dataset looking vor all data suitable to the current master key
    <?for-each://EMP_ROW[xdoxslt:get_variable($_XDOCTX, 'v_DEPTNO')=DEPTNO]?>
    <?ENAME?>
    <?JOB?>
    <?end for-each?>
    <?end for-each?>
    Hope that helps
    Rainer

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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.

  • Is it possible to create group above report between to different data model

    Hi,
    I am having one problem.. I am working on Bi publisher 10...
    I have to create 2 different data models.. which i have done successfully.... its showing xml data perfectly.. but my problem is i want my 2nd data model to be dependent of 1st model...
    when i am designing my template ... i am not able to create a group by report..
    i want my report like this ...
    ------------------------------------------------------------ (fetching data from first data model)
    abc xyz pqrs
    --------------------------------now their it must show the data from second data model... dependent on first model...
    simply i want to know is it possible to create group above report between to different data models..

    Thanks for your response..
    I already tried this.. But its not working ..
    i want parent information from data model 1
    then all detail information related to parent template ...from data model 2..
    but its not working.. its giving me all parent informations first then all details informations..

  • Problem facing for Exporting a Group above report to excel

    Hello all any one can tell me How to set columns and rows of a Group above to report to export to excel.
    I have a group above report but when i export it to excel the Columns and rows are out of order.Tell me what type of sequence should apply on columns and rows?????????

    Adeel Aslam wrote:
    No Dear I mean I have called the Procedure of Exporting report to Excel On Each Field On Format Trigger.But whan i run it and Export it Then columns and Rows are out of Order on Excel sheet.I only want to know standard sequence that i should apply in smart trigger that the fields are shown in excel same like on report.
    RegardsI'm guessing you're not referring to SQL and PL/SQL then.
    Oracle doesn't have a built in procedure for exporting to Excel, so how the data is being ordered is going to depend on the code in that procedure and whoever wrote it. If you need more assistance you need to give us more details of what it's doing.

  • Generate text file from a group above report

    i have problem in generating report in developer 6 report builder my report is master -detail(group above report)
    when i generate text file or csv file then my report is not in group above,master records are repeated along with every detail record.
    is there any solution that i generate group above report in text or csv file
    instead of pdf,rtf,html
    please mail me
    [email protected]

    Can you try adding this in your URL delimited_hdr=NO
    I am not sure it works.
    Just give a try

Maybe you are looking for

  • Connect mini dvi to mini display port

    I have recently I have brought a new macbook which has a mini DVI port to connect external monitors and I also work with IMac which have a mini display port attached. I would like to know if there is a way of attaching the macbook (with mini dvi) to

  • Need EXPERT's suggestion for APEX CHART SERIES

    Hello Everyone, I have been trying to solve an issue with my apex line chart. The scenario is as follows: I have a table called revenue. revenues per year are saved in it. and revenues are generated from three sources which are also saved in the same

  • What is time machine for?

    Hi I'm new to mac and was wondering if someone could tell me what its good for. is it just a program that helps backup my computer?

  • Please help to find the correct answers

    Hi, Please send an url to study about the below questions with short and easily understandable explanation with simple example.Please help to improve my knowledge for the below concepts. 1.     String 2.     String Buffer 3.     String Builder 4.    

  • Rookie Question! (Arrays)

    Hello, I hope this is the right forum: I have a simple Java Problem but i do not get it. Is like that: I have to swap values within an array e.g i have one array with 3 indices. Indice 0 (the first indice) has value 12. The middle indice has no value