Forum Discussion

JVos's avatar
JVos
Helper IV
7 years ago
Solved

Insert empty row without explicitly specifying column names

For adding one empty row to the "Sorted rows" intermediate result I have the following code:   Table.InsertRows(#"Sorted Rows", 0, {[RoutingCropGroupCode = "", RouteName = "", LineNumber = "", Perc...
  • Zubair_Muhammad's avatar
    7 years ago

    JVos 

     

    Also this one.

    This uses your Table.InsertRows method

     

    = Table.InsertRows(#"Sorted Rows", 0,{Record.FromList(List.Repeat({""},Table.ColumnCount(#"Sorted Rows")),Table.ColumnNames(#"Sorted Rows"))})