Forum Discussion

PeeWhy's avatar
PeeWhy
Frequent Visitor
4 years ago
Solved

Best Practice to Consolidate a Table with Multiple Values

I am having a hard time wrapping my head around the best way to merge this data and looking for a best practice approach.   Here is a sample of some raw data in an imported CSV.  There are some com...
  • jsaunders_zero9's avatar
    4 years ago

    Considering Grouping the rows in PowerQuery.

    = Table.Group(#"Changed Type", {"CUSTOMER", "CITY", "STATE"}, {{"INV", each List.Sum([INV]), type nullable number}, {"WEIGHT", each List.Sum([WEIGHT]), type nullable number}})