Forum Discussion
mrc_bob
3 years agoRegular Visitor
List.Transform list of columns with return value with function which needs the actual columnName
I am trying for a while to have a dynamic step to transform the data from 1-n columns with the result of a function call. We are working on Dynamics 365 where we have a lot of optionsets. I have...
mrc_bob
3 years agoRegular Visitor
So for this first each I had the idea already this is the column name.
within my function I need the value of the record within that column, "static entity name", "column name"
I beleave the second each gives me the value correct. But how do I get the column name of the first each again?
DennesTorres
Power Participant
3 years agoHi,
Sorry, I didn't get your 2nd each.
The first each is inside the List.Transform. The List.Transform is applied over a single dimension array. The "_" is a string, the column name from the single dimension array.
I didn't get what iteration the 2nd each is trying to do. What the "_" on the 2nd each is ? Does the 2nd each works, if you make a more simple transformation, without the function call ?
Kind Regards,
Dennes