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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
djs25uk
Helper I
Helper I

Bypass Page Level Filter for Single Visual/Measure

Dear All

I have a page level filter on Student[StudentYear] = 7. There is just one visual on the page that I would like to ignore this value, as I would like it to show the values for Student[StudentYear] = 8 instead. 

I have tried creating a measure that will SUM just the values where StudentYear is 8 but it is returning no results. I think it is still picking up the page level filter. Is there a way I can bypass the page level filter for one visual for sure?

 

DonationsPreviousYearGroup = CALCULATE(SUMX(FILTER('SchemePayment',RELATED(Student[StudentYear])=8),SchemePayment[SchemePaymentAmount]))

 

Many thanks for your help.

Daniel

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@djs25uk , Try like

	DonationsPreviousYearGroup = CALCULATE(SUMX('SchemePayment',SchemePayment[SchemePaymentAmount]), filter(all(Student),Student[StudentYear]=8))
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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@djs25uk , Try like

	DonationsPreviousYearGroup = CALCULATE(SUMX('SchemePayment',SchemePayment[SchemePaymentAmount]), filter(all(Student),Student[StudentYear]=8))
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

Thank you so much! I tried using 'All' but clearly wasn't using in the right place. You're brilliant. 

Many thanks

Dan

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors