How to Run Your First Query

This article will show how to run your first query with BigQuery Downloader for Google Sheets.

This is our sample data in BigQuery which we will want to download to Google Sheets:
DWL - First Download - 01 - Data in BQ

It’s a simple calendar.

Access Rights in BigQuery

Before you start configuring the downloader, you need to make sure you have at least “BigQuery Data Viewer” rights assigned to the account which you are using in Google Sheets. If you don’t know or you know you don’t have the rights, you need to talk to your BigQuery admin (or Google Cloud Project admin) in your organization.

Setup Process

After you make you sure your BigQuery rights are good to go, you can finally start setting up the downloader.

Target Sheet and Range

First, you should decide where you want to paste your BigQuery data. In our case, we will be pasting to Sheet8 and cell A1. Read more about how we handle the target sheet and cell here.
DWL - First Download - 02 - Target Range

Configuring New Query

Then you need to go to Setup Query Definitions:
DWL - First Download - 03 - Navigation

And add a new query:
DWL - First Download - 04 - Add New Query

In the pop up window, you are asked to:

  1. Enter a query name.
  2. Select a source project in GCP.
  3. Select a target sheet.
  4. Select a target cell.
  5. Enter your SQL which will be executed in BigQuery.

When you are done, you can click “Save Changes & Run” to immediately execute the query.

DWL - First Download - 05 - Query Config

After a few moments, you will see the result of you query:DWL - First Download - 06 - Query Results

And when you click the OK button, you will see the actual query result rows:

DWL - First Download - 07 - Query Results II

Back to Help Center Buy License Now

Leave a Reply

Your email address will not be published. Required fields are marked *