DAX Operators


When several operators are combined in a single expression, the operations are ordered according to the following table, from the lowest to the highest precedence level number. If the operators have equal precedence value, they are ordered from left to right. For example:

  • If an expression contains both a sum and a comparison, the sum is executed before the comparison.
  • If an expression contains both a multiplication and division operator, they are evaluated in the order that they appear in the expression, from left to right.
Priority Level Operator Description
1 () Parentheses – grouping
1 F() Scalar functions
1 IN Inclusive OR list
2 ^ Exponentiation
3 +, – Sign – unary plus/minus (-1)
4 *, / Multiplication, division
5 NOT Logical negation
6 +, Addition, subtraction
7 & Text concatenation
8 =, <>, <, >, <=, >= Comparison operators
9 && Logical AND
10 || Logical OR

Last update: Sep 24, 2018   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo, Jes Hansen

DAX Conventions
Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.

Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.

Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

Deprecated

This parameter is deprecated and its use is not recommended.

Contribute

Want to improve the content of DAX Operators? Did you find any issue? Please, report it us!
All submissions will be evaluated for possible updates of the content.