Forum Discussion

102938's avatar
102938
Copper Contributor
Jul 29, 2022
Solved

Remove duplicate words in a cell after power query grouping and aggregating from a table

Hello,   I am using a power query to group and aggregate columns of a table. After the power query, the aggregated columns contain duplicate values. For example one of the aggregated columns is ISO...
  • SergeiBaklan's avatar
    Jul 29, 2022

    102938 

    As variant you may aggregate ISO as sum, that will return an error, in formula bar will be something like this

    Change in formula bar on that

    Other words instead of List.Sum first List.Distinct to remove duplicates, on the top Text.Combine to have one string.

    With that doesn't matter how many aggregations you have, you correct only specific one.

Resources