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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.