Data Bar Setting

  • Last update:May 09, 2024
  • Overview

    Version

    FineBI Version

    Functional Change

    6.0

    -

    Application Scenario

    You want to compare data in a table.

    Function Description

    The data bar can visualize data, making it easier to directly observe data, as shown in the following figure.

    9dc15e9e2a3ab8076d78a55941df062.png

    Applied Scope

    The data bar setting is supported in the group table and cross table, but not in the detail table.

    Example

    Data Preparation

    1. Log in to FineBI, click My Analysis, select a folder, and click New Subject.

    1d1a11dce860eab0523f32b10ea5de4.png

    2. Click Local Excel and Upload Data.

    You can download the sample data: Contract Information.xlsx

    cc5c4af82630a1542b81a68f4ea76dc.png

    3. Click OK after the data is uploaded.

    40048fccf90af21a6342807b73f5823.png

    4. Click Save and Update and Exit and Preview. The data is created successfully.

    58eee2ddaaacd2bfb4ba0cce11f5d59.png

    Component Creation

    1. Click the Component tab in the lower left corner.

    2. Select Group Table in Chart Type.

    3. Drag the Contract Signing Date field from the to-be-analyzed area into Dimension, and the Contract Amount field into Indicator, as shown in the following figure.

    f4bedf09656e34c93e8482264e4c245.png

    Opening Data Bar

    Click the 4efe6ece518183e97ad5a12cc46666b.png button next to the Contract Amount field in Indicator and select Open Data Bar from the drop-down list, as shown in the following figure.

    2222223312344551.gif

    Setting Data Bar

    The explanation of the system default setting is shown as below.

    1. Values existing in the table cells are positive only:

    The length percentage of the data bar is 1 when cells contain the maximum value. By contrast, the length percentage of the data bar is 0 when cells contain the minimum value. Besides, the length percentage of the data bar corresponding to other values is calculated according to the formula: (x-min value)/(max value-min value).

    2. Values existing in the table cells are negative only:

    The length percentage of the data bar is 1 when cells contain the minimum value. By contrast, the length percentage of the data bar is 0 when cells contain the maximum value. Besides, the length percentage of the data bar corresponding to other values is calculated according to the formula: (x-min value)/(max value-min value).

    3. Table cell values are mixed with positive values and negative values:

    When the value in a cell is negative, the data bar within that cell extends to the left of the zero line and is displayed in red. By contrast, when the value in a cell is positive, the data bar within that cell extends to the right of the zero line and is displayed in green.

    The zero line is calculated according to the formula: (0-min value)/(max value-min value). The range of the formula is [0,1], with values greater than 1 taken as 1 and values less than 0 taken as 0. (0 corresponds to the far left of a cell and 1 corresponds to the far right of a cell.)

    The value position is calculated according to the formula: (x-min value)/(max value-min value). The range of the formula is [0,1], with values greater than 1 taken as 1 and values less than 0 taken as 0. (The length between the value position and the zero line is the length of the data bar.)

    iconNote:

    1. The Max Value and Min Value above are synchronized with those obtained from the latest results in the analysis area.

    2. If you customize Max Value and Min Value, the customized values will be used in all the formulas above.

    2. Click the 4efe6ece518183e97ad5a12cc46666b.png button next to the Contract Amount field in Indicator and select Data Bar Setting from the drop-down list to set the data bar.

    09b3c9344ecdebb10e21b2561c2ae65.png

    1. Setting Max/Min Values

    1. Set Min Value and Max Value to Custom. Enter 600,000 in the input field of Min Value and enter 100,000,000 in the input field of Max Value. (You need to set the maximum value first, otherwise "The maximum value cannot be less than the minimum value" will prompt.)

    08cb72c810b7db9b835bc981108d5c9.png

    2. The following figure shows the effect.

    82f68f4e7c9656cfbfe108f2f7ad7fa.png

    2. Setting the Value Colors

    1. Set Positive Color to purple. (The table in this example contains only positive values, so only Positive Color is set to purple.)

    5e7d35b7c97b4fa5c46b866ec761db4.png

    2. The following figure shows the effect.

    9dc15e9e2a3ab8076d78a55941df062.png

    3. Setting to Only Show the Data Bar

    1. Check Only Show Data Bar, as shown in the following figure.

    ed092911d9e8c6a2e0acdeb75381c50.png

    2. The numbers are hidden and only the data bar is displayed, as shown in the following figure.

    1e8f3d4f1986dfade3f0fc1160ca75f.png

    Notes

    The data bar setting takes effect only on the indicator corresponding to the innermost dimension rather than the summary row.

    Null values are not included in the data bar calculation.

    In the event of the following scenarios, despite the data bar function being enabled, cells that contain the indicator values do not display data bars.

    1. The indicator values contain infinite ones, which are also included in the set Max Value and Min Value.

    2. All indicator values are equal.

    3. All indicator values are less than the minimum value set for the data bar.

    附件列表


    主题: Creating a Visual Component
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    8s后關閉

    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