cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
OneWithQuestion
Post Prodigy
Post Prodigy

Slicer: limit list to top X count?

I have a slicer used for customer accounts.

 

The user enters a customer account ID in the search and it works great.

 

HOWEVER, there is also a region selector on the page.

 

Normally the report loads with the region selected and or the user will change the region.

 

IF the user clears the region, too many customer account IDs come back to the slicer and it causes delays.

 

Is there anyway to make a slicer only show TOP X?  Basically I the user to always pick a region and not clear it out, or when they do clear it, I don't want the entire report to run trying to load all the data.

 

Thanks!

 

 

EDIT: I supopse a cascading dependency would work too?  Maybe I could require at least one region be selected so that when they clear the page, nothing happens until at least 1 region is selected?  Can that be done?

3 REPLIES 3
LivioLanzo
Solution Sage
Solution Sage

Hi @OneWithQuestion

 

one quick solution for you would be to try out Query Reduction:

 

https://workingondata.wordpress.com/2017/11/08/power-bi-desktop-query-reduction-for-direct-query-mod...

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Thanks, in this case though it isn't a direct query.

 

It is a tabular model, it just has a LOT of customers in it 🙂

Hi @OneWithQuestion

 

it works also if you're not in direct query

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors