反馈已提交

网络繁忙

Dynamic Control of Result Values Through Parameters in Calculation Fields

  • Last update:  2023-12-15
  • Overview

    Version

    FineBI Version
    Functional Change

    6.0

    /

    Application Scenario

    You may need to dynamically control the result value of a calculation field. In this case, you can use parameters in the calculation field and bind parameters in filter components .

    For example, you can bind parameters in filter components for value passing and dynamically change the measurement standards of large and small orders. If the value of the Value Drop-down Filter Component is 2000000, this value is passed as a parameter to the component for calculation and comparison. Orders with contract amounts greater than 2000000 are large orders, with a quantity of 41.

     1.gif

    Implementation Method

    1. Add a value parameter.

    2. Add a calculation field with the value parameter involved in the calculation.

    3. Create a chart, add a dashboard, and drag the component to the dashboard.

    4. Add a value filter component, bind the value parameter, and add a custom value list.

    Procedure

    Chart Creation

    1. This document takes the table Regional Data Analysis as an example. Create an analysis subject and add a value parameter, as shown in the following figure.

     2.png

    2. Add a calculation field named Order Size and enter the formula, as shown in the following figure. When the order contract amount is greater than the value entered in the value drop-down filter component, the order is a large one.

    iconNote:
    The contract amount and filter component must be selected from the left field column and cannot be manually entered.

     3.png

    3. Create a column chart, drag Order Size to Horizontal Axis and Count to Vertical Axis, and drag Count to Size, as shown in the following figure.

     4.png

    4. Click the Add Dashboard icon and drag the created component to the dashboard, as shown in the following figure.

     5.png

    Filter Component Setting

    Custom Value List Adding

    After adding a custom list, you can select specific values as parameter values from the drop-down list of the filter component.

    Add a Value-Drop-down Filter Component, select Custom Value List, click the  icon, enter 1000000, 2000000, 3000000, and click OK, as shown in the following figure.

     6.png

    Custom Value List Manually Entering

    You can also manually enter a value. Only select Custom Value List and enter the needed value in the edit box, as shown in the following figure.

     7.png

    Filter Component Parameter Binding

    Select Bind Parameter, click the  icon, select Value Parameter, and click OK, as shown in the following figure.

     8.png

    Effect Display

    You can change the measurement standards of large orders and small orders as needed.

    The following figure shows the effect of adding a custom value list.

     9.gif

    The following figure shows the effect of manually entering a value. After entering, you can press the Enter key to view the effect.

    10.gif

    Attachment List


    Theme: ダッシュボードの作成
    前の記事
    次の記事
    • いいね
    • 良くない
    • 閲覧しただけ

    フィードバック

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭