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
Tuame
Regular Visitor

Is it possible to create a measure that ignores all filters except those from the visual?

Tuame_2-1662717487751.png

I have this graph which compares the currently filtered % counts of users vs those of the population.  

The measures are: 

Unique User Count = Calculate(DISTINCTCOUNT(UserData[user_id]))

and

Population = CALCULATE([Unique User Count],ALLEXCEPT('UserData','Savings Bucket Orders'[Savings Buckets]))


I need to reproduce this kind of graph multiple times for different x-axis of interest, I was wondering if there was a way to have something like

Population = CALCULATE([Unique User Count],ALLEXCEPT('UserData','Columns_in_visual'))

which I can reuse in every graph instead of having to create a new measure for each of them. 

All attempts I've tried remove everything in the filter context which isn't what I'm after. 

Thanks!

2 REPLIES 2
amitchandak
Super User
Super User

@Tuame , I doubt you can make a dynamic list of columns like that as of now.

 

You can create an idea https://ideas.powerbi.com/ideas/

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

I imagined as much, but wanted to ask people who are smarter than me haha - I'll leave the thread open a bit longer in case someone has a smart idea but if not I'll mark as a solution. Thanks for your reply!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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