Bonjour,
Un exemple.
Cdlt.
let
Source = Excel.CurrentWorkbook(){[Name="Tableau1"]}[Content],
GroupedRows = Table.Group
(
Source,
{"N° Client"},
{{"Partition", each _, type table [#"N° Client"=nullable number,
#"N° facture"=nullable number, #" Montant"=nullable number]},
{"Cumul", each List.Sum([#" Montant"]), type nullable number}}
),
ExpandedPartition = Table.ExpandTableColumn(GroupedRows, "Partition", {"N° facture", " Montant"}, {"N° facture", " Montant"})
in
ExpandedPartition