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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Kudoed Authors