Marking the Inconsistent Data in a Table

  • Last update:  2024-05-19
  • Overview

    Version

    FineBI Version

    Functional Change

    6.0

    -

    Expected Effect

    You want to set the inconsistent data in three fields in a table to be displayed in red.

    For example, the inconsistent data in the three fields corresponding to Fruit, Soda drink, and Banana are marked in red, as shown in the following figure.

    536c5412fe44152e672e6f7c612eb6d.png

    Implementation Method

    1. You can set a judgment value:

    The judgment value is 0 if data values in the three fields are consistent.

    The judgment value is 1 if data values in the three fields are inconsistent.

    2. You can mark in red the data with the judgment value being 1 (namely the data with inconsistent values in the three fields).

    Procedure

    Data Preparation

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

    5f398fd96c02467e697a9381369d5e7.png

    2. Click Local Excel and Upload Data.

    You can download the sample data: Marker Judgment.xlsx.

    2b1b948428ef9ac9183f08d25b04307.png

    3. Click OK after the data is uploaded.

    6848b8ffbca354abb7ce6b56cc85eaf.png

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

    8e200888d4016b7b06c140505e05040.png

    Component Creation

    1. Click the Component tab in the lower left corner, as shown in the following figure.

    2. Select Group Table in Chart Type.

    3. Drag the Type field in the to-be-analyzed area into Dimension and Data One, Data Two, and Data Three into Indicator, as shown in the following figure.

    404dbd557f206ab145de42b62147fa2.png

    Calculation Indicator Adding

    1. Click the 79ca73d4ad222cf08cc3ce611f7ec8d.png icon and select Add Calculation Indicator from the drop-down list.

    2. Set Field Name to Judging if Values in the Three Fields are Consistent.

    3. Enter the formula: IF(Data=Data Two,IF(Data Two=Data Three,0,1),1).

    iconNote:
    Functions and fields in the formula need to be selected from the left area and cannot be entered manually.

    The following table describes the formula.

    Formula

    Description

    IF(Data Two=Data Three,0,1)

    Outputs 0 if the values in the Data Two and Data Three fields are consistent, otherwise.

    IF(Data=Data Two,IF(Data Two=Data Three,0,1),1)

    Outputs 0 if the values in the Data, Data Two, and Data Three fields are consistent, 1 otherwise.

    4. Click OK to add the calculation indicator, as shown in the following figure.

    图片2.png

    Text Color Setting

    1. Drag the Judging if the Three Values are Consistent field in the left to-be-analyzed area into Color under Table Property > Indicator All.

    2. Click Color and click the Add Condition button in the pop-up settings box.

    3. Set values in the Data, Data Two, and Data Three fields to be displayed in red if the values in the Judging if the Three Values are Consistent field are greater than or equal to 1.

    e2bf8495cc390cf23f55c90cdd1afc1.png

    Dashboard Creation

    1. Click the Add Dashboard button at the bottom of the analysis subject editing page.

    2. Drag the component into the dashboard on the Dashboard editing page.

    2d382f0c9148e5ffd0318b1a9c6f039.png

    3. Select Edit Title from the drop-down list, set Font Style to Custom, set the title to Marking the Inconsistent Data in a Table, and click OK.

    图片1.png

    Effect Display

    PC

    536c5412fe44152e672e6f7c612eb6d.png

    Mobile Terminal

    61a61cf3775e3a0996b19d4e6b01faa.png

    Attachment List


    Theme: 可視化コンポーネントの作成
    前の記事
    次の記事
    • いいね
    • 良くない
    • 閲覧しただけ

    フィードバック

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

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

    不再提示

    9s后关闭

    反馈已提交

    网络繁忙