Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi
I have a scenario in which I need to combine data from multiple Google sheets into two tables.
So each Google sheet has two tabs - Tab A and Tab B.
I need to combine all data from Tab A for all google sheets to Table A
and combine all data from Tab B for all google sheets to Table B.
I have seen some posts where it's being shown how to combine by having all files in 1 folder on your desktop.
But in my case, I was wondering if I can directly connect to the Google Drive folder where the files are and combine them all in Power BI.
Let me know if you need more information. Please note Google Sheets have same column names and structure.
Thanks
Anu
Solved! Go to Solution.
Combine 25 google sheets by appending them to one another so they form a single table. That will be your main table. Right click that query of combined sheets and select reference. Filter name column to the desired sheet name and then do the necessary transformations. Repeat the steps, this time in another query, for the other sheet name. So you will have about 26-27 queries using following this approach (25 queries to append + 2 reference queeries for sheets A and B) vs about 50 queries (25 queries each for sheets A and B).
Proud to be a Super User!
Hi All
I implemented using another way to combine multiple sheets with a Parameter, a Table with URLs of all google sheets and a custom function.
Refer
This allowed me to change paths dynamically and make the reports scalable as well.
Hope it helps
Hi @anuradha01 ,
The connector allows one to connect a spreadsheet but not to a folder similar to the sharepoint connector. Your alternative is to append each spreadsheet to the other without selecting a sheet first (Source - which is the first step in a query). That will be your main table. Reference that table and select either table A or B. This is still quite a task for a large number of spreadsheet but removes the step of having to select a table for each spreadsheet.
Proud to be a Super User!
Thanks for your reply - Danextian.
Combine 25 google sheets by appending them to one another so they form a single table. That will be your main table. Right click that query of combined sheets and select reference. Filter name column to the desired sheet name and then do the necessary transformations. Repeat the steps, this time in another query, for the other sheet name. So you will have about 26-27 queries using following this approach (25 queries to append + 2 reference queeries for sheets A and B) vs about 50 queries (25 queries each for sheets A and B).
Proud to be a Super User!
Thanks Danextian
Hi All
I implemented using another way to combine multiple sheets with a Parameter, a Table with URLs of all google sheets and a custom function.
Refer
This allowed me to change paths dynamically and make the reports scalable as well.
Hope it helps
That's another way to put it. Should be a google spreadsheet with spreadsheet urls in it.
Proud to be a Super User!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
92 | |
83 | |
71 | |
49 |
User | Count |
---|---|
143 | |
120 | |
110 | |
60 | |
57 |