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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
JoseCarbonell
Regular Visitor

Filtering Whole report by a measure given a dimension & the filters

Dear all,

 

Mi question here is simple and hope you guys can help me.

 

I have a report with a measure representing income. The measure works perfectly but:

 

I have been asked to filter such report by the result of this measure per client (dim client) but the measure also changes taking into account the company we are filtering for (dim company) which makes the solution quite difficult given my experience.

 

Is there a way I can filter my whole report for such clients (say income lower than 5k) and that that filter changes dynamically given the company we are filtering for?

 

Thank you in advance,

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@JoseCarbonell I mean, you could build that into your measure I suppose by returning a 1 or a 0 based on the criteria. It would essentially be a complex selector. So, if company A the threshold is 5K but for company B the threshold is 3K, you just build that logic into the measure and have the measure return 1 or 0. Then you can just filter to either 1 or 0. But, you have to do that for each visual. https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/The-Complex-Selector/m-p/1116633#M5...

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

@JoseCarbonell I mean, you could build that into your measure I suppose by returning a 1 or a 0 based on the criteria. It would essentially be a complex selector. So, if company A the threshold is 5K but for company B the threshold is 3K, you just build that logic into the measure and have the measure return 1 or 0. Then you can just filter to either 1 or 0. But, you have to do that for each visual. https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/The-Complex-Selector/m-p/1116633#M5...

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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