Expanding columns in the Query Editor (with Transform->Structured Column->Expand) one-by-one with heavily nested Records and 100+ columns by the end is
incredibly tedious and time-consuming.
A single function to continuously expand all columns capable of being expanded until no more can be expanded would be useful.
Ideally this could have a check-box as well, setting the function to run every time data is updated to allow for evolving input schema.
- Comments (2)
RE: Expand All Columns in Query Editor
For now you can use this script https://blog.crossjoin.co.uk/2014/05/21/expanding-all-columns-in-a-table-in-power-query/
RE: Expand All Columns in Query Editor
An example of when this would be useful, is when the names of the columns can change. For instance I have some parameters I can change to perform a different query, resulting in different column names, which breaks the query. I must edit the query manually to tell it which columns it needs to expand as the ones it previously was looking for aren't there.