This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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 | ID1 | ID2 |
| 1 | 123456 | |
| 2 | 456789 | |
| 3 | 321456 | |
| 4 | ||
| 5 | 654132 | |
| 6 | 789456 | |
| 7 | 987456 |
Intended result
| Row Number | ID1 | ID2 | IDCombined |
| 1 | 123456 | 123456 | |
| 2 | 456789 | 456789 | |
| 3 | 321456 | 321456 | |
| 4 | |||
| 5 | 654132 | 654132 | |
| 6 | 789456 | 789456 | |
| 7 | 987456 | 987456 |
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!
Proud to be a Super User! | |
Solved! Go to Solution.
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
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
Sometimes the simplest solutions stare you in the face 🙂 Thank you!
Proud to be a Super User! | |
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 23 | |
| 18 |