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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
mlovejoy
Helper I
Helper I

Date range filter always showing today's date as max date and min date of the date table as min date

Dear Community, 

when my users are login in to a report they always need to modify the date range filter to today's date. Is there a way that the date range filter always show today's date as max date filter but also allowing them to choose past date if they want? 

I've tested this  Is before today = IF(Dates[Date] <= TODAY() , TRUE() , FALSE()) but the problem is that even a D-1 or D-x is true so it won't display today's date. If I force only to today's date Is before today = IF(Dates[Date] = TODAY() , TRUE() , FALSE()) they won't be able to shows past dates.

Any ideas?

thanks for your help!

Regards

Mark

1 REPLY 1
barritown
Super User
Super User

Hi @mlovejoy,

As an option, you can create a calculated column IsToday, select the value "Today" in it by default. If users need to choose another date, they choose "Previous days" and the exact date they need inside.

barritown_0-1688560870247.png

Best Regards,

Alexander

My YouTube vlog in English

My YouTube vlog in Russian

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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