Table Field Grouping

  • Last update:  2024-01-30
  • Overview

    Application Scenario

    If you need to group and classify dimension fields in a table, you can use the table grouping function.

    For example, you can group date fields by year or group fields by date.

    Function Description

    The grouping function is available for group tables and cross tables but not for detail tables.

    Dimension   Field Type

    Grouping   Function

    Text

    Group Records with Same Values and   Customize Grouping.

    Value

    Group Records with Same Values and   Interval Grouping Setting.

    Date

    Date Grouping

    Group Records with Same Values

    You can download the example data.Contract Demo.xlsx

    Create an analysis subject and click Local Excel to upload the example data, as shown in the following figure.

     1.png

    2.png

    Use the Contract Demo table to create a cross table, as shown in the following figure.

     3.png

    Group Records with Same Values is performed for group tables and cross tables by default.

    For example, table fields are merged and divided into four groups by the Type of Contract field by default, as shown in the following figure.

     4.jpg

    Customize Grouping

    This function allows you to add groups by yourself and to reclassify existing groups.

    For example, you can customize the group of the Type of Contract field by forming long term agreement and Long-term agreement orders into one group named Long-term order.

    Click the icon  and select Customize Grouping from the drop-down list, as shown in the following figure.

     5.jpg

    Click Add Group and set the group name to Long-term order, as shown in the following figure.

     6.png

    Move long term agreement and Long-term agreement orders to the Long-term order group, and click OK, as shown in the following figure.

     7.jpg

    Effect Display

    The long term agreement and Long-term agreement orders fields are merged into a Long-term order field, as shown in the following figure.

     8.jpg

    Interval Grouping Setting

    If the dimension field is a value-type field, Interval Grouping is performed by default. (Value-type fields can be converted into dimension fields. For details, see Converting Indicator Fields into Dimension Fields.)

    Creating a Group Table

    Convert the Lump Sum field into a dimension field, as shown in the following figure.

     9.jpg

    Click the Group Table icon in Chart Type and drag the fields into the analysis area, as shown in the following figure.

     10.jpg

    Click the icon  of the Lump Sum field, and you may find that Interval Grouping Setting is performed by default, as shown in the following figure.

     11.jpg

    Interval Grouping Setting provides two grouping options: Custom and Auto.

    Custom

    Click Interval Group Setting to enter the group setting page, as shown in the following figure.

     12.jpg

    Divide the Lump Sum field into two groups by 0-1000000 and 1000000-Unlimited intervals, for example, and name them Small-amount Order and Large-amount Order, as shown in the following figure.

     13.jpg

    The Lump Sum field is divided into Small-amount Order and Large-amount Order in the table, as shown in the following figure.

     14.jpg

    Auto

    Select Auto from the drop-down list of Grouping Method on the Interval Grouping Setting page.

     15.jpg

    You can set the interval on the page and automatically get the number of groups. For example, you can set the interval to 9000000, as shown in the following figure.

     16.png

    Click OK. The Lump Sum field is divided into five groups, with an interval of 9000000.

     17.jpg

    Date Grouping

    Use the Contract Demo table to create a group table, as shown in the following figure.

     18.jpg

    Date-type fields are grouped by Year-Month-Day by default. FineBI provides various grouping methods for data-type fields, as shown in the following figure.

     19.jpg

    For example, you can change the grouping method of the Contract Signing Time field to Year, as shown in the following figure.

     20.jpg

    The effect preview is shown in the following figure.

     21.jpg

     


    附件列表


    主题: Creating a Visual Component
    • 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