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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.