Logical Functions Overview

  • Last update:December 21, 2024
  • Application Scenario

    Logical calculation allows determining whether a specific condition is true or false (Boolean logic).

    Position


    Position

    Function editing

    Adding a column and filtering

    Component

    Adding a calculation field

    Function List

    Function

    Definition

    Example

    IF

    Performs the condition judgment.

    IF(Net profit per store>0,“good”,“bad”)

    AND

    Requires that all the conditions are met.

    AND(1+7=8,5+7=12)

    Switch

    Performs multi-conditional assignment.

    SWITCH(1+2,3,"today is Wednesday",4,"today is Thursday")

    OR

    Requires that any of the conditions is met.

    OR(1+7=9,5+7=11)

    IN

    Judges whether the expression belongs to the set.

    IN(1,1,2,3)=1

    IN(City, "Beijing","Shanghai","Guangzhou"): For the rows of Beijing, Shanghai, and Guangzhou fields, the function returns 1. Otherwise, the function returns 0.

    DEF(SUM(Sales Volume), [], [IN(City, $Component Parameter)]): Calculates the total sales volume of cities within the component parameter values.

    NOT

    Judges whether the expression does not belong to the set.

    NOT(1-2>0)=1

    NOT(IN(City, "Beijing","Shanghai")): For the rows not of Beijing, Shanghai, and Guangzhou fields, the function returns 1. Otherwise, the function returns 0.

     


    附件列表


    主题: System Management
    • 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