PROPORTION — Calculating the Proportion

  • Last update:October 09, 2025
  • Overview

    Version

    Report Server Version

    Functional Change

    11.0.4

    Added the PROPORTION function.

    Application Scenario

    You want to calculate the proportion that certain data occupies in the sum of all data.

    For example, calculating the proportion of monthly passenger volume in the total annual passenger volume, as shown in the following figure.

    应用场景.png

    Function Description

    The PROPORTION function is added in version 11.0.4 to support calculating the proportion of each expanded value in expanded cells relative to the total value.

    iconNote:

    The hierarchical coordinate function only supports cell calculations and does not support cross-sheet calculations, watermarks, JavaScript references, or default parameter values.

    Function Explanation

    (1) Overview

    Syntax

    PROPORTION(number)

    Calculating the proportion of each expanded value in expanded cells relative to the total value

    Parameter

    number

    Data range for calculating the proportion

    (2) Example

    A1 contains sales amounts of each region (vertically expanded), and PROPORTION(A1) represents the proportion of each region’s sales amount in the total sales amount.

    Example

    Report Creation

    Create a general report. The report calculates the proportion of monthly passenger volume in the total annual passenger volume.

    Data Preparation

    Create a built-in dataset Embedded1, as shown in the following figure.

    准备数据.png

    Report Design

    Enter text into cells A1 and B1, drag corresponding data columns to cells A2 and B2, and design the table as shown in the following figure.

    设计报表-1.png

    Insertion of the Hierarchical Coordinate Function

    Enter text in cell C1, and insert the hierarchical coordinate function PROPORTION(B2) in cell C2. This represents calculating the proportion of monthly passenger volume in total annual passenger volume, as shown in the following figure.

    插入层次坐标函数.png

    Format Setting

    Set Format to Percentage for cell C2 , and select #0.00% from the drop-down list, as shown in the following figure.

    设置格式.png

    Effect Display

    (1) PC

    Save the report and click Pagination Preview. The following figure shows the preview effect.

    PC.png

    (2) Mobile terminal

    The preview effects on the DataAnalyst app and HTML5 terminal are the same, as shown in the following figure.

    移动端.jpg

    Template Download

    Download the completed template by clicking PROPORTION.cpt.

    Attachment List


    Theme: Report Features
    • 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