Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Cleaning Data in Query Editor with Inconsistent Delimeters

Hi All,   I am trying to clean some data from within the Query Editor, but I'm a little limited in my M knowledge to be able to do so. Here's a mock data set that I am working with:      W...
  • v-lid-msft's avatar
    6 years ago

    Hi Anonymous ,

     

    We can use the Text.TrimStart function to meet your requirement, this function can removing all leading whitespace from text value. You can get more information from this document: https://docs.microsoft.com/en-us/powerquery-m/text-trimstart

     

     


    BTW, pbix as attached.

     

    Best regards,

    Community Support Team _ Dong Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.