- last edited on
Does PowerQuery for Excel has the option to stop loading some queries?
I Collect data from multiple sources and then append them to one query, then when I load the data all the queries and tables are loaded, the original and the appended tables, this results in data duplication in reports. I found an option in Power BI to enable or disable loading data for selected queries in the same file as shown in the following screenshot:
Where can I find this option in Power Query for Excel or how can I solve this problem when I append multiple queries in Excel?
04-14-2019 09:59 AMSolution
In Excel, they are all loaded by default, but you can, and probably should, change this.
This will not change existing loads though.
To do this, you change it on a per query basis in Excel, not Power Query.
In Excel, with Power Query closed, go to the Data tab, and select Queries and Connections so the query list pops out in the right hand pane.
Right-click on each query and select Load To..., then...
There are other options, like loading directly to a Pivot Chart, but you get the idea.
Note: if you have anything loaded anywhere and you change it, it will potentially delete data. Data in a table for instance will delete the table entirely if you change it to a connection. Data in the datamodel will vanish and trash any measures that rely on it if you uncheck the DataModel box.
by cuong on May 27, 2020
by Ingeborg Hawighorst on May 13, 2020