- Excel DAX Tutorial
- DAX - Home
- DAX - Overview
- DAX - Calculated Columns
- DAX - Calculated Fields / Measures
- DAX - Editing a Calculated Field
- DAX - Deleting a Calculated Field
- DAX - Syntax
- DAX - Operators
- DAX - Standard Parameters
- DAX - Functions
- DAX - Understanding DAX Functions
- DAX - Evaluation Context
- DAX - Formulas
- Updating Results of DAX Formulas
- Updating Data in the Data Model
- DAX - Recalculating DAX Formulas
- Troubleshooting DAX Formula Recalculation
- DAX - Formula Errors
- DAX - Time Intelligence
- DAX - Filter Functions
- DAX - Scenarios
- Performing Complex Calculations
- DAX - Working with Text and Dates
- Conditional Values & Testing for Errors
- DAX - Using Time Intelligence
- DAX - Ranking & Comparing Values
Excel DAX - Syntax
As discussed earlier, DAX is a formula language comprising of operators, values, functions, and formulas. In this chapter, you will learn about DAX Syntax.
DAX Syntax can be categorized as −
- Syntax for DAX Formulas
- DAX Naming Requirements
- DAX Special Values
- DAX Functions
- DAX Operators
- DAX Data Types
Before you proceed to learning DAX Syntax, you have to understand the difference between Excel formulas and DAX formulas.
Differences between Excel Formulas and DAX Formulas
DAX formulas are similar to the Excel formulas and you can type them in the formula bar. However, there are some vital differences between the two.
|Excel Formula||DAX Formula|
Excel formulas are typed in the formula bar in the Excel window.
DAX formulas are typed in the formula bar in the Power Pivot window.
In Excel formulas, you can reference individual cells or arrays for data.
In DAX formulas, you can reference only complete tables or columns of data, i.e. references can be only to tables and fields in the tables.
However, if at all you have to perform a calculation only on a part of the column data, you can do so with the DAX functions that filter and provide the required unique data values for calculation.
Excel formulas support certain data types.
DAX provides more data types than Excel does. Hence, DAX formulas can use the additional data types also.
Excel does not support any implicit data conversions.
DAX performs implicit data type conversions during calculations.
Kickstart Your Career
Get certified by completing the courseGet Started