为什么 Google data studio csv 连接器工作不正常
Why Google data studio csv connector works wrongly
我在使用 this GDS connector 时遇到问题,当我添加我的 csv 文件、配置连接器并开始处理数据时,数据显示不正确。在这里它工作正常:
但是当我添加另一列时,它出错了:
您可以在 GitHub 存储库中查看代码。
我是GDS连接器新手,不知道怎么解决这个问题。我尝试了 Supermetrics 的另一个连接器,它工作正常,但他们不共享他们的代码。
CSV
1) 文件上传(Google 的官方 CSV 连接器)
- 使用 CSV Connector by Google 怎么样?
- 添加了显示 Google Data Studio 页面位置的 GIF:
2) Google Sheets (备选方案):
- 有两种方法可以将 CSV 数据导入 Google Sheets:
- Import Data Set:打开 CSV 文件并将其另存为 Google Sheet
IMPORTDATA
:函数从URL 导入CSV数据
- 添加了 可编辑 Google Sheet 以及 GIF 以演示
IMPORTDATA
功能:
3) 获取 CSV 社区连接器:
- Fetch CSV Community Connector is not an Official Google connector, however it's an open source connector, so perhaps a user could have a look through provide some insights (it would be better to update the question with the relevant code). In addition, you could reach out to the authors of the connector by creating a New Issue.
原文Post:日期(文本)到日期(TODATE)
当前检测到 date
字段并将其格式化为 Text 字段。要确保 date
字段是 Google Data Studio 识别的 Date 字段,请创建以下 Calculated Field that uses the TODATE
函数:
TODATE(date, "%Y-%m-%d", "%Y%m%d")
Google Data Studio Report还有一张GIF来详细说明:
我在使用 this GDS connector 时遇到问题,当我添加我的 csv 文件、配置连接器并开始处理数据时,数据显示不正确。在这里它工作正常:
但是当我添加另一列时,它出错了:
您可以在 GitHub 存储库中查看代码。
我是GDS连接器新手,不知道怎么解决这个问题。我尝试了 Supermetrics 的另一个连接器,它工作正常,但他们不共享他们的代码。
CSV
1) 文件上传(Google 的官方 CSV 连接器)
- 使用 CSV Connector by Google 怎么样?
- 添加了显示 Google Data Studio 页面位置的 GIF:
2) Google Sheets (备选方案):
- 有两种方法可以将 CSV 数据导入 Google Sheets:
- Import Data Set:打开 CSV 文件并将其另存为 Google Sheet
IMPORTDATA
:函数从URL 导入CSV数据
- 添加了 可编辑 Google Sheet 以及 GIF 以演示
IMPORTDATA
功能:
3) 获取 CSV 社区连接器:
- Fetch CSV Community Connector is not an Official Google connector, however it's an open source connector, so perhaps a user could have a look through provide some insights (it would be better to update the question with the relevant code). In addition, you could reach out to the authors of the connector by creating a New Issue.
原文Post:日期(文本)到日期(TODATE)
当前检测到 date
字段并将其格式化为 Text 字段。要确保 date
字段是 Google Data Studio 识别的 Date 字段,请创建以下 Calculated Field that uses the TODATE
函数:
TODATE(date, "%Y-%m-%d", "%Y%m%d")
Google Data Studio Report还有一张GIF来详细说明: