How to Split Columns Like a Pro in Seconds! - Power Query Challenge 67

Опубликовано: 13 Май 2026
на канале: How to Learn Excel
342
32

How to Split Columns Like a Pro in Seconds! - Power Query Challenge 67
In today’s Power Query challenge, we’re tackling a tricky task: splitting an ID column at the second dash. It sounds simple, but the usual Power Query options just don’t do the job right.

If you’ve ever tried to split a column based on delimiters like dashes or commas, you know the struggle. The built-in "Split Column" options often give you results you weren’t expecting—especially when you need more control over where the split happens.
What You’ll Learn in This Video:

📌 Step 1: Why Split Column Options Won’t Work
We’ll explain why the standard split options—by first dash, every dash, or the right-most dash—might seem helpful, but they fail when you need to split at the second dash specifically.

📌 Step 2: Power Query Functions to the Rescue
We’ll introduce you to Text.BeforeDelimiter and Text.AfterDelimiter, which give you the flexibility to choose exactly where to split the column. This method works even when the number of delimiters isn’t consistent!

📌 Step 3: Building the Solution
Step-by-step, we’ll show you how to structure the query and use these functions to split your ID column in the right place, leaving you with clean, well-structured data.

📌 Step 4: Expanding and Cleaning Up
Learn how to clean up the results and remove unnecessary columns to get your final output ready for reporting.
Key Takeaways:

✔️ Why the default "split by delimiter" methods can lead you into a trap
✔️ How to split columns based on the second occurrence of a delimiter
✔️ Using Text.BeforeDelimiter and Text.AfterDelimiter for precise control
✔️ A simple, repeatable approach to splitting data when it’s not a perfect fit for Power Query’s default options

This technique can help you handle tricky data formats in all sorts of situations—whether you’re working with IDs, text fields, or anything else that needs precise splitting.

Ready to split your data the smart way? Give it a try and let us know how it worked for you in the comments! 💬👇

Explore more tutorials:
🎥 Power Query Challenges Playlist:
   • Power Query: Challenges  
🎥 Dynamic Array Formulas Playlist:
   • Modern Excel Challenges  

#PowerQuery #ExcelTips #HowToLearnExcel

Links:
Challenge Author: Omid Motamedisedeh
LinkedIn:   / omidmot  
Youtube:    / @omidbi  
Website: https://www.omidbi.com/
Original Challenge Post: https://lnkd.in/gz3uGQPB