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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors