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! Request now

Reply
Anonymous
Not applicable

Applying a default last date on a filter

Hello,

 

i'm developing a report, that naturally does calculations over a so called "report date".

 

I would like that, when the report is opened without a "report date" selected in its slicer, it assumes the value of the last existing report date for that column, so my doubt also is about using MAX or LASTDATE.

 

Thanks in Advance.

 

 

Regards

 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my research, it is not supported yet currently. There is an idea about that you can vote it up to make this feature coming sooner.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7162004-default-selected-slicer-or-tile-by-value-configura

 

BTW, We can create a calculated column as below to work around.

Column =
VAR maxdate =
    MAXX ( 'Table', 'Table'[Date] )
RETURN
    IF ( [Date] = maxdate, "Last date", FORMAT ( 'Table'[Date], "yyyymmdd" ) )

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my research, it is not supported yet currently. There is an idea about that you can vote it up to make this feature coming sooner.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7162004-default-selected-slicer-or-tile-by-value-configura

 

BTW, We can create a calculated column as below to work around.

Column =
VAR maxdate =
    MAXX ( 'Table', 'Table'[Date] )
RETURN
    IF ( [Date] = maxdate, "Last date", FORMAT ( 'Table'[Date], "yyyymmdd" ) )

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

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