Forum Discussion

MichaelF1's avatar
MichaelF1
Helper III
3 years ago
Solved

Power query text methods

Hi everyone,   How do I apply a text method in M code to a whole column?   I have  ColumnA ColumnB 1 abcFred 2 abcJane 3 Markabc 4 Jamabces 5 Emmabca   I want Co...
  • ppm1's avatar
    3 years ago

    In the query editor, select your column and click on Replace Values in the ribbon. Just leave the 2nd field blank.

     

    Pat

  • Legend_11's avatar
    3 years ago

    Try this one= Table.ReplaceValue(#"Changed Type","abc","",Replacer.ReplaceText,{"Column2"})

     

    Hope this helps!