Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google sheets &引用;无法读取电子表格。错误代码:权限被拒绝";-表自定义查询_Google Sheets_Google Bigquery_Tableau Api - Fatal编程技术网

Google sheets &引用;无法读取电子表格。错误代码:权限被拒绝";-表自定义查询

Google sheets &引用;无法读取电子表格。错误代码:权限被拒绝";-表自定义查询,google-sheets,google-bigquery,tableau-api,Google Sheets,Google Bigquery,Tableau Api,我正在制作Tableau 2020.2。 我有一个BigQuery表(TableA),从Google sheet(Sheet1)获取实时数据。 当我试图在Tableau数据源中直接连接Google工作表时,它正在连接。另外,当我直接在数据源中的“Drag tables here”上拖放表(TableA)时,它工作正常。 但是,当我尝试在TableA上运行自定义查询时,它会抛出以下错误: Bad Connection: Tableau could not connect to the data s

我正在制作Tableau 2020.2。 我有一个BigQuery表(TableA),从Google sheet(Sheet1)获取实时数据。 当我试图在Tableau数据源中直接连接Google工作表时,它正在连接。另外,当我直接在数据源中的“Drag tables here”上拖放表(TableA)时,它工作正常。 但是,当我尝试在TableA上运行自定义查询时,它会抛出以下错误:

Bad Connection: Tableau could not connect to the data source.
Error Code: 015CFBE6
The Google BigQuery service was unable to process this request.
Error while reading table: TableA, error message: Failed to read the spreadsheet. Error code: PERMISSION_DENIED


如果您的BigQuery表有数以百万/十亿计的巨大数据量,那么最好只在BigQuery中使用聚合表。因为它必须检索所有表数据,有时由于时间限制,连接会失败。

您的gcp帐户需要两个权限才能从链接到Google Sheet(Sheet1)的BigQuery外部表(tableA)中查询数据

  • 对表格A的读取/查看器访问
  • 读取/查看对图纸1的访问
能否检查并确认用于验证Tableau BigQuery连接的GCP帐户是否同时具有这两种权限