Power Query Problems

How to Combine Multiple Google Sheets in Power BI

Maira MehtabMaira Mehtab Oct 10, 2026 869 views

Question details

The user needs to consolidate data from multiple Google Sheets with matching headers into a single dataset within Power BI for analysis.

How to Combine Multiple Google Sheets in Power BI
Product
Power BI / Google Sheets
Device & OS
not provided
Scenario
Importing and consolidating data from multiple cloud-based spreadsheets into a unified Power BI dataset.
Observed behavior
Multiple separate Google Sheets need to be appended or combined effectively into one master table within Power BI without losing data integrity.
Before you start

Ensure all your Google Sheets have identical column headers, matching data types, and proper sharing permissions set to allow external data extraction.

Solution 1Recommended

Combine Sheets using IMPORTRANGE Before Connecting to Power BI

Use the IMPORTRANGE function natively in Google Sheets to merge your data into a single master sheet, which is then easily imported into Power BI as a single source.

This method is highly recommended if your data sources are relatively small and you want to reduce the load on Power Query. By merging the data in the cloud first, you simplify the import process in Power BI.

1
Create a Master Sheet

Open a new Google Sheet that will act as your master file for consolidating all the individual sheets.

2
Use the IMPORTRANGE Formula

In the first cell, use an array formula to stack multiple sheets. For example: ={IMPORTRANGE("URL_1", "Sheet1!A1:Z"); IMPORTRANGE("URL_2", "Sheet1!A2:Z")}. Make sure to allow access when prompted.

3
Connect to Power BI

Open Power BI Desktop, navigate to 'Get Data' on the Home ribbon, click 'More', and select 'Google Sheets'.

4
Load the Master Sheet

Paste the URL of your new master Google Sheet into the prompt, authenticate your Google account if necessary, and click 'Load' to bring the combined data into your model.

Combine Sheets using IMPORTRANGE Before Connecting to Power BI
Tip: When stacking sheets with the array formula, skip the header row (e.g., use A2:Z) for the second and subsequent sheets to prevent duplicate headers in your data.
Free Microsoft Office alternative

Manage and Consolidate Your Spreadsheets Locally with WPS Office

While Power BI is excellent for advanced business intelligence, preparing, cleaning, and consolidating your raw spreadsheet data offline is often faster with WPS Spreadsheet. As a free, lightweight alternative to Microsoft Office, WPS Office offers powerful data handling, seamless compatibility with Excel formats, and a highly intuitive user interface.

  1. 1. Open WPS Spreadsheet: Launch WPS Office and open your local spreadsheet files.
  2. 2. Use Data Consolidation: Navigate to the 'Data' tab and select 'Consolidate' to merge ranges from multiple worksheets into one.
  3. 3. Export for BI Analysis: Save your consolidated master sheet as a standard .xlsx file, ready to be imported into Power BI or any other analytics tool.
100% compatible with Microsoft Excel (.xlsx, .xls) and CSV data formatsBuilt-in Data Consolidate and Merge tools for combining multiple sheets easilyFree and lightweight Office suite with low system resource requirementsFamiliar, easy-to-use interface requires no learning curve for Excel users
QA img-9

Frequently Asked Questions

Do the Google Sheets need to have the exact same column headers to be appended in Power Query?

Yes, for Power Query to successfully append the tables without creating null or mismatched values, the column headers must match exactly in spelling, spacing, and case across all connected Google Sheets.

Can I schedule automatic refreshes for Google Sheets data combined in Power BI?

Yes. Once you publish your Power BI report to the Power BI Service, you can go to the dataset settings, authenticate your Google credentials, and configure a scheduled refresh to keep your dashboard up to date automatically.

Is there a data limit when using IMPORTRANGE in Google Sheets?

Yes, IMPORTRANGE can sometimes time out or fail to load if you are pulling extremely large datasets or combining too many complex sheets. If you experience `#ERROR!` or loading issues, appending the tables directly in Power BI via Power Query is a more reliable alternative.