Forum Discussion

robwill100's avatar
robwill100
Brass Contributor
Mar 10, 2021
Solved

adding a line break in cell with power query

Hi All, looking for some help to insert line breaks in cells with power query.

 

In column "A" of the attached file is the output of a grouped query in PQ. Whilst i haev added spaces in the text with a ";" I have not been able to perform a query where the data is seperated by a ";" and placed on a new line within the same cell. I can do a concatenate & char(10) as an excel formula I would like to do it via PQ.

 

Any assiatance would be appreciated.

 

Cheers, Rob

3 Replies

    • chris1701's avatar
      chris1701
      Copper Contributor

      Riny_van_Eekelen 

       

      Thanks that saves me a lot of time. 

       

      Just a hint to annyone who tries this: #(lf) needs to be quoted to "#(lf)" and the cells in the table need to be formated with Wrap Text

      • renee_crozier's avatar
        renee_crozier
        Brass Contributor

        Another hint from over a year later......it is lowercased LF.

Resources