Forum Discussion
Power Query Editor Restricted at 1000 Rows - Doesn't pull in new arrays added to JSON
- 6 years ago
Not sure if my understanding is correct, but sometimes PQ autogenerates code that requires manual ammendments to typed in twice. So if you expand a record column for example, the following code will be generated:
Table.ExpandRecordColumn(#"Filtered Rows", "Value", {"streetAddress", "city", "state", "postalCode"}, {"streetAddress", "city", "state", "postalCode"})
The list in the last parameter is optional (new column names, if needed). So you can safely omit it if you want to stick with the original field names.
BUT if you include more columns to expand, you have to add a name for those columns as well in the last parameter:
Table.ExpandRecordColumn(#"Filtered Rows", "Value", {"streetAddress", "city", "state", "postalCode", "country"}, {"streetAddress", "city", "state", "postalCode", "country"})
Otherwise your error message will be shown.
Not sure if my understanding is correct, but sometimes PQ autogenerates code that requires manual ammendments to typed in twice. So if you expand a record column for example, the following code will be generated:
Table.ExpandRecordColumn(#"Filtered Rows", "Value", {"streetAddress", "city", "state", "postalCode"}, {"streetAddress", "city", "state", "postalCode"})
The list in the last parameter is optional (new column names, if needed). So you can safely omit it if you want to stick with the original field names.
BUT if you include more columns to expand, you have to add a name for those columns as well in the last parameter:
Table.ExpandRecordColumn(#"Filtered Rows", "Value", {"streetAddress", "city", "state", "postalCode", "country"}, {"streetAddress", "city", "state", "postalCode", "country"})
Otherwise your error message will be shown.
Thank you this worked