Group Summary

  • Last update:  2022-02-08
  • I. Overview

    In the group report, it is often necessary to summarize the data in the group. Sales in each region are summarized as follows:

    截屏2021-01-25 上午9.46.30.png

    II. Examples

    1. Design report

    Create a new data set DS1, write the SQL query statement select * from sales_volume in the database query.

    Enter a title row and design the report, add two lines of Group summaryand Total below, C4 and C5 add formula: =sum (C3)


    2. Setting the parent cells

    1) Sum the sales volume, as shown in the figure below:

    13.png

    2) Set the left parent cell of Salesperson cell B3 as the region data column cell, cell A2, as shown in the following figure:

    14.png

    3) Set the left parent cell of group summary A4 and B4 as the region data column cell, cell A2, as shown in the following figure:

    15.png

    4) Cell C4 will follow the subtotal cell A4 by default, but in order to avoid mistakes in the template process, you can also set the left parent of cell C4 to cell A2, as shown in the following figure:

    16.png


    3. Effect preview

    Save the template and select pagination preview. The effect is as shown in I. Overview.

    The Group summary column is copied with the expansion of the parent cell - region. That is, group summary for each expanded region. The blue part in the figure.

    The Total column is at the bottom and will not be displayed until all the upper cells are expanded. The orange part in the figure.

    III. Template download

    For completed templates, please refer to

    %fr_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\ReportDesign\GroupSum.cpt

    Click to download the template:

    GroupSum.cpt

    Attachment List


    Theme: Report Application
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy