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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.










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


Proud to be a Super User!









"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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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