Converting Dimension Fields into Indicator Fields

  • Last update:  2024-01-18
  • Overview

    Version

    FineBI Version

    JAR Package Version

    6.0-

    Application Scenario

    If you need to get the distinct count value of a dimension field, you can use the Convert to Indicator function.

    Function Description

    The function can be used in the following two situations.

    1. Directly convert dimension fields (date and text fields) into indicator fields to get their distinct count values. For details, see section "Data Preparation."

    2. Dimension fields (value fields) converted from indicator fields can be converted back into indicator fields. For details, see section "Distinct Count Obtaining."

    iconNote:

    If the dimension field is a calculation field, the converted indicator field does not support detailed filtering.

    Procedure

    Data Preparation

    You can download the example data.Store Sales Data.xlsx

    Create an analysis subject and upload the data, as shown in the following figure.

    与1合并 (2).png

    2 (1).png

    Distinct Count Obtaining

    Directly convert dimension fields into indicator fields to obtain the distinct count dependent on the dimension.

    1. On the component editing page, select the Store Name field, click the icon xxx and select Convert to Indicator from the drop-down list, as shown in the following figure.

    2.png

    2. You can obtain a new indicator field named Store Name (Distinct Count). Drag the Store Style field into Dimension and the Store Name (Distinct Count) field into Indicator to view the number of stores for each different style, as shown in the following figure.

    3.png

    Dimension Fields Converted from Indicator Fields

    Dimension fields obtained through the Convert to Indicator function can be converted back into indicator fields, as shown in the following figure.

     4.gif

    附件列表


    主题: 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