Power Query Merging Columns and M Code (managing nulls and excess delimiters) @OzduSoleilDATA
Power Query Merging Columns and M Code (managing nulls and excess delimiters)  @OzduSoleilDATA
Uploaded March 2017 | Updated November 2026, 14 hours ago
In this video, I go deeper into the issue of clearing excessive delimiters after merging columns in Power Query (Get and Transform).

The previous, related video:
youtube.com/watch?v=_53lAs9tA5g

This video describes:
1. Why my hack worked.
I replaced nulls with: ^
Then systematically replaced the ^ symbols. This is much better that merging columns and having lots of delimiters stuck together

2. An M-code solution that Owen Auger helped me with, using
List.RemoveNulls
This is a single step and very clean. However, this solution is in the world of writing code and is great for those who are comfortable with coding.

Check out the previous video to see how this can be handled in native Excel by using the TEXTJOIN function.

Download the workbook here: datascopic.net/ColMerge

Also mentioned in the video; other giants in the world of writing M-code:

Owen Auger
owenaugerblog.wordpress.com

Miguel Escobar
poweredsolutions.co/blog

Ken Puls
excelguru.ca/blog

Bill Syzyz
youtube.com/channel/UCx_joCOEjU1KdTpPvu4baYA



Website: ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336

My old blog: datascopic.net/blog-2-2
Power Query Merging Columns and M Code (managing nulls and excess delimiters)3 ways to compare and clean lists in Excel: VLOOKUP, MATCH, Get & Transform Left Anti-JoinPower Query: Split columns between digits and non-digitsUsing Parameters in Power Query to Generate Random Data + Data ValidationExcels LET function in 3 ActsPower Query: Split by Variable Columns (BONUS: Road Trip Summary)Pass Parameter (Drill Down) to Pick Name Format with Power QueryA Case Study on Data Quality: Find & Clean Skunk Data with Power QueryUsing RANDARRAY for a Random Data Generator in Excel: Random NamesPower Query: Identify & Retrieve Partial Strings of TextMerging Data with the 6 Joins in Power Query: Inner Join, Outer Joins and Anti-Joins ExplainedThe VSTACK Function | Dynamic Arrays | Stacking variable data into a single array
Excel On Fire (Oz du Soleil) |

Power Query Merging Columns and M Code (managing nulls and excess delimiters)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER