Search code examples
google-sheetsgoogle-bigquery

is there a way to do a BigQuery query in Google Sheets with a named range?


I'm using the new Google Sheets - Bigquery data connector to download Bigquery data into a Google Sheet.

I'd like to try to make it more interactive for people who don't know anything about SQL.

Is there currently any way to use a cell reference and/or named range in my BigQuery query?

e.g. I have a cell on the Google Sheet called "Customer". Is there a way to use that in my BigQuery query so I'm doing something like

Select * where customer_name = Customer

enter image description here


Solution

  • @namedRangeCustomer would be the proper syntax