Forum Discussion

aa_KF's avatar
aa_KF
Icon for Helper I rankHelper I
7 years ago
Solved

Merge rows that have the same id number

Hello,   I have table that contains many rows for each Person, I want to merge these rows together so each person has only one row seperating the rows value using a delmiter. If the the cell conta...
  • Zubair_Muhammad's avatar
    7 years ago

    Hi aa_KF 

     

    Try adding this step from the Query Editor.

    See sample file as well

     

    = Table.Group(#"Changed Type", {"ID", "Name", "Email", "Section"}, 
    {
    {"Course", each Text.Combine(List.Distinct(_[Course]),", ")},
    {"Result", each Text.Combine(List.Distinct(_[Result]),", ")}
    })