let
Source = Excel.CurrentWorkbook(){[Name="Tabela1"]}[Content],
#"Filtered Rows" = Table.SelectRows(Source, each ([Date] <> null)),
#"Changed Type" = Table.TransformColumnTypes(#"Filtered Rows",{{"Date", type date}}),
#"Inserted Year" = Table.AddColumn(#"Changed Type", "Year.1", each Date.Year([Date]), Int64.Type),
#"Inserted Month" = Table.AddColumn(#"Inserted Year", "Month.1", each Date.Month([Date]), Int64.Type),
#"Grouped Rows" = Table.Group(#"Inserted Month", {"Year.1", "Month.1"}, {{"Totals", each List.Sum([Total]), type number}})
in
#"Grouped Rows"