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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
hideakisuzuki01
Helper II
Helper II

Definition and example of filter context

Hi, 

I am trying to understand what filter context is and have some questions becasue I see different examples and different explanations.

 

On sqlbi.com , filter context is explained as "The filter context is the set of filters applied to the data model before the evaluation of a DAX expression starts."

 

If this is the case, why is it that filter conditions in CALCULATE function are considered filter context ?  It is a part of DAX expression, isnt it ?

 

Also, if CALCULATE is considered filter context, why is FILTER fuction not considered filter context ? 

FILTER function can also add filter conditions just like CALCULATE, correct ?

 

 

2 REPLIES 2
hideakisuzuki01
Helper II
Helper II

I read the article but it does not really answer my question. My question is still, why is CALCULATE considered filter context when the definition is 

"the set of filters applied to the data model before the evaluation of a DAX expression starts."

amitchandak
Super User
Super User

@hideakisuzuki01 , Have you checked this blog?

http://dataap.org/blog/2019/04/22/difference-between-calculate-with-and-without-filter-expression/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors