While working on a client report, there was a requirement to clean and format text data before using it in visuals. The source file contained values such as codes, names, and descriptions combined into a single column. The client wanted only specific parts of the text, such as the first few characters, the last value, or the text before and after a symbol.
To solve this requirement, I used the Extract option in Power Query. This feature helps extract only the required part of the text and create a new column without changing the original data.
In this tutorial, I will explain how to use the Extract in the Power Query Add Column. I will cover:
- Extract Text Length in Power BI Power Query
- Get First Characters from Text in Power BI Power Query
- Extract Last Characters from a Text Column in Pow