Forum Discussion
Einomi
3 years agoHelper V
Sum certain columns
Hi, Very common topic, but I cannot find an easy and proper solution. I have data coming and I applied some transformations to unpivot the data. As a result, I have 7 columns (the 7 first) that g...
- 3 years ago
This would work
let Source = Consolidation, #"Colonnes supprimées" = Table.RemoveColumns(Source,{"What is your e-mail address ?", "Loyalty Card", "Card Number"}), #"Espaces supprimés" = Table.TransformColumns(#"Colonnes supprimées",{{"City", Text.Trim, type text}}), FirstColRef = 7, RowTotal = Table.AddColumn(#"Colonnes supprimées", "Sum", each List.Sum(List.Skip(Record.ToList(_),FirstColRef))) in RowTotal - 3 years ago
Thank You, perfect Vijay_A_Verma
Einomi
3 years agoHelper V
Thank You, perfect Vijay_A_Verma