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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
jcastr02
Post Prodigy
Post Prodigy

automatically show last available date of data

How do you get the date filter end date to default to the latest data - for example when I opened the below today it was defaulted to 1/29/24 but there is data in there until 3/11/24.  I'd like for it to automatically show 3/11/2024 as last date without having to manually scroll the visual.

Screenshot 2024-03-11 134920.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jcastr02 

 

@Greg_Deckler Thanks for your sharing!

 

In response to your question, I offer some other thoughts for your consideration:

 

Here's some dummy data

 

"Date"

vnuocmsft_0-1710231530100.png

 

Create a new table that holds the maximum dates in the date table.

 

 

max_date = SUMMARIZE('Date', "max_date", MAX('Date'[Date]))

 

 

vnuocmsft_1-1710231603966.png

 

Manually create a relationship between two tables.

 

vnuocmsft_3-1710231716387.png

 

vnuocmsft_2-1710231632142.png

 

Creating a slicer with the max_date table. 

 

vnuocmsft_5-1710231879324.png

 

You can also change the slicer to "Single select".

 

vnuocmsft_6-1710231997581.png

 

Here is the result.

vnuocmsft_7-1710232025219.png

 

Regards,

Nono Chen

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

2 REPLIES 2
Anonymous
Not applicable

Hi @jcastr02 

 

@Greg_Deckler Thanks for your sharing!

 

In response to your question, I offer some other thoughts for your consideration:

 

Here's some dummy data

 

"Date"

vnuocmsft_0-1710231530100.png

 

Create a new table that holds the maximum dates in the date table.

 

 

max_date = SUMMARIZE('Date', "max_date", MAX('Date'[Date]))

 

 

vnuocmsft_1-1710231603966.png

 

Manually create a relationship between two tables.

 

vnuocmsft_3-1710231716387.png

 

vnuocmsft_2-1710231632142.png

 

Creating a slicer with the max_date table. 

 

vnuocmsft_5-1710231879324.png

 

You can also change the slicer to "Single select".

 

vnuocmsft_6-1710231997581.png

 

Here is the result.

vnuocmsft_7-1710232025219.png

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Greg_Deckler
Community Champion
Community Champion

@jcastr02 Switch it to be an after slicer instead of between?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors