Forum Discussion
Filtering poorly formatted source data...
- Nov 11, 2022
- ColinJHarrisonNov 11, 2022Brass Contributor
Riny_van_Eekelen as an output? Yes.
Are there formulas in your attachment? I'm looking at it on my phone, and I can't see any formulas.
- Riny_van_EekelenNov 11, 2022Platinum Contributor
ColinJHarrison No formulas. Just Power Query.
- ColinJHarrisonNov 11, 2022Brass Contributor
Hi Riny. I think your solution has shown me the way to solve my problem, so thank you very much! (Again!)
One question however - do you write your M code directly, or is everything you've put in this solution achievable using the input wizards provided by Power Query? How for instance did you build your custom column call:
= Table.AddColumn(#"Removed columns", "Subsection", each if Text.Contains([Column1], "Region -") then [Column1] else null)At this stage I would have no idea how to hand code someting like that, and I'm just wondering how much of https://learn.microsoft.com/en-us/powerquery-m/understanding-power-query-m-functions I need to be on top of to come up with solutions like this myself... 🙂
Cheers