You can use functions, charts, extracts, pivot tables, and refresh BigQuery data in Google Sheets.
Important: To access BigQuery data in Google Sheets, you need access to BigQuery. Learn how to get started with BigQuery.
- On your computer, open a spreadsheet in Google Sheets that is connected to BigQuery data.
- At the top, click Chart.
- Choose where to place it.
- Click Create.
- At the right, choose your other settings.
- At the bottom right, click Apply.
Tip: To update the chart based on the latest BigQuery data, at the bottom of the chart, click Refresh.
To group numeric values in charts into a histogram, under X-axis, you can check Aggregate and click Edit.
- In the "Grouping rule" pop-up, specify any of Minimum value, Maximum value, or Interval size, then click OK to apply those parameters for data aggregation.
Refresh your data
BigQuery data doesn't automatically sync with Connected Sheets. To sync the data, you can refresh a specific item, everything within a data source, or everything within all data sources. Once you’ve connected to a data source, you can refresh that data and all of the objects like Charts, Functions, Extracts, and Pivot Tables associated with that data.
- On your computer, open a spreadsheet in Google Sheets that is connected to BigQuery data.
- At the bottom, next to "Refresh" click More
Refresh options.
- To the right, under "Refresh options," click the items you want to refresh. To refresh all of the data, at the bottom right, click Refresh all.
View query details and cancel a query
Next: Write & edit a query with BigQuery data in Sheets