Forum Discussion
Import several excel files from a folder
Hi,
I've starting using Power BI Desktop and using Get Data - Excel file option I've upload several Excel files.
Instead of uploading each file individually I would like to upload the folder itself, however WITHOUT combining the files.
The files have similar sctruture but each files have columns that are just related to that specific file.
Is there a way to do this ?
The plan is that I can used the folder for a data gateway, since now I cannot do it due to I have several excel files
Thanks,
Filipa
5 Replies
- bdymitResolver II
Hello,
There is a "Get Data from Folder" option, and I tested with my own data to see if you can combine files with varying numbers of columns, and you can.
You mentioned that you are not combining the files though... so I don't understand what your end goal is with the "Data Gateway"?
Can you further clarify your goal?
Thanks,
Ben
- arielfilipaAdvocate I
Hi Ben,
Each Excel that I have gives information for a different Indicator with a specific calculation method and combining all the files changes the information of each indicator.
My goal is to be able to add a data source to the gateway so I can make a schedule refresh automatically and I was checking if it was possible to change the data source in Power BI desktop so I just have one data source in the gateway.
Otherwise, I think that I will need to add all my Excel files as data sources in the gateway to work.
Most probably, I will need to add all files as data sources.
Thanks,
Filipa
- arvindyadavPost Partisan
Hi bdymit,
I don't want to use the gateway for schedule refresh. Is there in the possibility to pull many excel file and schedule refresh in power bi service without using gateway?
Regards,
Arvind
- bdymitResolver II
If your excel files are saved in an on-premises location, you need a gateway (either personal or enterprise) to have any sort of refresh (scheduled or not.)
If your files are saved in SharePoint, then a gateway is not needed.
https://docs.microsoft.com/en-us/power-bi/refresh-excel-file-onedrive
Thanks,
Ben