Topic: DAX

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
Introducing DAX.do
DAX.do is a new website by SQLBI where you can write and run DAX queries over a sample Contoso database. The goal of DAX.do is purely educational: if you are learning DAX or are merely curious to test a new… 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
Introducing DEFINE TABLE in DAX queries
This article describes the syntax and the use cases of the DEFINE TABLE statement in DAX. 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
What has happened in the DAX world in 2020
At the end of a year marked by the pandemic, it is time for our usual review of what happened in the DAX realm. The enthusiasm we typically demonstrate in this traditional end-of -year post is tainted this year by… Read more
Using calculation groups to switch between dates
This article shows how to use calculation groups to change the active relationship in a model in order to let users choose among multiple dates. Read more
RANKX on multiple columns with DAX and Power BI
This article shows techniques to obtain a ranking based on more than one column. The ranking can be both static and dynamic. Read more
Dynamic format strings with calculation groups
This article shows two techniques based on calculation groups: how to implement dynamic format strings in regular measures, and how to perform weight conversion on the fly. Read more