DAX CheetSheat
DAX CheetSheat
CHEETSHEAT
BY ABHISHEK
DAX Syntax
A DAX formula always starts with an
equal operator (=). After the equals
sign, you can provide any expression
that evaluates to a scalar or can be
converted to a scalar. Let us
understand the syntax with an
example by breaking down the
following DAX measure formula.
Example
Total Sales = SUM (Sales[SalesAmount])
Arithmetic:
+ Addition 5 + 3 = 8
- Subtraction 9 – 5 = 4
* Multiplication 3 * 9 = 27
/ Division 18/3 = 6
^ Exponentiation 16^4 = 65536
Logical:
&& AND condition between two
Boolean expressions [Region] =
"USA" && [Quantity] > 5