How to Connect BigQuery to Excel
Import BigQuery Data to Excel
Progress DataDirect has extensive experience in building ODBC drivers for accessing data sources from Microsoft Excel. With the DataDirect suite of ODBC drivers, you can connect to a wide variety of high-value data sources in the market today. Whether
you are using a traditional Relational Database Management System or a Big Data, Cloud, or REST-based source, DataDirect has you covered.Progress DataDirect ODBC drivers
are the industry standard for ODBC drivers
, providing the advanced
functionality, performance, and reliability developers need to quickly deliver high-quality, database-independent applications.
You can use the Progress DataDirect for ODBC for Google BigQuery driver
to import Google BigQuery data into Microsoft Excel. Importing Google BigQuery data into Microsoft Excel is a 3-step process:
- Determine your Excel version
- Install and configure the Progress DataDirect for Google BigQuery for ODBC driver
- Connect to Google BigQuery from Excel and import its data
Determine Your Excel Version
Determine whether your version of Excel is a
32-bit installation or a 64-bit installation:
- Open your workbook in Excel.
- On the File menu, click Account, and then click About Excel. The About Microsoft Excel window appears.
The version information is available at the top of the About Microsoft Excel window.
Install and Configure Google BigQuery ODBC Driver
- Navigate to the Google BigQuery ODBC Driver page and select the driver you want to download.
When prompted, provide your details, such as name and email address; then, click DOWNLOAD. The download link will go to your via email.Once you receive download the driver zip file and extract its contents into a temporary directory; then, double-click the installer program:
- If you are using 32-bit Excel, select the Windows 32-bit driver.
- If you are using 64-bit Excel, select the Windows 64-bit driver.
For 32-bit drivers: PROGRESS_DATADIRECT_ODBC_8.0_WIN_32_INSTALL.exeFollow the prompts to complete the installation.Start the ODBC Administrator by selecting its icon from the Progress DataDirect for ODBC program group.On the ODBC Administrator, select the User DSN tab, and then configure a data source. If you want to configure:
For 64-bit drivers: PROGRESS_DATADIRECT_ODBC_8.0_WIN_64_INSTALL.exe
Specify values for the following connection options to authenticate using the OAuth 2.0 authentication; then, click Test Connect.
- An existing data source, select the data source name and click Configure. The driver Setup dialog box appears.
- A new data source, click Add to display a list of installed drivers. Select the Google BigQuery driver
and click Finish. The driver Setup dialog box appears.
- Data Source Name
- Authentication Method
- Client ID
- Client Secret
- Refresh Token
Note: To know more about the connection options and authentication methods supported by the driver, refer to the user’s guide.
Connect to Google BigQuery from Excel and import data
- Open your workbook in Excel.
- From the Data menu, select Get Data>From Other Sources>From ODBC.
- The From ODBC dialog appears. Select your data source from the Data Source Name (DSN) drop-down list; then, click OK.
Note: If you want to connect using a connection string and want to execute a SQL statement immediately after establishing the connection, you can use the Advanced options section.
- Select the Default or Custom tab and then click Connect. Leave the Credential connection string properties field blank, as the required connection
options have already been configured in the DSN.
- The Navigator window appears.
From the list, select the tables you want to access. A preview of your data appears in the pane on the right. Optionally, click Edit to modify the results using the Query Editor. Refer to the Microsoft Excel product documentation
for detailed information on using the Query Editor.
- Load your data:
- Click Load to import your data into your worksheet. Skip to the end.
- Click Load>Load To to specify a location to import your data. Proceed to the next step.
- The Import Data window appears. Select the desired view and insertion point for the data. Click OK.
Result: The data for the selected tables is imported into Excel at the insertion point.