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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors