Welcome to a new era of data management. Many confuse linking with loading data into BigQuery. While loading data is powerful, linking offers a lasting connection. You don't need to reload. With tools like Cooltables, you can choose between loading and linking. This lets you use BigQuery's power right in Google Sheets.
Once linked, you stay connected. You don't need extra maintenance or costs. No scripts or triggers. Just pure control within Sheets.
By linking, you open up new possibilities. Perform Business Intelligence tasks with Looker Studio. Use Connected Sheets as an alternative to IMPORTRANGE. Combine sheets to create vast tables, easy as pie. Link static sheets or live ones you update daily.
The benefits? It's free, no custom scripts needed, and fewer errors. The only downside? Make sure data types match between Sheets and BigQuery. This simple setup brings huge advantages. Try it and see for yourself.
Choose the correct way to transfer data from a sheet to BigQuery.
We have 3 ways to bring your data to BigQuery:
Linking tables.
Loading data and replacing existing table contents.
Appending data to the existing table.
This article describes the "Linking" method.
BigQuery is a "god-mode" for your Sheets.
The update works on demand. Query your BigQuery table in any place:
SELECT from the BigQuery console
Refresh connected sheet
Connect in Looker Studio.
A query will fetch the latest data from the sheet.
"Linking" to the table means you do not need to make further setups. Get rid of:
hand-tailored App Script integration
triggers working each hour and throwing errors
integrations, or paid solutions.
Connect your Google Sheet once. And it will work.
Google implemented this integration and it is FREE.
Note! Standard BigQuery pricing will apply:
query counts megabytes used,
and you pay when you reach the free amount of data used.
You may get an error!
Data types in your sheet must remain the same. BigQuery will throw an error if you have a different data type. One missing table may stop your system.
How to know my types are correct:
Date-time VS dates. Enter a date, and BigQuery will not recognize it as a datetime.
Boolean VS text. Enter a text in a column with checkboxes, and you'll get an error.
Here are the built-in methods:
Use tables in Google Sheets and define column types.
Protect your columns with data validation rules.
These methods do not prevent users from changing the type. You can set rules, but users will find ways to overwrite values.
Here are possible strategies:
a separate sheet with formulas. Convert each column value to schema type.
App Script and trigger to check values are correct.
Use tables, and hope users will respect data validation rules.
Here are some questions you may learn next:
Formulas to preserve data types in Google Sheets**
Tactics to create data validation rules in Google Sheets**
Prevent users from pasting over cells with data validation (Dropdowns)
[🔧Fixed] #REF Error. Array result was not expanded because it would overwrite data…
How to use Connected Sheets to load BigQuery data into Google Sheets
How to hold data in secret. Prevent your Google Sheets from being seen**
How to join tables in Google Sheets. From VLOOKUP to BigQuery**
How to handle duplicates in Google Sheets: from built-in feature to BigQuery**
* If you have more questions, send us this form to ask.
** We'll cover these topics later. Follow us to get the latest news.