I have a step in my query which contains a list of field names
I want to transform this list into a list of lists, it should look like the following
I'm trying this
The second portion of the transform, which is creating a function, is giving me an error saying "Expression.SyntaxError: Invalid identifier."
How can I reference the original list item _ within a function as a list item?
Code:
= {"Customer", "Product"}
I want to transform this list into a list of lists, it should look like the following
Code:
{
{"Customer", each Text.Combine({[#"Customer - Text"], [#"Customer - Key"]}, " "), type text},
{"Product", each Text.Combine({[#"Product - Text"], [#"Product - Key"]}, " "), type text}
}
I'm trying this
Code:
= List.Transform(Source, each
{
_,
each Text.Combine([#_ & " - Text"]}," "),
type text
})
The second portion of the transform, which is creating a function, is giving me an error saying "Expression.SyntaxError: Invalid identifier."
How can I reference the original list item _ within a function as a list item?