Forum Discussion
Tmk123
2 years agoHelper II
Same SKU - hand typed different
Hi, Are there any features in Power BI (or Excel) that will allow me to identify the same SKU if it is typed differently? I could do this by hand but I have 550 lines to go through. I am tryin...
- 2 years ago
Use this step. Replace #"Changed Type" with your previous step
= Table.Group(Table.TransformColumns(#"Changed Type",{"SKU", each Text.BeforeDelimiter(_&" ", List.Difference(Text.ToList(_&" "), {"0".."9","A".."Z","a".."z"}){0})}), {"SKU"}, {{"Total Quantity", each List.Sum([Quantity])}})
Vijay_A_Verma
2 years agoMost Valuable Professional
Use this step. Replace #"Changed Type" with your previous step
= Table.Group(Table.TransformColumns(#"Changed Type",{"SKU", each Text.BeforeDelimiter(_&" ", List.Difference(Text.ToList(_&" "), {"0".."9","A".."Z","a".."z"}){0})}), {"SKU"}, {{"Total Quantity", each List.Sum([Quantity])}})