Ignore the string order when grouping

  • Last update:  2021-04-06
  • I. Overview

    1. Problem description

    When the order in the data group is different, the same group is displayed separately, as shown in the following figure:

    1.png

    The first line and the second line of Xiaoming Xiaoliang should belong to the same group, and now I want to merge them into one group display, as shown in the following figure:

    2.png


    2. Realization ideas

    Sort the strings in the group first, and then group and summarize them.

    II. Example

    1. Data preparation

    Create a new normal report, create a new built-in dataset, as shown in the following figure:

    3.png


    2. Report design

    1) Design the table as shown below:

    4.png

    2) Select cell C2, and set the data in the cell element to Summary and Sum.

    5.png

    3) Select cell A2, and perform custom grouping as shown in the figure below. Custom formula: JOINARRAY(SORTARRAY(SPLIT($$$,",")),",")

    6.png


    3. Effect preview

    Save the report, click pagination preview, the effect is as shown in the figure below:

    7.png

    Note: Support mobile terminal.

    IV. Template download

    For the completed template: %FR_HOME%\webroot\WEB-INF\reportlets\doc-EN\ReportApplication\BasicApplication\Ignore_string_order_when_grouping.cpt

    Click to download:

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