Grouping report

Can I create a report where data is grouped on the basis of some columns in the query
For example :My report should show like
Assigned ID Date Description
To
====== === ===== ============
ALAN01 12345 23-JUN-07 This is the desription
Entry Date :23-JUN-07 Entry Text:Pass to ABC dept
Entry Date :24-JUN-07 Entry Text:Pass to DEF dept
ALAN02 12346 12-JUN-07 This is the desription
Entry Date :12-JUN-07 Entry Text:Pass to ABC dept
Clearly there are two sections in the report for each row
The first one is the person , id, date and description
For this data there may be multiple entry date and entry text
In normal view , the person , id, date and description repeat
for every entry date and entry text.
Is there any way I can group them ?

Rakhee,
This is essentially a Master-Detail report. You can do this with Advanced PDF Printing (see the new how to http://www.oracle.com/technology/products/database/application_express/howtos/howto_master_detail_pdf.html).
To do this in a region displayed on a page your can:
1) Create two reports, one that displays the master and a second that displays the details and then your users will need to scroll through each master.
2) If you want one report that runs down the page with all the data, you can either do some creative sql using a union or you can use pl/sql, htp.p and a loop to grab each parent, print it and then grab the children for that parent and print those.
As you can see, there is no report region out of the box that handles this Master-Detail situation.
Good luck.
-- Sharon

Similar Messages

  • How to create Matrix with Group report layout in xml

    Hi,
    i would be glad if anyone could tell me How to create Matrix with Group report layout in xml?
    Here i am attaching the required design doc
    below is the code
    select COST_CMPNTCLS_CODE,
    -- crd.RESOURCES,
    NOMINAL_COST,
    cmm.COST_MTHD_CODE,
    -- crd.COST_TYPE_ID,
    gps.period_code
    -- ORGANIZATION_ID
    from CM_RSRC_DTL crd,
    gmf_period_statuses gps,
    CM_MTHD_MST cmm,
    CR_RSRC_MST crm,
    CM_CMPT_MST ccm
    where gps.period_id = crd.PERIOD_ID
    and crd.cost_type_id = cmm.cost_type_id
    and crd.RESOURCES = crm.RESOURCES
    and crm.COST_CMPNTCLS_ID = ccm.COST_CMPNTCLS_ID
    and gps.period_code in (:p_period1, :p_period2, :p_period3)
    group by COST_CMPNTCLS_CODE, cmm.COST_MTHD_CODE, gps.period_code,NOMINAL_COST
    order by 1,2,3,4.
    The o/p of the report shoud be as given below
              Period-1     Period-2     Period-3     Period-4
    COMPONENT                         
    LABOUR - DIRECT                         
         Actual     1     2     3     4
         Actual Rate     10     10     10     10
         Standard Rate                    
         Var%                    
    DEPRICIATION-DIRECT                         
         Actual                    
         Actual Rate                    
         Standard Rate                    
         Var%                    
    OVERHEAD - DIRECT                         
         Actual                    
         Actual Rate                    
         Standard Rate                    
         Var%                    
    LABOUR - IN DIRECT                         
         Actual                    
         Actual Rate                    
         Standard Rate                    
         Var%                    
    Thanks in advance

    Your friend is obviously not a reliable source of HTML
    information.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mr.Ghost" <[email protected]> wrote in
    message
    news:f060vi$npp$[email protected]..
    > One of my friends advised me to develop my whole site on
    the layout mode
    > as its
    > better than the standard as he says
    > but I couldnot make an ordinary table with rows and
    columns in th layout
    > mode
    > is there any one who can tell me how to?
    > thanx alot
    >

  • PCA Group Report in New GL

    Hello Experts
    If I use the  new GL with PCA, My profit center report and profit center group report which node shall I check  it (FI OR CO ) ?
    Because no profit center document is generating  so we will not get any profit center group report in controlling module
    At the same time  we don’t have any PCA group  report in FI module
    Please suggest me  If I am wrong please correct me.
    Thanks
    Venkat Sri

    Hi VS
    You need to draw your reports from within the New GL only..
    I think in most of the New GL reports starting with S_PL0, you will have the option to enter the From and To range
    Additionally, in FGI3 / FKI3 / FDI3 reports, you can create a SET (GS01) and use it in the form definition.. The SET is as good as your PC group
    Nevertheless, there is a workaround  - If you use SEGMENT in the PC master data, that will also serve the purpose to group the PCs (Though Segments are not meant just for that)
    Br. Ajay M

  • Help! Matrix Group Report

    Hi All,
    My tables are
    Petty_cash_voucher P :- voucher_date,terminal_id,currency_code,account_code, amount
    Terminal_master T :- terminal_id,terminal_station_code
    Ledger_codes L :- account_code,account_description,accound_main_head_code
    Account_main_heads :-
    Account_main_head_code, Main_head_description
    im looking for a MATRIX WITH GROUP REPORT should look like this
    1st group : CURRENCY
    2nd Group : Main_head_description
    Row field is : account_description
    Column field is : Terminal_town_code
    Matrix CELL is : total_amount.
    here i should see all my terminal_towns though the transactuons existed or not for that day. letssay there are 22 terminals, but today i have 2 terminals only transactions, but i need to see 22 as columns with NULL values. and for ledgers, main_heads what ever existed only. Ex: i have 100 ledgers with 20 Main heds, but there is 2 only transactions happend, i should see 2 group by main_head with 2 terminsla having values remiaing termils with null values.
    i wrote the query like this , but it is not giving all terminal codes , giving only values existed.
    SELECT
    P.currency_code,
    T.terminal_town_code,
    P.account_code,
    L.account_description,
    MH.account_main_head_description,
    SUM(P.amount) total_amount
    FROM
    terminal_master T,
    petty_cash_voucher_master P,
    ledger_accounts L,
    account_main_heads MH
    WHERE
    T.terminal_id = P.account_to_terminal (+)
    AND
    L.account_code (+) = P.account_code
    AND
    MH.account_main_head_code (+) = L.account_main_head_code
    AND
    P.voucher_date (+) > = '16-jun-05'
    AND
    P.voucher_date (+) < = '16-jun-05'
    GROUP BY
    P.currency_code,
    T.terminal_town_code,
    P.account_code,
    L.account_description,
    SH.account_main_head_description.
    Thanks in advance.

    Posting twice is not going to get you an answer quicker - post some insert statements with actual data, the results you are seeing, and the results you expect!
    You'll find most people are more than willing to help, but this is less a reports issue, and more a sql issue. So if you want a quick response, you must give as much information as you can!

  • NEED HELP IN MATRIX WITH GROUP REPORT

    Dear All,
    I need small help in MATRIX WITH GROUP REPORT In Report Builder Test Report
    In my report, having periods as rows and location as columns as shown below,
    1) LOC-A
    JAN-10 FEB-10
    ITEM-GROUP -1 1 2
    ITEM-GROUP-2 3 4
    ITEM-GROUP 3 5 6
    2) LOC- B
    MAR-10 APR-10
    ITEM-GROUP -1 7 8
    ITEM-GROUP-2 9 10
    ITEM-GROUP-3 11 12
    But comming to my requirement, the periods should be in fix in matrix as shown below
    1) JAN-10 FEB-10 MAR-10 APR-10
    LOC-A
    ITEM-GROUP -1 1 2
    ITEM-GROUP-2 3 4
    ITEM-GROUP 3 5 6
    LOC- B
    ITEM-GROUP -1 0 0 7 8
    ITEM-GROUP-2 0 0 9 10
    ITEM-GROUP-3 0 0 11 12
    I am unable to get this kind of output format
    Please kindly waiting for reply from our team....
    Regards
    krishna.P

    For the periods, create a seperate dummy query and then use it as column group in the multi query matrix.

  • Borders in Matrix with Group Report  Missing in Web view

    Please help.
    I have a matrix with group report. When it is viewed in Report Builder live preview is fine, but when I preview in web I got two problem
    Problem 1 - preview as HTML
    No borders? all my cell borders, frame borders gone missing.
    Problem 2 - preview as HTML CSS
    The borders are there, but some data in the matrix report displayed wrongly.
    For example, the data is "01 APR 2000 1800 - 20 APR 2000 2000", what is showing in the web view is actually
    "01"
    "APR"
    2000
    1800
    i.e., is broken down into few lines.
    Can anyone please help. Btw I am using Oracle Report 6i.
    Thanks.
    Joshua

    For Simple HTML output, you can only get horizontal lines out of Reports. You will lose all vertical lines as well as other graphical objects (eg: polygons, polylines, etc.) This is because these objects are not supported natively within HTML.
    However, for HTMLCSS, you should be able to get a lot closer since rectangles are supported. Though again; polygons, polylines, etc. are not supported.
    Not sure what is happening to your text, possibly an issue with browser settings or you may need to reduce the font size in Reports to get what you want.
    As has already been suggested, for better WYSIWYG output for the web from Reports, PDF is the way to go.

  • Conditional Display Of Headings on Grouped Report

    I have a grouped report in 2 seperate tables. I want to print the values of 'H1' and 'H2' (which are my headings for 'Group:' and 'Name:') only 1 time per page. The grouped data needs to print on every occurance. How do I do that?
    Group: 1 Name: Bob
    ___001
    ___002
    ______2______Tom
    G
    H1 GROUP_FIELD H2 NAME
    F SECTION PERIOD E
    E
    G= <xsl:for-each-group select="DOCUMENT/REGION/ROWSET2/ROWSET2_ROW" group-adjacent="GROUP_FIELD">

    try this
    you can say it as display it as header of the table & repeat on top of every page in table row properties.
    And the H1 and H2 is in the loop, so it would ideally repeat for all the instances of row.
    May be we can limit for only one time, and not as one time on every page.
    in that too, you have value which is changing next to the H1 and H2.
    so it is adding little more confusion to your requirement.
    alternatively send me the xml and template and existing sample output.

  • Problem: Building an Across Group Report

    Hello all,
    I have an Across Group Report, but can't create a design / layout what i want (explained more detail as shown on the images).
    Current report when it's running:
    http://img259.imageshack.us/img259/750/01before.jpg
    The final layout that what i want:
    http://img9.imageshack.us/img9/1723/02after.jpg
    Environments:
    - Oracle Developer Reports 10g R2
    - Oracle Database 10gR2
    Anyone have an idea?
    Thanks.
    Best regards,
    Rob

    Hi,
    Can you please attached your layout Formate. Given Link is not working

  • Ssrs group report expand-collapse in html render

    I created a ssrs report in a server and this report has row groups. My use in the report is through my website as i use the reportexecutionserivcesoap to render the report in HTML4.0 format.
    I put the html result (after i set the parameters in my app server) in my website and the table looks good but the problem is that when i click the expand '+' icon of the group i get an error: "This report requirea a default or user-defined value for
    the report parametrt". I have read that the expand button sends a postback request to the report server so i assume that the postback request being sent without the parameters i already set.
    The ultimate behavior for me is the way the excel render works - all the data is already there, its just hided and when i click the '+' button the data in the group is visible again but i didnt find a way to change the html behavior...
    What can i do so the parameter (wich i noticed that exists in the html result in tags) will be sent to the report server in the postback request
    thanks ahead

    Hi alon0230,
    According to your description, when you use the reportexecutionserivcesoap to render the report in HTML 4.0 format, you comes an error as soon as you click the expand button.
    In your scenario, I would like to know if you add the subreport as the expanded content, and the subreport only run when the parameter values are specified. If so, please specify the parameter values for the subreport.
    Besides, since you mentioned you are using the reportexecutionserivcesoap to render the report, could you tell me which application you are using and how it works. And about the ultimate behavior you took, do you mean that you are exporting the report to
    Excel? Or render the report as Excel format with URL access? Please provide report design and some screenshots for our analysis.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • *Maximum report in one report group (report painter)*

    Hi SAP Experts,
    I'm doing some job on report painter, issue on this is the number of reports in one report group,because in my case I can only insert 7 reports in one report group. Is there any possible way to extend the maximum report allowed in one report group? I'm new in our SAP group & this is my first time to do job in report painter . .
    Help from you experts would be highly appreciated. .
    Thanks.  .God Bless. .

    Hi Krishma,
    You can save this workbook to your PC and email it to your user. They need to open the workbook (with Bex running in Excel). When they click the refresh button they system will prompt them to log on (if they are already not logged in) and then the queries will be executed.
    Hope this helps...

  • Account Group Report

    Dear All
    Is it possible to see the Vendor balances Account Group wise.  The user wants to only enter the Vendor Account Group which he gave during configuration and wants a report based on that Account Group...
    Thanks & Regards
    Kanwaljit

    Hi,
    Give the number range of that group.
    OR
    Use the worklist and put all the vendor relating to that group.
    OR
    Using the Custom Report you can achieve this, copy the FK10N and have selection criteria along with the field 'ACCOUNT GROPU' - on execution first system has to check the vendors in that range from the LFA1 table and execute the vendor balance report.
    OR
    S_ALR_87010032
    VVR

  • How to display  "Continued......."   in XML Group Reports.

    Dear All,
    I have developed one XML Report. This is group above report. Suppose if any group contains data more than one page then I have to display the text "Continued......." at the bottom of page except last page of the group. Plz tell me the solution.
    Thnx in Advance.
    Mash

    Hi,
    I have also faced such type of problem but i did not get any geniune solution, What i did is that, I just approx. count the total no of characters can occurs on the single page and just put the condition on that, if the no of characters become larger than that then write like "Continued...."
    eg;
    <?xdofx:if Charactercount > 1000 then 'Continued..'
    end if?>
    you can easily caluclate no of characters in the particular field through oquery also.
    Thnx

  • Material Group Report

    Hi All
    SD system have material group 1 to 5 (Sales Org View in Material Master).
    I want to see report drill down to Material Group.
    Could you tell me how to show report in each Material group (quantity, value...).
    Thank and Best regards,
    Thang

    Hi,
    This can be possible by configuring SIS (Sales information system) ,t- code mcsi
    select a table with material group and active the table and run it in mcsi
    The report will with give material group
    Thanks

  • Customer group report

    Dear Experts,
                         customers are classified based on their groups
    For example:
    Customer group
         Customer 1
         customer  2
         customer  3
    Sales report is required based on Group.Is there any sales & dispatch std report based on customer group

    Hi,
    go to Logistics, sales and distribution, SIS, Standard Analysis, there are N number of reprts. search for the reports in info system one by one u may get what u are looking for.  if not available here go for the development of Zreport.
    regards,
    sadanandam kasarla
    Edited by: Sadanandam Kasarla on Feb 20, 2009 11:03 AM
    Edited by: Sadanandam Kasarla on Feb 20, 2009 11:05 AM

  • Summary page in a Detail Group Report

    hi,
    I made a Grouped matrix report. The details comes then the summary of the group ...
    I need at the end of the report only group summaries. i have n number of groups. after the end of the report i need a summary report groupwise.
    i am using Reports 6i. how can we achieve this.
    thank you

    For this you have to create a separate layout within the same report. Your first layout is Matrix and second would be Group layout. And for second layout you will have to create a new query (but same as used for Matrix).
    Hope this helps.

  • Group report help

    i want to create report in Oracle D2k (Reports 6i). Please help.
    i have 3 tables.
    1 master table: school with school_id primary key
    2 detail tables: dept & employee with school_id foreign key in both
    Now I want report like this:
    1 Delhi Public School
    school_id dept id dept name
    1 10 chemistry
    1 20 Physics
    school_id Employee_id Employee_name
    1 100 ABC
    1 200 XYZ
    2 Punjab Public Shool
    school_id dept id dept name
    2 10A Computers
    2 20B History
    school_id Employee_id Employee_name
    2 A100 12ABC
    2 C200 12XYZ
    Please help. thanks in advance.

    want to create report in Oracle D2k (Reports 6i). Please help.
    i have 3 tables.
    1 master table: school with school_id primary key
    2 detail tables: dept & employee with school_id foreign key in both
    Now I want report like this:
    1 Delhi Public School
    school_id dept id dept name
    1 10 chemistry
    1 20 Physics
    school_id Employee_id Employee_name
    1 100 ABC
    1 200 XYZ
    2 Punjab Public Shool
    school_id dept id dept name
    2 10A Computers
    2 20B History
    school_id Employee_id Employee_name
    2 A100 12ABC
    2 C200 12XYZ
    Please help. thanks in advance.
    Try below
    Select report type as group above
    sql query is like this :
    select a.schoolid, a.schoolname, b.details
    where
    a.schoo.d = b.school id
    for group above use scholl id
    You will get what you mentioned

Maybe you are looking for

  • VBA- Code behind button not working

    I am trying to add a vba code behind a close button to close a form but error keeps coming up. Each time i click the close button a Compile Error message: Sub or Function not Defined, keeps on coming up.  Code is below Private Sub cmdClose_Click() On

  • How do i get rid of yahoo as home page

    I just updated to Firefox 4beta. I can't load igoogle, it freezes. I don't want Yahoo as my homepage and I can't get rid of it. I have no tool bar for my bookmarks. I don't think I like this new Firefox. I will use Internet Explorer until I hear back

  • Convert vhd

    Hi, can i convert a dynamic vhd to fixed vhd or vhdx but only insert to the fixed vhd the actual size of the used space that is in the dynamic vhd? THX

  • When importing my photos from iPhone i see all my photos as duplicates before importing

    while trying to import my photos from my iPhone6 to macbook pro using iPhoto i see my pictures as duplicates before importing this the first time i get this problem

  • Currency Field on the custom sceen

    Hi Friends I have developed a custom screen and the input fields are the custom table fields. I have created a work are in the program for that custom table and placed them on the screen, now my problem is I have to currency fields (WRBTR and DMBTR),