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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Jyo27
Helper II
Helper II

Concatenate

Hi Everyone , 

I need to concatenate two columns . Please help how can I achieve the expected output.

 

Daycustom
1Day
2Day
3Day
4Day

 

Expected Result:

Day
Day 1
Day 2
Day 3
Day 4
1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi , @Jyo27 

For your need , here are two ways in Power Query Editor and Power Bi Desktop.

(1)If you do not need the raw columns, you can do it in Power Query Editor(click "Transform data" 😞

You can select two columns and then click the "Merge Columns" in the "Transform" tab.

vyueyunzhmsft_0-1669948078468.png

Then you can enter like this and we can meet your need:

vyueyunzhmsft_1-1669948135588.png

 

(2)If you need to keep two columns and use it in Power BI Desktop , we can use dax to meet your need.

We can go to this table , and click "New Column" and enter this:

Column = [custom] & " " & [Day]

Then we can meet your need:

vyueyunzhmsft_2-1669948234932.png

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

2 REPLIES 2
v-yueyunzh-msft
Community Support
Community Support

Hi , @Jyo27 

For your need , here are two ways in Power Query Editor and Power Bi Desktop.

(1)If you do not need the raw columns, you can do it in Power Query Editor(click "Transform data" 😞

You can select two columns and then click the "Merge Columns" in the "Transform" tab.

vyueyunzhmsft_0-1669948078468.png

Then you can enter like this and we can meet your need:

vyueyunzhmsft_1-1669948135588.png

 

(2)If you need to keep two columns and use it in Power BI Desktop , we can use dax to meet your need.

We can go to this table , and click "New Column" and enter this:

Column = [custom] & " " & [Day]

Then we can meet your need:

vyueyunzhmsft_2-1669948234932.png

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

vicky_
Super User
Super User

You can try to go back into Power Query > Add Column > Merge Columns.
If your Day is a number type, you may need to edit the formula so that it is a text value.

vicky__0-1669932864306.png

This should give you a merged column with the Day + Day Number. You can delete the two columns if you don't need them anymore.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.