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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
danielsouza
Helper III
Helper III

How to restrict date in the slicer/filter

Good morning

 

I have calendar table, and another table that contains days, months only for 2017, but in the report slicer I can select dates from 01/01/2010 to 18/05/2037!!!

 

Can I restrict this, according some criteria or table?

 

Capturar.JPG

 

 

Thanks a lot

Daniel

1 ACCEPTED SOLUTION

Hi @danielsouza,

 

In the visualization at the bottom you have 3 options for filters: Visual Level filters, Page Level Filters and Report Level Filters.

 

Add your date column to your page level filter and select 2017, there is also option for relative date filter.

 

Calendar.gif

Regards,

MFelix

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

7 REPLIES 7
danextian
Super User
Super User

Alternatively, you can also filter out the dates you don't want using advanced filtering option under report-level filters.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

@danextianare you refering to the second option given by @MFelix?

MFelix
Super User
Super User

Hi @danielsouza,

 

I see one of two ways of doing this:

 

Change the start date of your generic date table to make it to the  2017 start and end today that way the table will grow in time.

 

Add the generic calendar date to Report filter option and choose the starting from 2017 or a relative slicer with the last X months, days, years.

 

Regards.

MFelix


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi @MFelix, I cannot change the initial time of my generic date table because I'm using it to another reports with distinct dates intervals.

 

The second option I don't know how to do this...

 

dCalendario is the generic table:

 

Capturar.JPG

 

 

 

Hi @danielsouza,

 

In the visualization at the bottom you have 3 options for filters: Visual Level filters, Page Level Filters and Report Level Filters.

 

Add your date column to your page level filter and select 2017, there is also option for relative date filter.

 

Calendar.gif

Regards,

MFelix

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Thanks man! That's it!

 

How can you record your screen like that?

Hi @danielsouza,

 

I use and application to make a GIF image.

 

Check http://www.screentogif.com/ and it's pretty easy to use.

 

Regards,

MFelix

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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