Forum Discussion
Name a Table from a Column Value
- 1 year ago
I can not reproduce your behaviour. The code snippet you gave is not complete, so I guess there is more happening.
BUT,
You will always have to manuall create a new query for each row.
Given that...Starting with:
Rightclick on the Table in any line and "Add as New Query
Will produce this new query:
Did I answer your question? Then please (also) mark my post as a solution and make it easier to find for others having a similar problem.
Remember: You can mark multiple answers as a solution...
If I helped you, please click on the Thumbs Up to give Kudos.Kees Stolker
A big fan of Power Query and Excel
Still not entirely sure what you want to achieve, but NO, you can not rename a query by code on PowerQuery.
If you are working in Excel, you CAN use VBA to rename queries, but you will not hav access to the query results in VBA...
Kees Stolker
A big fan of Power Query and Excel