[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-31。"],[],[],null,["# Operators are represented by special characters or keywords; they do not use function call syntax. An operator manipulates any number of data inputs, also called operands, and returns a result.\n\nArithmetic operators\n--------------------\n\n- Addition: +\n- Subtraction: -\n- Division: /\n- Multiplication: \\*\n\nString operators\n----------------\n\n- Concatenation: \\|\\|\n\nComparison operators\n--------------------\n\n- =\n- !=\n- \\\u003e\n- \\\u003e=\n- \\\u003c\n- \\\u003c=\n\nThe operands on both sides of the comparison operators must of the same type: text, number or boolean.\n\nLogical operators\n-----------------\n\nLogical operators return `true`, `false`, or `null`. Looker Studio supports the `AND`, `OR`, `IN`, `IS NULL`, and `NOT` operators.\n\n### AND / OR\n\nUse `AND` and `OR` to create expressions with multiple input values. Use parentheses to group conditions and force order of precedence, if needed.\n\n\u003cvar translate=\"no\"\u003eBoolean expression A\u003c/var\u003e` AND ( `\u003cvar translate=\"no\"\u003eBoolean expression B\u003c/var\u003e` OR `\u003cvar translate=\"no\"\u003eBoolean expression C\u003c/var\u003e` )`\n\n### IS NULL\n\nReturns true if the input field is empty or null.\n\n#### Syntax\n\n`field``IS NULL`\n\n#### Parameters\n\n\u003e `field` ---the dimension or metric to evaluate.\n\n#### Examples\n\n\u003e #### More on NULL\n\u003e\n\u003e Unless otherwise specified, all operators return `NULL` when one of the operands is `NULL`.\n\u003e\n\u003e `NULL` is different from the empty string (\"\"). Whereas trying to use the empty string in arithmetic generally produces an error, using NULL returns the null value:\n\u003e\n\u003e `1+``NULL``=``NULL`\n\u003e\n\u003e `1*``NULL``=``NULL`\n\u003e\n\u003e `1/``NULL``=``NULL`\n\u003e\n\u003e etc.\n\u003e\n\u003e On the other hand, while you can concatenate values with the empty string, the result of concatenating any value with NULL is the null value:\n\u003e\n\u003e `CONCAT``(\"A\", \"\", \"B\") = \"AB\"`\n\u003e\n\u003e `CONCAT``(\"A\",``NULL``, \"B\") = null`\n\n### IN\n\nReturns true if the input field contains any of the the listed values. Both the field and list values must be of the same type. IN matches complete values and is case-sensitive. For partial value or case insensitive matching, use REGEXP_MATCH.\n\n#### Syntax\n\n`field``IN``(value1, value2,... valueN)`\n\n#### Parameters\n\n\u003e `field` ---the dimension or metric to evaluate.\n\u003e `value1,value2,...valueN` ---the values to look for.\n\n#### Examples\n\n### NOT\n\nNegates input expressions.\n\n#### Examples"]]