Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ryan25r9
Helper I
Helper I

Row Context for Explicit Filter Arguments in CALCULATE

In the DAX Guide's definition of CALCULATE, the first step in the evaluation order states as such:

 

CALCULATE evaluates all the explicit filter arguments in the original evaluation context, each one independently from the others. This includes both the original row contexts (if any) and the original filter context. Once this evaluation is finished, CALCULATE starts building the new filter context.

 

I'm trying to understand or find an example on when an explicit filter argument would use the Original Row Context. Since Context Transition hasn't occurred yet in the evaluation order, I don't get how Row Context would come into play at all for the explicit filter arguments.

 

Hoping someone can help clarify or provide a resource that does.

 

Thanks!

3 REPLIES 3
hemanth4pbi
Frequent Visitor

Check the following article. In the article, measure YOY-3 is using row context in filter argument of CALCULATE.

https://www.sqlbi.com/articles/context-transition-and-filters-in-calculate/

hemanth4pbi_0-1671785236947.png

if you find this useful, please mark it

ryan25r9
Helper I
Helper I

Thanks. I went through all of these links and unfortunately didn't find any instances of Row Context being used in an explicit Calculate argument though.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors