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.
Hi All
I have a two text columns in the table, but i need to combine the two text columns make it as one in power Query
Below are the examples in the below table i have Name column and New Name Column. I need to combine the two columns and the condition is where ever New Name having the text it needs to be come othere wise Name has to come in Power Query ,like Result Column name in Below Image. Please find the Image for your refrence
Thanks!! Nagaraju
@Anonymous
Please clarify the logic by adding a few more rows in the sample. I only see the result = column2. For now, you can also try:
= if Text.Contains([Column1],[Column2]) then [Column2] else [Column1]
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Your question is not very clear. Based on my understanding you can create a custom column with below code in power query:-
if [new_name] <> null
then [new_name]
else [name]
Let me know if this is the expected output?
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
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 |
|---|---|
| 32 | |
| 25 | |
| 24 | |
| 24 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 24 | |
| 19 |