google-sheets - "Failed to read the spreadsheet. Error code: PERMISSION_DENIED"- Tableau 自定义查询

标签 google-sheets google-bigquery tableau-api

我正在开发 Tableau 2020.2。
我有一个 BigQuery 表 (TableA),它从 Google 工作表 (Sheet1) 中获取实时数据。
当我尝试直接在 Tableau 数据源中连接 Google 工作表时,它正在连接。此外,当我将表(TableA)直接拖放到数据源中的“Drag tables here”上时,它工作正常。
但是当我尝试在 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 上拥有一个聚合表。由于它必须检索所有表数据,有时由于时间限制,连接会失败。

关于google-sheets - "Failed to read the spreadsheet. Error code: PERMISSION_DENIED"- Tableau 自定义查询,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63602402/

相关文章:

javascript - 在 Google Apps 脚本中,如果满足条件,如何仅发送一次电子邮件

java - 如何提高 BigQuery 读取性能

filtering - 有没有办法设置一个过滤器,只有输入的信息才能共享给 Tableau 中的用户?

mysql - SQL 帮助 : How come the total from this query is different that a summation query?

javascript - 如何使用 Google 表格脚本从数组返回值

javascript - 如何使用仅返回单元格 a 的日期的公式自动填充单元格 C?

javascript - 编辑单元格时在选项卡之间来回移动行

java - 如何将 1433333912999732 转换为 YYYY-MM-DD HH :MM:SS using java

sql - BigQuery 中的线索和分析功能

data-visualization - 无法在 tableau 中使用生成的字段