top of page
DAX


Understanding Row Context vs Filter Context in DAX
If you’ve been working with DAX for a while, there’s a high chance you’ve encountered one of the most confusing moments in the learning process. You write a formula that seems perfectly logical, yet Power BI either throws an error or returns a result that makes absolutely no sense. Then you change a single function — maybe adding SUMX or wrapping something inside CALCULATE — and suddenly everything works. At first, it feels random. In reality, it all comes down to one thing:

Stefano Meloccaro
May 135 min read


From Tables to Scalars in DAX: How VALUES, SELECTEDVALUE, HASONEVALUE, and CONCATENATEX Work
Learn how to transform columns into single values using powerful DAX functions like VALUES, SELECTEDVALUE, HASONEVALUE, and CONCATENATEX.

Stefano Meloccaro
Mar 27, 20252 min read


DAX - SWITCH vs SWITCH TRUE
Learn the difference between SWITCH() and SWITCH(TRUE(),…) in DAX, with practical examples and use cases in both row and filter contexts.

Stefano Meloccaro
Mar 26, 20253 min read


DAX - ALL, VALUES and DISTINCT
Discover how DAX functions ALL, VALUES, and DISTINCT behave differently in filter and row context, and how they handle blank rows in PowerBI

Stefano Meloccaro
Mar 26, 20253 min read


DAX ALL vs ALLEXCEPT
Learn how DAX functions ALL() and ALLEXCEPT() work in Power BI, when to use them, and how they affect filter context in your measures.

Stefano Meloccaro
Mar 24, 20254 min read
bottom of page