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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.