SOLVED
Home

Power Query for Excel Enable load

%3CLINGO-SUB%20id%3D%22lingo-sub-451263%22%20slang%3D%22en-US%22%3ERe%3A%20Power%20Query%20for%20Excel%20Enable%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451263%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F31577%22%20target%3D%22_blank%22%3E%40Ayman%20Hassan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20Excel%2C%20they%20are%20all%20loaded%20by%20default%2C%20but%20you%20can%2C%20and%20probably%20should%2C%20change%20this.%3C%2FP%3E%3COL%3E%3CLI%3ELaunch%20Power%20Query%3C%2FLI%3E%3CLI%3EGo%20to%20File%2C%20Options%3C%2FLI%3E%3CLI%3EGo%20to%20the%20Global%20section%3C%2FLI%3E%3CLI%3EGo%20to%20Data%20Load%3C%2FLI%3E%3CLI%3ESelect%20the%20Specify%20custom%20load%20settings%3C%2FLI%3E%3CLI%3EUncheck%20both.%3C%2FLI%3E%3C%2FOL%3E%3CP%3EThis%20will%20not%20change%20existing%20loads%20though.%3C%2FP%3E%3CP%3ETo%20do%20this%2C%20you%20change%20it%20on%20a%20per%20query%20basis%26nbsp%3B%3CEM%3Ein%20Excel%2C%3C%2FEM%3E%20not%20Power%20Query.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20Excel%2C%20with%20Power%20Query%20closed%2C%20go%20to%20the%20Data%20tab%2C%20and%20select%20Queries%20and%20Connections%20so%20the%20query%20list%20pops%20out%20in%20the%20right%20hand%20pane.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERight-click%20on%20each%20query%20and%20select%20Load%20To...%2C%20then...%3C%2FP%3E%3CUL%3E%3CLI%3ESelect%20connection%20only%20-%20this%20will%20not%20load%20anywhere%2C%20but%20would%20be%20used%20as%20a%20query%20for%20use%20by%20other%20queries%20in%20Power%20Query%3C%2FLI%3E%3CLI%3ETable%20-%20this%20will%20load%20the%20query%20into%20an%20Excel%20Table%3C%2FLI%3E%3CLI%3EDataModel%20(checkbox%20at%20bottom)%20this%20will%20load%20the%20data%20into%20the%20data%20model%20for%20use%20by%20PowerPivot%20or%20CUBE%20functions.%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThere%20are%20other%20options%2C%20like%20loading%20directly%20to%20a%20Pivot%20Chart%2C%20but%26nbsp%3B%20you%20get%20the%20idea.%3C%2FP%3E%3CP%3ENote%3A%20if%20you%20have%20anything%20loaded%20anywhere%20and%20you%20change%20it%2C%20it%20will%20potentially%20delete%20data.%20Data%20in%20a%20table%20for%20instance%20will%20delete%20the%20table%20entirely%20if%20you%20change%20it%20to%20a%20connection.%20Data%20in%20the%20datamodel%20will%20vanish%20and%20trash%20any%20measures%20that%20rely%20on%20it%20if%20you%20uncheck%20the%20DataModel%20box.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451432%22%20slang%3D%22en-US%22%3ERe%3A%20Power%20Query%20for%20Excel%20Enable%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451432%22%20slang%3D%22en-US%22%3E%3CP%3EI%20will%20try%20and%20give%20feedback%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-436890%22%20slang%3D%22en-US%22%3EPower%20Query%20for%20Excel%20Enable%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-436890%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20all%2C%3C%2FP%3E%3CP%3EDoes%20PowerQuery%20for%20Excel%20has%20the%20option%20to%20stop%20loading%20some%20queries%3F%3C%2FP%3E%3CP%3EI%20Collect%20data%20from%20multiple%20sources%20and%20then%20append%20them%20to%20one%20query%2C%20then%20when%20I%20load%20the%20data%20all%20the%20queries%20and%20tables%20are%20loaded%2C%20the%20original%20and%20the%20appended%20tables%2C%20this%20results%20in%20data%20duplication%20in%20reports.%20I%20found%20an%20option%20in%20Power%20BI%20to%20enable%20or%20disable%20loading%20data%20for%20selected%20queries%20in%20the%20same%20file%20as%20shown%20in%20the%20following%20screenshot%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20373px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F108288iA75F48B8C383785B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22enableload.jpg%22%20title%3D%22enableload.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhere%20can%20I%20find%20this%20option%20in%20Power%20Query%20for%20Excel%20or%20how%20can%20I%20solve%20this%20problem%20when%20I%20append%20multiple%20queries%20in%20Excel%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-436890%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analytics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20Desktop%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Ayman Hassan
Contributor

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:

 

 

 

enableload.jpg

 

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

2 Replies
Solution

@Ayman Hassan 

 

In Excel, they are all loaded by default, but you can, and probably should, change this.

  1. Launch Power Query
  2. Go to File, Options
  3. Go to the Global section
  4. Go to Data Load
  5. Select the Specify custom load settings
  6. Uncheck both.

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...

  • Select connection only - this will not load anywhere, but would be used as a query for use by other queries in Power Query
  • Table - this will load the query into an Excel Table
  • DataModel (checkbox at bottom) this will load the data into the data model for use by PowerPivot or CUBE functions.

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.

I will try and give feedback

Thanks!

Related Conversations