

If you select for example the 03-March spreadsheet, the same process will be applied to the rest of the binaries so Power Query/Power BI Desktop will extract the data from the 03-March spreadsheet from each file. In this window, you’ll see all of the objects found in the 03-March.xlsx file. We recommend always selecting the ‘Sample Binary Parameter’ A new window will appear called ‘Combine Binaries’ – it will first find the first Binary from the table, which in our case is 03-March.xlsx, and it’ll create a sample function that will be applied to all of the other binaries. This is now what happens after you click that button:ġ. It used to throw weird results with Excel files, but that changed with the latest version of the Power BI Desktop and Power Query.
SEARCH MULTIPLE EXCEL FILES FOR DATA HOW TO
You might remember this popular posts from Microsoft itself on how to combine text and CSV files. New functionality! Combine Excel files with just 1 click We now have all of the files that we want to combine but, how do we combine these files? What kind of magic is needed to consolidate all of them? Surely it can’t be just 1 click to combine them, right? Let’s find out. You can select multiple folders if you’d like as well. This might be a pretty long list, so let’s do some filtering on the “Folder Path” column and select the folder where your data is being stored so you only get the files from it.įiltering is key so you always get the files from the folder that you want. Now that we’re in, we’ll be able to see all of the files from all of the folders that we have access to in that specific site. Once you input the url, you’ll then be asked for your credentials – be sure to select the “Organizational” type for your credentials and enter the same credentials that you use for your SharePoint site. If it has the if it starts with the format of then we need to use that url, otherwise we use the much simpler In my own case, I’ll be using the url in order to connect to my site. In order to use the correct URL, we need to be in the folder of the data that we’re trying to get and check the url that our browser shows. My SharePoint site root url is, but all of my files are actually in another site that starts with sites/externalsales/ URL. Good question! What the tool is expecting here is the root URL to the SharePoint site itself. Where can I find this so called url? Which one of the urls found in SharePoint should I use? This option will only require a text string which would be the URL for a SharePoint site. In the end, we want the result of the combination to look similar to this:įirst things first, we need to get the data and the Power BI Desktop makes it easier for us to get our data from either SharePoint or any O365 Group storage.įrom the Get Data experience, let’s find the option for “SharePoint Folder”.
SEARCH MULTIPLE EXCEL FILES FOR DATA SERIES
Now, what we want to do is something that can be summarized in a series of steps like the following: These are all Excel files living a happy life in SharePoint – we get these files via email from the provider and then store them on our Office 365 group every month.Īll of the files have the same structure, but different sheet names – all of the files only have 1 sheet and all of them have the same headers, but in a real case scenario the Power BI desktop and the process described here will work if you don’t have the same headers on all of the files. Here’s a few remarks about our case:Įach of these files has only 1 month of data – we’ll have a file for January with just 1 sheet in it that will have all of the data for January.

These files are provided by a 3 rd party in order to give us a better understanding of the whole market and how well some products are doing on each market. In this specific case, we have an Office 365 group that we’ve created where we store some external sales data that do not come from our system. Have you ever wanted to consolidate, combine or append data from multiple excel spreadsheets or workbooks? I bet you have, and it has been a painful process either done manually or via 3 rd party add-ins. In this blog post, we’ll show you how, with the newest version of the Power BI Desktop and Power Query for Excel, you can combine multiple data from Excel files into one big tall table.

This post was contributed by Ken Puls and Miguel Escobar, Power BI experts and authors of the new ebook, "agic Tricks for Data Wizards".
