Grouped Report

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

    For online video learning, please see: parent-child cell settings.

    1. Version

    Report server version
    10.0


    2. Function introduction

    This chapter will describe grouped reports in detail. Grouped report is the most common and common report type among all reports, and it is also a report format supported by all reporting tools. In general terms, grouped reports are only vertical groups. The traditional way of making grouped reports is to divide the report into strips, and the user can specify groups according to a data binding wizard, summarize fields, and generate standard grouped reports.

    There are some irregular grouped reports in Chinese-style complex reports. The logical relationship of the reports is very complex. There are many layers in the actual report drawing process, as shown in the following figure:

    截屏2021-01-22 下午4.30.42.png

    II. Example

    1. Data preparation

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

    截屏2021-01-22 下午4.39.27.png


    2. Report design

    Write the table title information in A1 ~ C1 cells,

    Drag the fields in the dataset into the corresponding cells, select A2 ~ C2 cells, center the font, and select A1 ~ C2 cells to add a predefined style of sky blue inner and outer boxes to the whole table.


    Select C2 cell and select cell element > basic on the right property panel. Select summary > sum from the data settings drop-down box.



    3. Parent child cell setting

    Select cells B2-C2, select cell attributes > expand in the right property panel, and set the left parent cell as the default.



    4. Effect preview

    1) PC 

    Save the report and preview the report in pagination, as shown in Section I.2 below.

    2) Mobile

    The App has the same effect as the HTML5 side, as shown in the following figure:

    10.png

    5. Template download

    For completed templates, please refer to: %fr_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\ReportDesign\Group.cpt

    Click to download the template: 

    Group.cpt

    III. Grouping example index

    SubsectionBrief introduction
    Effect preview
    Cross ReportThe feature of the cross report is that the header is composed of the upper header and the left header. From a formal point of view, it is somewhat similar to a two-dimensional sequence in mathematics, and the data is classified according to rows and columns.
    Vertically grouped reportA common style in grouped reports is that the group heading (group header) is not on the left, but above or below.
    Group summaryQuantitative summarization of data within a group in a grouped report.
    Adjacent consecutive groupsAccording to the time sequence, if a field is consecutively the same, it will be displayed in combination
    Group by segmentThe grouping is divided according to the value segment of the data, and the records belonging to a certain value range are grouped into a group for display
    Merge groupingWhen reporting, use some values as the main viewing object, while other values are summarized in the "Other" group
    Custom formula groupingGeneral data is grouped by a certain field, such as a date field, each date corresponds to a group. At this time, the grouping is too detailed, and it is hoped to be grouped by year and week.
    Dynamically display the top N groupsIn the case of ordinary grouping, the first N groups are dynamically displayed, and the following groups are merged into other groups.
    Dynamically group by segment lengthThe realization data is dynamically grouped according to different segment length parameters.


    Attachment List


    Theme: Report Application
    Already the First
    Already the Last
    • 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