Forum Discussion
New table / query based on existing query
- 10 years ago
operator, PowerBI Desktop uses PowerQuery internally, so the capabilities are almost identical (Save a few Excel related features)
You can refer to another query by their name, for example, starting from a Blank Query, type
= Query1
that will refer to an existing query called "Query1"
operator, PowerBI Desktop uses PowerQuery internally, so the capabilities are almost identical (Save a few Excel related features)
You can refer to another query by their name, for example, starting from a Blank Query, type
= Query1
that will refer to an existing query called "Query1"
- pqian10 years agoMicrosoft Employee
BTW, if you right click on "Query1", you can pick "Reference Query" from the context menu to do exactly this
- operator10 years agoFrequent Visitor
Lovely! That's even easier! Gee I should've asked earlier here than finding the solution for many hours in Google.
Thanks again for your help!
- operator10 years agoFrequent Visitor
Thanks pqian! Another dumb question: if the earlier query has space, how do I refer it?
- pqian10 years agoMicrosoft Employee
- emoroz7 years agoFrequent Visitor
Source=#"Query Name"
How do I make the query name a variable based on a cell selection?
Below TemplateType is the name of query loaded into table. The custom function loads that query into another query. I want to do the same thing except I don't want the data to be loaded into a table.
Excel.CurrentWorkbook(){[Name=TemplateType]}[Content]