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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
blestone111
Helper I
Helper I

Get Max date from date Range slicer and concatenate with text

hi Experts

 

i am trying to get the max date from a date range slicer and the once you have the max date from the date range slicer concatenate this into a new measure to show - out put as shown below.

 

 

blestone111_0-1741253151068.png

 

1 ACCEPTED SOLUTION
blestone111
Helper I
Helper I

Worked it out

MAx Date = 
VAR MaxOrder = LASTDATE('Date Calendar'[Date])
RETURN
    "12 Months to"&" "& FORMAT(MaxOrder, "MMMM-YYYY")

View solution in original post

2 REPLIES 2
blestone111
Helper I
Helper I

Worked it out

MAx Date = 
VAR MaxOrder = LASTDATE('Date Calendar'[Date])
RETURN
    "12 Months to"&" "& FORMAT(MaxOrder, "MMMM-YYYY")
rajulshah
Resident Rockstar
Resident Rockstar

Hello @blestone111 

 

You can try the below DAX formula and please let me know if this didn't work.

Max Date Text =
FORMAT ( MAX ( Dates[Date] ), "mmmm" ) & " - "
    & FORMAT ( MAX ( Dates[Date] ), "YYYY" )

Below is the result I got -

rajulshah_0-1741253602866.png

Thanks, let me know if you face any issues.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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