Bird
0
0

You tried to merge columns City and Country using this code:

medium📝 Formula Fix Q14 of 15
Power BI - Power Query Editor
You tried to merge columns City and Country using this code:
Table.AddColumn(Source, "Location", each [City] + ", " + [Country])

But you get an error. What is the likely cause?
AMissing a space after the comma separator
BUsing + operator instead of & for text concatenation
CTable.AddColumn cannot merge columns
DColumn names are case sensitive and incorrect
Step-by-Step Solution
Solution:
  1. Step 1: Check concatenation operator in Power Query

    Power Query uses & to join text, not + which causes an error.
  2. Step 2: Review other options

    Missing space after comma is not an error, AddColumn can merge columns, and case sensitivity depends on source but usually not error here.
  3. Final Answer:

    Using + operator instead of & for text concatenation -> Option B
  4. Quick Check:

    Use & for text join, not + [OK]
Quick Trick: Use & to join text columns, not + [OK]
Common Mistakes:
  • Using + instead of & for text
  • Assuming AddColumn can't merge
  • Ignoring case sensitivity issues

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Power BI Quizzes