Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello
Is it possible to structure an array of all values excluding specific values?
I.e. I want to do Table.SelectColumns(#Table,not {"col1","col2"})
i.e. to select all columns of the model apart from specific columns.
Thanks!
Solved! Go to Solution.
I think you could combine Table.ColumnNames and List.RemoveItems
Something like
Table.SelectColumns(#Table, List.RemoveItems(Table.ColumnNames(#Table), {"Col1", "Col2}))
I think you could combine Table.ColumnNames and List.RemoveItems
Something like
Table.SelectColumns(#Table, List.RemoveItems(Table.ColumnNames(#Table), {"Col1", "Col2}))