Forum Discussion
Hennadii
5 years agoHelper IV
Power Query / M. Create a record with a parameterized field name
Hello experts, I'm looking for a solution to create a record with a custom field name through a function. I tried to use the following expression for CreateRecord function but it does not work p...
AlB
5 years agoCommunity Champion
Hi Hennadii
(fieldName) =>
let
rec = Record.FromList({"some value"}, {fieldName})
in
rec
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers