Understanding the optimization of SWITCH
The SWITCH function in DAX has been optimized over the years, and it is helpful to know what makes the optimization work best. Read more
The SWITCH function in DAX has been optimized over the years, and it is helpful to know what makes the optimization work best. Read more
If you try to use SELECTEDVALUE on the visible column of the table generated by the Fields Parameters feature in Power BI, you get the following error: Calculation error in measure ‘Sales'[Selection]: Column [Parameter] is part of composite key, but… Read more
This article explains how to use KEEPFILTERS to intersect instead of override an existing filter context in DAX. Using KEEPFILTERS simplifies the code and improves performance. Read more
When working on the Mastering Tabular video course, we needed a sample database with more data than what we had at our disposal in existing sample databases. We also wanted to be able to control the content so that different… Read more
The parameter table pattern is used to create parameters in a report so that users can interact with slicers and dynamically change the behavior of the report itself For example a report can show the top N products by category… More on DAX Patterns
A pattern is a general, reusable solution to a frequent or common challenge.
This book is the second edition of the most comprehensive collection of ready-to-use solutions in DAX, that you can use in Microsoft Power BI, Analysis Services Tabular, and Power Pivot for Excel. Read more