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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
joshtech
Regular Visitor

How do I remove the dates I don't want and only keep those I want in the slicer?

Hi Community,

 

I'm trying to create a slicer for page of up to a year.

 

However, because the data set I have goes way back to 2010, may I know how do I clean away the rest of the old dates and only keep the 2024 till todate?

 

I want to remove the old dates as seen in the yellow highlights.

 

joshtech_0-1745571286054.png

 

Thank you.

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @joshtech ,

 

filter the date field that you're using from the filter pane as the following

 

Idrissshatila_0-1745572315149.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
AlanP514
Post Patron
Post Patron

Hi @joshtech ,
We can achive this in several ways 
1st way we can achive through applyinf filter conditions like is on or after 01/01/2024

2nd  method 
Create a new column
slicershow = if(Your table[date] >= date(2024,1,1),1,0)

then apply this in visual level filter  using slicershow = 1



3rd method 

create calculated table 

slicer date = calendar(dates(2024,1,1),Today())

Hi @joshtech  if this post helpful means please accept it as solution

thanks 

 

Idrissshatila
Super User
Super User

Hello @joshtech ,

 

filter the date field that you're using from the filter pane as the following

 

Idrissshatila_0-1745572315149.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors