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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
pedroccamaraDBI
Post Partisan
Post Partisan

Filter dates range from X date till today always

Hello all,
I would like to, everytime i open my report, it shows the date range from whatever date i've choose till today's date.
I know we can show all dates before today, but today included. But i would like to see on that range date filter, on the second box, always the date of today.
Is this possible?
Thank you all

 

4 REPLIES 4
amitchandak
Super User
Super User

@pedroccamaraDBI , I doubt you can initialize range base slicer. 

 

You can create a column and set list

 

example

Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)

 

You can log an idea https://ideas.powerbi.com/ideas/

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hello @amitchandak 
The problem is that i don't know, ever, when is gonna be the end date. What i do know is that it can't be after today. This is the date filter i have.
apagardatas.JPG

So, i've add a column on my date table, IsAfterToday = IF (Dates[Date] > TODAY(), 1, 0) and on that date filter, i've add this one.
What i would like to show, the "From date", its not important, but the "To Date" is should always be todays date, you know?
That's it. Can you help?

@pedroccamaraDBI , I doubt that, can default. Try to end your calendar of today. or try relative date slicer

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

i did all that and it's not working still

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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