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
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors