Get started with BigQuery data in Google Sheets

You can access, analyze, visualize, and share billions of rows of data from your spreadsheet with Connected Sheets, the new BigQuery data connector. You can also use Connected Sheets to: 
 

  • Collaborate with partners, analysts, or other stakeholders in a familiar spreadsheet interface. 
  • Ensure a single source of truth for data analysis without additional .csv exports.
  • Streamline your reporting and dashboard workflows.

Connected Sheets runs queries on BigQuery on your behalf either when manually requested or on a defined schedule. Results of those queries are saved in your spreadsheet for analysis and sharing.

Watch a video tutorial to learn more about working with BigQuery data in Google Sheets.

Tip: If you used the historical data connector, you can use extracts to create the same table view you see in your previous workflow. You can also set up scheduled refreshes to automatically update your data.

Important: When you access BigQuery data in Connected Sheets, entries are recorded in Cloud Audit Logs. The logs show who accessed the data and when. Only people with proper authorization can access log records. 

You can find the spreadsheet ID in the audit log. Every spreadsheet has a unique spreadsheet ID value containing letters, numbers, hyphens, or underscores. You can also find the spreadsheet ID in a Google Sheets URL.

Learn more about Cloud Audit Logs.

To restrict access to Google Cloud resources, you can use VPC Service Controls. Because VPC Service Controls does not support Sheets, you might not be able to access BigQuery data that VPC Service Controls protects. If you have the required permissions and meet the VPC Service Controls access restrictions, you can use the VPC Service Controls to allow queries issued through Connected Sheets.

Work with sample BigQuery data in Google Sheets

To understand how Connected Sheets works, you can explore connected sheet examples with public data. 

  1. On your computer, open the Google Sheets template gallery.
  2. Choose one of the connected sheet Examples.

What you need

To access BigQuery data in Google Sheets, you need to meet all of the following requirements:

Add a BigQuery project

Important: You can’t change BigQuery data from within Google Sheets.
  1. On your computer, open a spreadsheet in Google Sheets.
  2. In the menu at the top, click Data and then Data connectors and then Connect to BigQuery.
  3. Choose a project.
  4. Choose a table or view.
    • You can pick from any company table you have access to or from public data sets.
  5. Click Connect and then Start analyzing.

Use Connected Sheets on the Google Sheets app 

Using the Google Sheets app on your mobile device, you can:

  • View Connected Sheets data.
  • View calculated column formulas, filters and sorts, and connection settings.
  • Copy and paste data from Connected Sheets.

To create, edit, or refresh data in Connected Sheets, open Google Sheets on a computer.

Next: Sort & filter your BigQuery data in Sheets

Related articles

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Main menu
11559933047183530522
true
Search Help Center
true
true
true
true
true
35
false
false