cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mochabits
Helper II
Helper II

DAX measure to ignore page filters

The PBIX file is here: https://drive.google.com/file/d/14OfA6BXKvqijBZbSw_OoU9Os0s9o7Yur/view?usp=sharing 

 

Two tables in the report: Score and Employee. Both are linked with "employee key". The page has two page level filters on employee's "position title" and "Employee Status Reason Desc".

 

I want the DAX - "score_measure" to ignore the page filters to produce the result like the table at the bottom. I've tried ALL and FILTER ALL on either or both tables, but can't get the correct result. Please help and thanks for your time.

score_measure = CALCULATE(AVERAGE(Score[Score]), ALL(Employee[Position Title], Employee[Employee Status Reason Desc]) )

 

Full Name

Score

A1

0.84

A2

0.92

A3

0.62

A4

0.86

A5

0.81

 

2 REPLIES 2
daxer
Solution Sage
Solution Sage

@mochabits 

 

No, there is NO WAY to ignore page level filters through DAX. Sorry. You're a bit out of luck here. What you can do is create visual level filters where you need to and not use a page level filter at all on the page in question. Page level filters affect all visuals on the page and there is absolutely no way DAX can reach beyond such a filter.

amitchandak
Super User IV
Super User IV

@mochabits , I doubt you can ignore page level filter.

 

But still, try like

 

score_measure = CALCULATE(AVERAGE(Score[Score]), ALL(Employee) )



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors