Forum Discussion
Anonymous
4 years agoNot applicable
Finding a way to split the column
Hello everyone, Morning! I hope you guys are doing well. Appreciate all your replies I had a column in Power BI, where the data was not in the same format, and I am looking for splitting th...
- 4 years ago
You just need to add a custom column to your existing query and put this formula in the pop-up box. Replace Exams with your actual column name.
Text.Combine(List.Select(List.LastN(Text.Split([Exams], "-"),2), each Text.Contains(_, "2")), "-")Pat
Icey
Community Support
4 years agoHi Anonymous ,
Based on my test, mahoneypat 's method should work in your scenario.
In addition, you can also try this:
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.