Quick Calculation - Percentage

  • Last update:  2024-01-26
  • Overview

    Application Scenario

    The function can be used when you need to calculate the proportion of the data in chart or table components.

    For example, you may need to calculate the proportion of the sales volume in each region and area to the total, as shown in the following figure.

     1.png

    Function Description

    You can use the Percentage function in Quick Calculation.

    iconNote:
    This function cannot be used in detail tables.

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

    Percentage

    Concept

    The Percentage function is to calculate the percentage of the current dimension data out of the total sum of all dimension data in the indicator, indicating the percentage of a single value out of the total value of the indicator.

    For example, you may want to display the proportion of sales volume of each General Region and view the sales volume of each Specific Area when all region nodes are expanded, as shown in the following figure.

    2.png


    Percentage Calculation

    1. Use Store Sales Data to create a group table, as shown in the following figure.

     3.png

    2. Click the icon 企业微信截图_17034958875941.png of the Sales field and choose Quick Calculation > Percentage.

     4.png

    Percentage Calculation Using Functions

    In addition to the Quick Calculation function, you can also use the following formula for percentage calculation.

    SUM_AGG(Contract Amount)/TOTAL(SUM_AGG(Contract Amount))

    In-Group Percentage

    Concept

    The In-Group Percentage function is to calculate the percentage of current dimension data to the total sum of the current group.

    For example, you may want to display the proportion of the sales volume of each General Region and view the proportion of the sales volume of each Specific Area in each region to the corresponding General Region when all region nodes are expanded, as shown in the following figure.

    5.png

     

    Percentage Calculation

    1. Use Store Sales Data to create a group table, as shown in the following figure.

     6.png

    2. Click the icon 企业微信截图_17034958875941.png of the Sales field and choose Quick Calculation > In-Group Percentage.

     7.png

    In-Group Percentage Calculation Using Functions

    In addition to the Quick Calculation function, you can also use the following formula for in-group percentage calculation.

    SUM_AGG(Contract Amount)/TOTAL(SUM_AGG(Contract Amount),1)

     


    附件列表


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