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
Anonymous
Not applicable

concatanate a column by row

I am trying to concatenate a column of refernece numbers by load number. I tried doing a simple concatenate formula but it concatenated the entire column into one row. I need just one row at a time concatenated not the entire column. Below is what i used. 

 

 

CONCATENATE(<text1>, <text2>)

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

Please correct me if I wrongly understood your question.

Since you did not provide accurate data, I am here to provide a simple example .You can refer to it .

Original data:

Ailsa-msft_0-1619686835551.png

And then transpose the table in Query Editor .

Ailsa-msft_1-1619686835555.png

Ailsa-msft_2-1619686835556.png

Create a measure with CONCATENATE dax. Because CONCATENATE only supports two parameters, when you have multiple columns, you can use nested .

Measure = CONCATENATE(MAX('Table'[Column1]),CONCATENATE(MAX('Table'[Column2]),MAX('Table'[Column3])))

 

The effect is as shown:

Ailsa-msft_3-1619686835557.png

 

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous 

Please correct me if I wrongly understood your question.

Since you did not provide accurate data, I am here to provide a simple example .You can refer to it .

Original data:

Ailsa-msft_0-1619686835551.png

And then transpose the table in Query Editor .

Ailsa-msft_1-1619686835555.png

Ailsa-msft_2-1619686835556.png

Create a measure with CONCATENATE dax. Because CONCATENATE only supports two parameters, when you have multiple columns, you can use nested .

Measure = CONCATENATE(MAX('Table'[Column1]),CONCATENATE(MAX('Table'[Column2]),MAX('Table'[Column3])))

 

The effect is as shown:

Ailsa-msft_3-1619686835557.png

 

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@Anonymous 

 

Not clear what you want to do. Please be more specific.

Fowmy
Super User
Super User

@Anonymous 

It depends where your formula is, if you are creating a calculated column in a table then the above will work and go one row at a time but if you want to create a measure then, include the column value within an aggregator like

Measure = CONCATENATE( MAX(<text1>), MAX (<text2>))

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.