Wise Use of Grouping Adjacent Identical Values

  • Last update:April 28, 2025
  • Overview

    The main reason to use Grouping Adjacent Identical Values is to improve the performance of reports.

    The operation of grouping adjacent identical values merges the same data that are sequentially sorted in a dataset. Adjacent identical values grouping performs better than common grouping, especially when you want to group columns that have been ordered in SQL,

    Check the report calculation time as shown in the following simple example. The calculation time of adjacent identical values grouping is noticeably less than that of common grouping.

    Example

    Dataset Creation

    Create a dataset named ds1, and the SQL statement is as follows:

    SELECT Classno,StudentNO,Name,Sex,Course,Grade FROM STSCORE order by Grade,Classno ASC

    Table Design

    Design the report, and drag fields into the corresponding cells, as shown in the following figure.

     No.1.png

    Grouping Setting

    Common Grouping Setting:

    Select cell A2, and then select Common for Data Setting. Preview the report, and check Log. The following figure shows the data information for report execution.

    2.png

    Adjacent Grouping Setting:

    Select cell A2, and then select Adjacent for Data Setting. Preview the report, and check Log. The following figure shows the data information for report execution.

     3.png

    Attachment List


    Theme: Performance Optimization
    • 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