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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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}))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 35 | |
| 35 | |
| 28 |
| User | Count |
|---|---|
| 134 | |
| 101 | |
| 71 | |
| 67 | |
| 65 |