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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How to automatically select Max Date upon opening pbix file

Hi all,

 

Is there a method in which Power BI automatically selects the latest date you have in your data, when you open the file?

automatically select latest date.PNG
Thanks in advance!!

Kind regards,

C

2 ACCEPTED SOLUTIONS

@Anonymous , typically you can use relative date slicer of can have a column like this you date table

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

 

Is Today = if('Date'[Date]=maxx(Sales,[Sales Date]),"Max Date",[Date]&"")

As this a varchar you mark the date as its sort column. And Use Max date as the filter

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

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

View solution in original post

v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may refer to the post below.

https://community.powerbi.com/t5/Desktop/i-have-two-dates-using-measures-and-want-to-set-these-dates...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may refer to the post below.

https://community.powerbi.com/t5/Desktop/i-have-two-dates-using-measures-and-want-to-set-these-dates...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@Anonymous , Refer if this can help

https://www.youtube.com/watch?v=c_MjL1Cngbs

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
Anonymous
Not applicable

Thanks for your reply, but nope sorry that isn't what I'm looking for

@Anonymous , typically you can use relative date slicer of can have a column like this you date table

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

 

Is Today = if('Date'[Date]=maxx(Sales,[Sales Date]),"Max Date",[Date]&"")

As this a varchar you mark the date as its sort column. And Use Max date as the filter

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors