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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Eng-mohd
Helper I
Helper I

undefined

Combine two columns

Data like in pic

 

Desire column

1000080927.jpg

1 ACCEPTED SOLUTION
DallasBaba
Skilled Sharer
Skilled Sharer

@Eng-mohd 

This is the Power BI Solution using DAX.

DallasBaba_0-1704957812179.png


You can archive this in the Power Query editor.

 Duplicate the Columns you want to merge

1 - Select the two columns

2- Roght click & select Merge Columns OR use the Ribbon tab as shown in the below image

DallasBaba_1-1704958411317.png

If this post helps, please consider Accepting it as the solution to help others find it more quickly. 
 
Thanks
Thanks
Dallas

View solution in original post

3 REPLIES 3
DallasBaba
Skilled Sharer
Skilled Sharer

@Eng-mohd 

This is the Power BI Solution using DAX.

DallasBaba_0-1704957812179.png


You can archive this in the Power Query editor.

 Duplicate the Columns you want to merge

1 - Select the two columns

2- Roght click & select Merge Columns OR use the Ribbon tab as shown in the below image

DallasBaba_1-1704958411317.png

If this post helps, please consider Accepting it as the solution to help others find it more quickly. 
 
Thanks
Thanks
Dallas
DallasBaba
Skilled Sharer
Skilled Sharer

@Eng-mohd You can use this Dax for the new calculated column

 

Combined = TableName[No] & " " & TableName[Name]

 

Let me know if this works for you. @ me in replies, or I'll lose your thread!!!  


Note: 

If this post helps, please consider Accepting it as the solution to help others find it more quickly. 
 
Thanks
Thanks
Dallas

1000080934.jpg

 this is the error

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors