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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.