View Categories

How to Connect BigQuery to Excel – Stream Live Data Warehouse Analytics

5 min read

CONNECTOR GUIDE

BigQuery Microsoft Excel

BigQuery BigQuery
Query Streams Query Streams
Microsoft Excel Microsoft Excel
Cloud Native
Live Data
Secure

Query Streams enables you to connect BigQuery Data Warehouse directly to Microsoft Excel, streaming live cloud data without ODBC drivers, VBA scripts, or complex configuration. Sign up for free at QueryStreams.com and start pulling live warehouse data into your spreadsheets in minutes.

This guide shows you how to establish a secure, real-time connection between your BigQuery data warehouse and Microsoft Excel. Whether you’re analyzing marketing data, building executive dashboards, or sharing analytics with stakeholders worldwide, Query Streams provides a simple solution for accessing your Service Account Auth.

Service Account Auth

Connect to BigQuery’s elastic compute and storage

Real-Time Warehouse Queries

Execute BigQuery SQL and stream results instantly

Secure Credential Storage

Credentials stay on your network, never exposed

Multi-Region Support

Works with any BigQuery region worldwide

What You’ll Accomplish

By the end of this guide, you’ll be able to:

  • Connect Excel to BigQuery – Service Account Auth access
  • Execute BigQuery SQL in real-time from Excel
  • Build live warehouse dashboards with auto-refreshing data
  • Share secure warehouse access with stakeholders globally

Prerequisites

1

Query Streams Account

Create a free account to get started with BigQuery integration.

Create Free Account →
2

Query Streams Agent Installed

Install the agent on any network location (BigQuery is cloud-based).

Install the Query Streams Agent →
3

Google Cloud Project with BigQuery

A Google Cloud project with the BigQuery API enabled and a service account JSON key file with at least the BigQuery Job User role.

Create Service Account →
Cloud-Native: BigQuery is cloud-based, so the agent connects over the internet. Ensure your agent has outbound internet access to reach your BigQuery account.

Step 1: Access the Query Streams Agent Interface

1
2
3
4
5
6
7

With your agent installed, configure your BigQuery connection.

  1. Open your web browser and navigate to: https://localhost:1823
  2. Navigate to Data Connections: Click Data Sources > Connections
  3. Add a new connection: Click Add Connection

Step 2: Select BigQuery as Your Connection Type

2
3
4
5
6
7
  1. Choose BigQuery: Click on the BigQuery tile (green border when selected)
  2. Alternative – Use search: Type “BigQuery” to quickly find it
  3. Click Next to proceed

Step 3: Configure Your BigQuery Connection Details

3
4
5
6
7

Required BigQuery Connection Details:

  1. Connection Name – A friendly label (e.g., “BigQuery Analytics”)
  2. Project ID – Your Google Cloud project ID (e.g., my-analytics-project-123456). Find it in the Google Cloud Console dashboard.
  3. Credentials JSON – Paste the full contents of your service account JSON key file. Generate one from IAM & Admin > Service Accounts > Keys > Add Key > JSON.
  4. Dataset (optional) – Default BigQuery dataset to query against (e.g., my_dataset). You can also specify the dataset in your SQL.
  5. Location (optional) – BigQuery data location (e.g., US, EU, us-central1). Defaults to US if not specified.

Once completed, click Next.

Security: BigQuery credentials are stored securely within the Query Streams agent on your network and are never exposed to end users or transmitted to Query Streams cloud services.

Step 4: Select Your Data Realm

4
5
6
7

Select your Data Realm – your query processing capacity.

  1. Review available realms: Based on your subscription
  2. Select realm: Choose “Default Data Realm”
  3. Click Next to test the connection

Step 5: Test Your BigQuery Connection

5
6
7

Query Streams will verify your BigQuery credentials.

  1. Automatic testing: Agent attempts to connect to BigQuery
  2. Review results: Success shows BigQuery version, warehouse, and permissions
  3. Click Next if successful
Troubleshooting: If connection fails, check the following:
  • Permission denied / 403 error: Your service account needs the BigQuery Job User role (or BigQuery User for full access). Go to Google Cloud Console > IAM, find your service account, and add the required role.
  • API not enabled: Make sure the BigQuery API is enabled on your Google Cloud project.
  • Invalid credentials: Verify you pasted the entire JSON key file contents (starting with { and ending with }).
  • Project not found: Double-check the Project ID matches your Google Cloud project exactly.

Step 6: Finish Setup

6
7
  1. Review configuration: Verify all settings are correct
  2. Click Finish to save your BigQuery connection

Your BigQuery connection is ready! Next, install the Excel add-in.

Step 7: Install Add-In and Run Your First Query

7

Install the Query Streams add-in from Microsoft AppSource:

After installation, open the add-in from the Home ribbon tab and create your first BigQuery query:

  1. Click “Stream a Query”
  2. Select your BigQuery connection
  3. Choose database and schema
  4. Write your BigQuery SQL:
Example BigQuery Query SQL
SELECT 
    customer_id,
    customer_name,
    email,
    total_purchases,
    country
FROM customers
WHERE total_purchases > 1000
ORDER BY total_purchases DESC
LIMIT 100;
  1. Configure destination: Choose “Create a new tab”
  2. Click Play to execute
Excel Versions Supported: Query Streams works with Excel for Microsoft 365 (Windows/Mac), Excel Online (web browser), and Excel 2016/2019 on Windows.

Success!

You’ve connected BigQuery to Excel! Your cloud warehouse data streams instantly into a new worksheet. Re-run anytime for the latest analytics.

Next Steps: Save and Share Queries

Use the Query Streams web portal to build, save, and manage your BigQuery queries:

  • Save queries: Store warehouse queries for reuse
  • Add parameters: Create dynamic filters for data exploration
  • Share globally: Let stakeholders run queries from anywhere
  • Access from add-in: Saved queries appear in “Saved Queries” menu

Frequently Asked Questions

Is Query Streams better than Excel’s built-in Power Query? +

Query Streams complements Power Query with key advantages: no ODBC connector setup, works across Windows/Mac/Web, supports secure sharing without exposing BigQuery credentials, and enables real-time warehouse access.

🔒 Is my BigQuery data secure? +

Yes. BigQuery credentials never leave your network – they stay within the Query Streams agent. Data is encrypted in transit, and the agent makes only outbound connections (no firewall changes required).

Which BigQuery regions are supported? +

All Google Cloud BigQuery regions are supported, including US, EU, and Asia-Pacific multi-regions as well as single-region locations like us-central1, europe-west1, and asia-east1. Specify your preferred location during configuration, or leave it as the default (US).

👥 Can I share queries with external users? +

Yes! Share saved queries with external users who can run them from anywhere – they’ll get live data without ever seeing your SQL or BigQuery credentials.

💰 Will this increase my BigQuery costs? +

Query Streams executes standard BigQuery SQL. With on-demand pricing, you pay per bytes scanned by each query. Use LIMIT clauses, partition your tables, and select only the columns you need to minimize costs. If you use flat-rate reservations, queries consume your reserved slots.

💻 Does Query Streams work with Excel for Mac? +

Yes. Query Streams works with Excel for Microsoft 365 on macOS. The Excel add-in supports all major platforms including Windows, Mac, and Excel Online in the browser.

Updated on June 3, 2026

Powered by BetterDocs