cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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 November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors