Forum Discussion

gaccardo's avatar
gaccardo
Advocate II
8 years ago
Solved

Transform Data from SharePoint List

I have a table with a single column, and what I would like to do is transfrom this into a single, comma-separated value,

like this 883673,883674,883678...  How can I do this?

 

3 Replies

  • donsvensen's avatar
    donsvensen
    Skilled Sharer

    Hi

     

    In Power Query you can do use the Text.Combine

    = Text.Combine(Table1[Column1.id],",")

    In DAX you can create a measure with CONCATENATEX

     

    Measure = CONCATENATEX(Table1,[Column1.id],";")

     

    /Erik

     

     

    • gaccardo's avatar
      gaccardo
      Advocate II

      Thank you very much for the solution.  When I use the following expression:

          #"Combine" = Text.Combine(workItemTable[Column1],",")

       

      I get the following message:

       

      Expression.Error: We cannot convert a value of type Record to type Text.
      Details:
          Value=Record
          Type=Type

       

      What have I missed?

       

      Best Regards,

      G