Forum Discussion
How to expand record column dynamically with Power Query
- 2 years ago
= Table.ExpandRecordColumn(#"Reordered Columns", "specifications",Record.FieldNames(Record.Combine(product_data[specifications])))
Parth_1 if all records have the same set of fields then read field names into some variable using Record.FieldNames(your_table[specifications]{0}) and use it in expand step.
- Parth_12 years agoHelper I
= Table.ExpandRecordColumn(#"Reordered Columns", "specifications",Record.FieldNames(product_data[specifications]{0}))
As per your suggestion I Expanded the column with above code but it does not expanding all the records in specification column itself.- wdx223_Daniel2 years agoCommunity Champion
= Table.ExpandRecordColumn(#"Reordered Columns", "specifications",Record.FieldNames(Record.Combine(product_data[specifications])))
- Anonymous2 years agoNot applicable
I try to tackle the same issue but keep getting the error that there is a loop. How can I make sure i indicate the right column?
- AlienSx2 years agoSuper User
Parth_1 make sure that product_data has valid records in specifications column. Try solution provided by wdx223_Daniel but still pay attention to product_data table.
- Parth_12 years agoHelper I
Thank You for the solution and suggestion.