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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.