Categories
Mastering Development

Q: How to dynamically expand records

I have a use-case where I have multiple columns containing records that I want to expand dynamically. Meaning that the name of the columns to expand is not hardcoded. Expanded = Table.ExpandRecordColumn(Source, “HardcodedColumnName”, {“fieldname”}, {“fieldname”}), My M code snipped below can expand records dynamically based on a transformation table. But I cannot get my head […]