Forum Discussion
mike_asplin
6 months agoHelper V
Very odd merge behavior in power Query
I have a look up table with a row for "Sales Enquiry" as below which is called Enquiry Status Reason Funnel In my main table I am using this merge and expansion #"Merged Queries6" ...
- 6 months ago
I did check for duplicates and the extra spaces. If it had no columns that would make sense. As i said doing a complete refresh seemed ot clear its head and it was fine. Thanks for response.
rohit1991
6 months agoSuper User
Hii mike_asplin
Since one column expands correctly and others return null, the merge is partially matching but not fully resolving the lookup row.
Fix:
-
In both tables, set join column explicitly to Text.
-
Add a clean column for merge:
Text.Upper(Text.Trim([Enquiry Status Reason (CRM)]))
-
Use this cleaned column in the merge on both sides.
-
Refresh preview (sometimes Power Query cache holds old structure).
- mike_asplin6 months agoHelper V
I did a refresh and fixed itself before I tried your fix but much appreciated