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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors