Apr 11 2019
06:06 AM
- last edited on
Jul 12 2019
11:24 AM
by
TechCommunityAP
Apr 11 2019
06:06 AM
- last edited on
Jul 12 2019
11:24 AM
by
TechCommunityAP
Hello all,
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?
Thanks
Apr 14 2019 09:59 AM
Solution
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.
Apr 14 2019 09:59 AM
Solution
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.