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
Anonymous
Not applicable

Limiting Filter Values by Row Count

We are using PBI to display results of a survey we're conducting at our organization.  The survey results will have several dropdown filters at the top of the page that our Managers can use to slice the data.  However, because this is an "anonymous" survey, we don't want Managers to be able to slice the data by any value that has less than 4 "instances" - for example, lets say a Manager has 2 employees that work at store 1234 - we wouldn't want store value "1234" to appear in the filter drop down since that would allow the manager to narrow down who it was that submitted the survey response...  We only want the value to appear in the filter if there are 4 or more instances of that value remaining.   This means it would need to be dynamic - so if no other filters are applied, maybe value 1234 should appear, but if/when the number of remaining instances (given the current filters) drops below 4 it should disappear.

 

I've been playing with the "DistinctCount" DAX function, but can't get it to do what I'm wanting. Any insight here would be much appreciated. 

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

Values in a Slicer are fixed, but you may add a measure to Visual level filters if necessary.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks for the input...  I'm learning about the limitations of the Slicer visual and I'm hoping there's some other type of workaround...  Are there other visuals out there (maybe custom) that act like the Slicer visual but also have dynamic values, visual filtering etc.?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors