Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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}))
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 19 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 57 | |
| 55 | |
| 41 | |
| 40 | |
| 30 |