Forum Discussion
rzhuo6763
3 years agoFrequent Visitor
Can I create two different tables use one query?
I have two custom functions that generate two different tables with different columns. But these two functions use the same parameters. Any chance I can use the parameters once and create the two tables at the same time in one wrapped query?
Thanks
1 Reply
- amitchandak
Super User
rzhuo6763 , In the power query, you can two tables inside the code, but you will be able to return only one.
In this example I merged the code
Merge Queries, Why not Merge the code: https://youtu.be/YOFs39RCPfQ