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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.