cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

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 Super Contributor
Super Contributor

Re: Slicer: limit list to top X count?

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!  

Re: Slicer: limit list to top X count?

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 Smiley Happy

LivioLanzo Super Contributor
Super Contributor

Re: Slicer: limit list to top X count?

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
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 185 members 2,276 guests
Please welcome our newest community members: