Forum Discussion

AlexParis's avatar
AlexParis
Frequent Visitor
6 years ago
Solved

Combine multiple rows in one in bank statement (just for one field)

Hi All, I import bank statements in M but my concern is that the field "Nature of the operation" is encountered on several rows. How to make the text of the column "Nature of the operation" put o...
  • Anonymous's avatar
    Anonymous
    6 years ago

    I made the necessary change. Biut you have to change the name of tab with the parameter of your last step.

    Use this after you last step

     

    Table.Group(name_tab_previuo_step, {"Date"}, {{"nop", each Text.Combine(_[#"Nature de l'opération"]," ")},{"Debito", each List.First(_[Débit])}},GroupKind.Local,(x,y)=>Number.From((x=y or y[Date]<>null)))