Forum Discussion

jbbcormed's avatar
jbbcormed
Frequent Visitor
2 years ago
Solved

remove distinct values from row within a column

I am trying to remove repeated values from a column that has comma seperated values (Ex, 1,3,4,6,7,9,9,9,9) should return (1,3,4,5,6,9)    I found a match for my issue on stack overflow, which wor...
  • Greg_Deckler's avatar
    2 years ago

    jbbcormed Try adding a custom column like this:

    =Text.Combine(List.Distinct(Text.Split([YOUR COLUMN NAME], ", ")),", ")

     

    You can then remove the original column.