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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SLima
Helper I
Helper I

filter with current date automatic

filter with current date automatic

5 REPLIES 5
rsbin
Super User
Super User

@SLima,

I think this might be what you are looking for.

Search Youtube for something like:  "How to set a date slicer to TODAY by default in Power BI"

I tried posting a link, but it didn't take.

 

Regards,

In fact, I need you to bring the current day selected and I also have the possibility to select dates before and after

SLima
Helper I
Helper I

do i need to put filter on the page? 

amitchandak
Super User
Super User

@SLima , You need create a new column like this and filter on page using Today

 

Date Type = SWITCH(TRUE(),'Date'[Date]=TODAY(),"Today"
,'Date'[Date]=TODAY()-1,"Yesterday"
,'Date'[Date]&"")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I understand, but if I want to filter another date I can't

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.