EN VI

Excel - Passing table source as variable - Power BI?

2024-03-12 16:00:11
How to Excel - Passing table source as variable - Power BI

I m trying to use source string from a variable and i m getting an error that i can not convert string to list.

I have the below step as source:

= Table.Combine({#"File 2023", #"File 2024", #"File 2025"})

I create a table and import this the below string as a value

{#"File 2023", #"File 2024", #"File 2025"}

Variable called cnsListcreated and the string succesfully passed into the variable.

When i use = Table.Combine(cnsList) i get the error that i can not use text as list.

Any ideas?

Solution:

Try this:

Table.Combine(Expression.Evaluate(cnsList, #shared))
Answer

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login