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
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
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.