Articles of 2021
Specifying multiple filter conditions in CALCULATE
This article introduces the new DAX syntax (March 2021) to support CALCULATE filter predicates that reference multiple columns from the same table. Read more
Power BI – Star schema or single table
This article analyzes a classic modeling question: is it better to build a model as a regular star schema or as a single table in Power BI? The answer is clear: a star schema is always the best choice. Read more
Rolling 12 Months Average in DAX
Rolling averages over time (a.k.a. moving averages or running averages) are useful to smoothen chart lines and to make trends more evident. This article shows how to compute a rolling average over 12 months, in DAX. Read more
USERELATIONSHIP in calculated columns
USERELATIONSHIP lets you temporarily change which relationship is active. Even though USERELATIONSHIP is easy to work with in measures, it can be challenging and give you inaccurate results when used in calculated columns. In this article, we describe the details… Read more
Understanding circular dependencies in DAX
This article explains how to avoid circular dependency errors that can occur in DAX when two or more entities (calculated columns or calculated tables) reference one another in such a way that the engine cannot compute their value. Read more
Letter case-sensitivity in DAX, Power BI and Analysis Services
Power BI and Analysis Services are case-insensitive by default.Lowercase letters are identical to uppercase letters.This is mostly a good choice, but it also comes with unexpected consequences. In this article, we run through a set of queries to understand what… Read more
Avoiding circular dependency errors in DAX
This article explains the most common causes of the error, “A circular dependency was detected” in Power BI and Analysis Services. Read more
Introducing DEFINE COLUMN in DAX queries
This article describes the syntax and the use cases of the DEFINE COLUMN statement in DAX. Read more
Filtering the top products alongside the other products in Power BI
This article shows an optimized DAX technique to display the first N products for each category in Power BI, adding a row that aggregates the value for all the other products. The companion video introduces the scenario and the general… Read more
Introducing DEFINE TABLE in DAX queries
This article describes the syntax and the use cases of the DEFINE TABLE statement in DAX. Read more