Apress Media LLC, 2022. — 376 p. — ISBN-13: 978-1-4842-8187-1.
Take a concise approach to learning how DAX, the function language of Power BI and PowerPivot, works. This book focuses on explaining the core concepts of DAX so that ordinary folks can gain the skills required to tackle complex data analysis problems. But make no mistake, this is in no way an introductory book on DAX. A number of the topics you will learn, such as the concepts of context transition and table expansion, are considered advanced and challenging areas of DAX.
While there are numerous resources on DAX, most are written with developers in mind, making learning DAX appear an overwhelming challenge, especially for those who are coming from an Excel background or with limited coding experience. The reality is, to hit the ground running with DAX, it’s not necessary to wade through copious pages on rarified DAX functions and the technical aspects of the language. There are just a few mandatory concepts that must be fully understood before DAX can be mastered. Knowledge of everything else in DAX is built on top of these mandatory aspects.
Show Me the Data
DAX Objects, Syntax, and Formatting
Calculated Columns and Measures
Evaluation Context
Iterators
The CALCULATE Function
DAX Table Functions
The ALL Function and All Its Variations
Calculations on Dates: Using DAX Time Intelligence
Empty Values vs. Zero
Using Variables: Making Our Code More Readable
Returning Values in the Current Filter
Controlling the Direction of Filter Propagation
Working with Multiple Relationships Between Tables
Understanding Context Transition
Leveraging Context Transition
Virtual Relationships: The LOOKUPVALUE and TREATAS Functions
Table Expansion
The CALCULATETABLE Function