Nov 04 2021 03:38 PM
Hello,
Is it possible to load every workbook inside a folder using one workbook. The workbooks each contain 9 sheets made out of raw data, pivot tables and one sheet that is dedicated to summarize data from different pivot tables. I actually only want to load that one particular sheet. I tried messing with Power Query but couldn't get it done. Please note that the files will be on Sharepoint.
Any help would be most appreciated it.
Nov 05 2021 03:59 AM
If that's Excel for web afraid that doesn't work.
In Excel Desktop I'd use From SharePoint Folder connector for Power Query to summarize raw data and ignoring already created PivotTables.
Nov 05 2021 08:29 AM
Nov 05 2021 10:11 AM
It depends on your how other files are structured, do they have exactly the same structure or not and what you'll be query.
In general you may start Data->Get Data->From File->From SharePoint Folder using root site URL to connect. It will show all files on the site with their paths, filter only on path where your files are. Remove all columns but Content and expand it. It will be small wizard to do the transformation based on sample file (first one in the folder is selected as sample). Do the transformation, after that it will be applied to all files and result combined.
If something more complex you may start as above and adjust additionally transformation and related queries.
Nov 06 2021 03:44 PM - edited Nov 06 2021 03:51 PM
Thank you for your response.
I'm trying but the root of the sharepoint folder doesnt yield the results I want.
The folders are in Shared Documents folder. Could that be the issue?
The URL of the folder I want to access to is as below but excel doesn't accept it.
https://COMPANYNAME.sharepoint.com/sites/odms/PROJECTNAME/PROJECTNAMECITYts/Shared%20Documents/Forms/AllItems.aspx?id=%2Fsites%2Fodms%2PROJECTNAME%2FPROJECTNAMECITYtsts%2FShared%20Documents%2FBusiness%20Planning%20%2D%20Account%20Planning%2F3%2E%20Resource%20Planning&viewid=37aeaabe%2Dbe64%2D4881%2Db5db%2D01fbadf9afec
Nov 07 2021 09:47 AM
SolutionOtherwise it doesn't work. Your URL to connect is
https://COMPANYNAME.sharepoint.com/sites/odms
Transform returned and in Power Query editor you shall filter this column
to keep only needed folder.
Nov 07 2021 03:03 PM
Nov 08 2021 02:16 PM
@kheldar , glad to help
Nov 07 2021 09:47 AM
SolutionOtherwise it doesn't work. Your URL to connect is
https://COMPANYNAME.sharepoint.com/sites/odms
Transform returned and in Power Query editor you shall filter this column
to keep only needed folder.