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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Not applicable

Easy Filtering

In my data lets say I have values from 1 to 52 representing weeks. If I click 4 I will get the data from week 4, but if I want to get the data from week 1 to week 4 I have to click every number in the slicer. Is there any way to automatically select say if I want to know values from the first 20 weeks, for it to automatically select 1 through 20?Capture.PNG

Super User
Super User

Hi @Anonymous,

If I understand correctly, if you're looking to explicitly set the selected values of a slicer based on some other event, then the core slicer will not support this, as they are geared for the end user's preferences, with the report author guiding them to select the available values.

If I have a preferred set of values I would like the user to see when viewing the report, then I typically publish them with these set. The user is then able to do their own thing and then revert to default to get back to the 'original' preference.

If you're looking to do range-based selection, then as long as your field's data type is set to Whole Number then the slicer will allow range-based selection, and this might save a few clicks for the user, e.g.:


Another option is to constrain the slicer to a range you want, with the undertsanding that values outside this will not be available with such a filter enabled. With recent changes in Power BI Desktop, you can now apply a visual-level slicer, such as:

Range filter applied to slicer visualRange filter applied to slicer visual

Not sure if this fully answers your question but might give you some ideas.

Good luck!



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

Proud to be a Super User!

My course: Introduction to Developing Power BI Visuals

On how to ask a technical question, if you really want an answer (courtesy of SQLBI)

Helpful resources


Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors