Forum Discussion
smpa01
3 years agoCommunity Champion
Assiginng Record Field Name Dynamically
Is it posible to assign the Record Field name dynamically.
I am currently getting an error.
let
fieldName = {"a","b"},
src=[fieldName{0}=1,fieldName{1}=2]
in
src
Alexis...
- 3 years ago
How about this?
let fieldNames = {"a","b"}, src=Record.FromList({1,2}, fieldNames) in src
AlexisOlson
3 years agoSuper User
How about this?
let
fieldNames = {"a","b"},
src=Record.FromList({1,2}, fieldNames)
in
src