top of page
All Posts


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


Structural Differences Between OLTP and OLAP Systems
In one of my previous articles, we discussed the main differences between OLTP (Online Transaction Processing) and OLAP (Online Analytical Processing) systems, including their purposes, use cases, and how they are often used together within the same ecosystems (if you missed it, here’s the link). In this article, we will focus on the actual structural differences between the two systems and how data is transformed from OLTP to OLAP. Two key structural differences between OLTP
Stefano Meloccaro
Jul 24, 20243 min read


Ace Your SQL Interview: Top 9 Must-Know Questions and Answers
This article report the most common SQL interview questions to help anyone who want to work in data related job to ace the interview.
Stefano Meloccaro
Jul 8, 20245 min read


Data Warehouse Schemas Explained: Star, Snowflake, Galaxy
Unlock the secrets of Star, Snowflake, and Galaxy schemas in data warehousing. Enhance your data analysis skills with our latest article!
Stefano Meloccaro
Jul 4, 20243 min read


OLTP vs OLAP: An Introduction to Database Systems
This is an introduction to Database systems in which I have explored the main differences between an OLTP and OLAP system
Stefano Meloccaro
Jun 26, 20243 min read
bottom of page