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
Junnsouzza
Regular Visitor

Expression.Error: We are unable to convert the value "1" to the List type.

Hello. I'm trying to convert a parameter's list into a text string to query the Oracle database. I'm using the Text.Combine() function but I'm not successful. I created a simple list containing 3 lines with the codes of the 3 companies in the database table, and i want to bring the data from these companies when executing the database query. The function returns the following error:

Lista = Text.Combine(Text.Combine(Par_Empresas, ", "))

ErroParametro.pngparametros.png


1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

@Junnsouzza 

 

Why are you using 2 nested Text.Combine functions? 

 

Text.Combine also requires a list as input so try 

 

Lista = Text.Combine({Par_Empresas}, ", ")

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

1 REPLY 1
PhilipTreacy
Super User
Super User

@Junnsouzza 

 

Why are you using 2 nested Text.Combine functions? 

 

Text.Combine also requires a list as input so try 

 

Lista = Text.Combine({Par_Empresas}, ", ")

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


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 Solution Authors
Top Kudoed Authors