NOT

  • Last update:  2023-05-05
  • Overview

    NOT is used to evaluate whether the expression meets a certain condition. If it belongs, the result is 0. If not, the result is 1.

     

    Syntax

    NOT(conditional expression)

    Perform a negation operation on the result of the conditional expression.

    Parameter 1

    Conditional expression

    The result of the conditional expression must be a Boolean or numerical type and cannot be omitted.

     

    Notes

    The parameter must be Boolean type or numerical type.

    True and false can be either in capital letters or small letters, and both of them are highlighted in blue.

    Example

    Create a subject and upload the example data: Contract Information. Filter out the non-standing agreements and calculate their contract volumes.

    1. Use the IN function to find the standing agreements.

    If the value of Contract Type is Standing Agreement or Standing Agreement Order, the contract is a standing agreement. Enter the formula: IN(Contract Type, "Standing Agreement Order", "Standing Agreement").

    Note: The Contract Type in the formula is not entered manually. Instead, you can select it by clicking the field on the left.

    1.png

    2. Use the NOT function to find the non-standing contracts. Enter the formula: NOT(Whether the Contract Type is a Standing Agreement).

    2.png

    3.png

    3. Calculate the contract volume of non-standing agreements. Add a calculation indicator, and enter the formula: DEF_ADD(SUM_AGG(Contract Volume,[],Non-standing Agreement).

    Display the data in the component.

    4.png

    Display as the following image with KPI indicator card.

    5.png

    More examples:

    Formula

    Result

    Note

    NOT(1-2>0)

    1

    /

    NOT(IN(City,"Tokyo","New York"))

    Rows with city field values that do not equal to Tokyo or New York = 1, all other rows = 0.

    /


    附件列表


    主题: Advanced Data Analyis
    • 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