Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
the excel contains always 3 dates, I want the header to return per date
I can manage to insert an empty row per car per date
but copying the header does not work
in attachment small example where column H to K is the desired one
let
Bron = Excel.CurrentWorkbook(){[Name="Tabel1"]}[Content],
#"Type gewijzigd" = Table.TransformColumnTypes(Bron,{{"datum", type date}, {"wagen", type text}, {"omschrijving", type text}, {"chauffeur", type text}}),
Samen = Table.AddColumn(#"Type gewijzigd", "Samengevoegd", each Text.Combine({Text.From([datum], "nl-BE"), [wagen]}, " "), type text),
cols = Table.ColumnNames(Samen),
grp = Table.Group(Samen, {"Samengevoegd"}, {{"Count", each Table.InsertRows(_,Table.RowCount(_), {Record.FromList(List.Repeat({null},Table.ColumnCount(_)),cols)} )}}),
delCol = Table.RemoveColumns(grp,{"Samengevoegd"}),
Toe_leeg = Table.ExpandTableColumn(delCol, "Count", cols, cols),
Kol_verw = Table.RemoveColumns(Toe_leeg,{"Samengevoegd"})
in
Kol_verw
Solved! Go to Solution.
Hi @KrisMoens, I recommend you to read about Freeze Panes in Excel - I believe this will solve your issue.
Hi @KrisMoens, I recommend you to read about Freeze Panes in Excel - I believe this will solve your issue.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.