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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Igotzepowerbi
Frequent Visitor

Need Date Slicer to Default to Most Recent/ Max Create Date

Hi,
I have a date slicer using Create Date from my JG Forecast Complete table and I am needing it to default to the Max Create Date. 
So like today I go to my report and the selected date is 02/20/2024 I need it to be the max create date which is 02/25/2024.
Is there a way to do this? Thanks so much in advance!

Igotzepowerbi_0-1708964477581.png

 



1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @Igotzepowerbi 


Please create a measure MaxDate = Max(Table[Date])

Please use Custom free visual PreSelected Slicer

PijushRoy_0-1708966501188.png

Create a calculated Table

 

_PreselectedSlicer = DATATABLE(
    "IsDirtySlicer1", BOOLEAN, "IsDirtySlicer2", BOOLEAN, 
    {
        {FALSE(), FALSE()},
        {FALSE(), TRUE()},
        {TRUE(), FALSE()},
        {TRUE(), TRUE()}
    }
)

 

 

Now create the PreSelected slicer visual

PijushRoy_1-1708966843291.png

 




Let me know if that works for you


If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.

Thanks
Pijush
Linkedin




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





View solution in original post

2 REPLIES 2
PijushRoy
Super User
Super User

Hi @Igotzepowerbi 


Please create a measure MaxDate = Max(Table[Date])

Please use Custom free visual PreSelected Slicer

PijushRoy_0-1708966501188.png

Create a calculated Table

 

_PreselectedSlicer = DATATABLE(
    "IsDirtySlicer1", BOOLEAN, "IsDirtySlicer2", BOOLEAN, 
    {
        {FALSE(), FALSE()},
        {FALSE(), TRUE()},
        {TRUE(), FALSE()},
        {TRUE(), TRUE()}
    }
)

 

 

Now create the PreSelected slicer visual

PijushRoy_1-1708966843291.png

 




Let me know if that works for you


If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.

Thanks
Pijush
Linkedin




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





nsexton12
Resolver II
Resolver II

You could add a calculated column that is that max date in your date colunn and make that the value of your slicer. 

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors