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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
MattRasmussen
Helper I
Helper I

How to use concatenatex and max(date) together?

I have a table with multiple records per project that I want to combine using concatenatex and keep the last date of the relevant records.  Here's an example of the table

[ID]	[Record Date]	[Status Notes]
123		22-FEB-2022		SOW finalized.
123		17-MAR-2022		Hardware and software installed.
123		25-MAY-2022		Fit gap analysis complete.
747		13-APR-2022		User acceptance testing beginning this week.
747		14-JUN-2022		UAT completed.

I'm looking for this as the result in a new table or query:

[ID]	[Record Date]	[Status Notes]
123		25-MAY-2022		SOW finalized. Hardware and software installed. Fit gap analysis complete.
747		14-JUN-2022		User acceptance testing beginning this week. UAT completed.

  

Is this possible in Power BI with DAX?  I can't get it to work.

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

You can create a new table like

Summary Table = SUMMARIZECOLUMNS( 'Table'[ID], 
    "Record Date", MAX('Table'[Record Date]),
    "Status Notes", CONCATENATEX( 'Table',  'Table'[Status Notes], " ", 'Table'[Record Date], ASC)
)

View solution in original post

1 REPLY 1
johnt75
Super User
Super User

You can create a new table like

Summary Table = SUMMARIZECOLUMNS( 'Table'[ID], 
    "Record Date", MAX('Table'[Record Date]),
    "Status Notes", CONCATENATEX( 'Table',  'Table'[Status Notes], " ", 'Table'[Record Date], ASC)
)

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.