Forum Discussion

Gabe_V's avatar
Gabe_V
Helper I
3 years ago
Solved

Using List.RemoveItems in Table.ExpandTableColumn results in The field already exists in the record.

Hi folks,   I have a problem that I haven't been able to track down an existing solution for. I have grouped some columns and have a single resultant aggregated column (named "All"), but I need to...
  • wdx223_Daniel's avatar
    3 years ago

    List.RemoveItems(
    Table.ColumnNames(#"Grouped Rows"{0}[All]),
    List.Transform({0, 1, 2, 3, 4, 5, 6, 8, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 40, 44},each Table.ColumnNames(#"Grouped Rows"{0}[All]){_})
    )