Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not 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 1
wdx223_Daniel
Super User
Super User

the first parameter of Text.AfterDelimiter should be a text, but you give it a record of the 13th row of Source

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Kudoed Authors