Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Using variables in Power Query

Hello!

 

I want to maintain a list of variables in Power Query:

Text1

Text2

etc

 

I want then to feed each of these variables to specific positions in my Power Query code, how can I do that please?

 

E.g. the Text1 can be used as a part of a filename or filepath or worksheet name etc.

 

If you also have some easy documentation how to loop through the variables list and execute a particular Power Query using each of the variables in the list at a time, that would also be interesting!

 

Thanks!

1 Reply