反馈已提交

网络繁忙

You are viewing 5.1 help doc. More details are displayed in the latest help doc.

Determine if a field contains a string

  • Recent Updates: April 15, 2022
  • 1. Overview

    1.1 Expected effect

    Check the values in the fields and group them according to the field values, display A if the field contains A and B if the field contains B. For example, "Province or City" containing "Province" is displayed as 1, as shown in the following figure.

    1.png

    1.2 Implementation idea

    Use the Find function to determine if the value exists in the field, and the IF function to make a conditional determination.

    2. Example

    Use Demo Data"Regional Data Analysis".

    2.1 Add Self-Service dataset

    Create the Self-Service dataset and select all the data, as shown below.

    2.png

    2.2 Add new column

    New return value column "Test", if the field contains "Province", it returns a 1, thenFind("Province",Province or City) in the IF function logical value of true, for conditional judgment, contains the display for "1", otherwise display for "0", as shown below.

    3.png

    2.3 Effect view

    As shown in the figure below.

    4.png

    Attachment List


    Theme: Advanced Data Analyis
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    售前咨询电话

    400-811-8890转1

    在线技术支持

    在线QQ:800049425

    热线电话:400-811-8890转2

    总裁办24H投诉

    热线电话:173-1278-1526

    文 档反 馈

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

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

    不再提示

    10s后关闭