Forum Discussion
Anonymous
4 years agoNot applicable
Use a List as an argument in Table.CombineColumns
I'm getting the data type error "We cannot convert a value of type Record to type Text." when attempting to call a list as the argument for columns to be combined in the CombineColumns function. I've run into this before, but don't recall what the fix was. I think I may need a sub function to cast the list properly?
Current line of M, the issue is the call to #"Filter Dupe List" which is a list of values that are column names:
#"Merged Columns" = Table.CombineColumns(#"Source", #"Filter Dupe List", Combiner.CombineTextByDelimiter(", ", QuoteStyle.None), Text.AfterDelimiter(Source{13}, ".")),
1 Reply
- wdx223_Daniel
Community Champion
the first parameter of Text.AfterDelimiter should be a text, but you give it a record of the 13th row of Source