DAX Functions
DAX Functions
1. Aggregation Functions
- SUMX() - Calculates the sum of an expression for each row in a table. Example: SUMX(Sales,
Sales[Quantity] * Sales[Price])
2. Logical Functions
- IF() - Returns one value if TRUE, another if FALSE. Example: IF(Sales[Profit] > 1000, 'High', 'Low')
- AND() - Returns TRUE if all conditions are TRUE. Example: AND(Sales[Profit] > 1000,
Sales[Region] = 'North')
- OR() - Returns TRUE if any condition is TRUE. Example: OR(Sales[Profit] > 1000, Sales[Region] =
'North')
Sales[OrderDate])
4. Filter Functions
Sales[Region] = 'North')
5. Text Functions