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
ExcelMonke
Impactful Individual
Impactful Individual

Combining two columns into one without Power Query Editor

I need some help with combining two columns into one within my report. I can not use the Power Query Editor for a couple factors, and therefore would like a new column within the same table.

 

This is a sample of what the current table looks like:

Row Number ID1ID2
1123456 
2456789 
3 321456
4  
5 654132
6789456 
7 987456

 

Intended result

Row Number ID1ID2 IDCombined
1123456 123456
2456789 456789
3 321456321456
4   
5 654132654132
6789456 789456
7 987456987456

 

I have tried using the concatenate, union, and addcolumn functions however I keep running into errors, including scalar value issues.

 

Any help is greatly appreciated! 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





1 ACCEPTED SOLUTION
jthomson
Solution Sage
Solution Sage

Can you not use something like if column2 = blank then column1 else column2? I'm assuming that there's not instances where there might be data in both columns at the same time that you might need to combine

View solution in original post

2 REPLIES 2
jthomson
Solution Sage
Solution Sage

Can you not use something like if column2 = blank then column1 else column2? I'm assuming that there's not instances where there might be data in both columns at the same time that you might need to combine

ExcelMonke
Impactful Individual
Impactful Individual

Sometimes the simplest solutions stare you in the face 🙂  Thank you!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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 Fabric 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.