[使用Cloud SQL MySQL的Data Studio报表仅允许一个表

问题描述 投票:0回答:1

[我正在使用Data Studio生成财务报告仪表板,并将其连接到CloudSQL MySQL,但是这里的问题是,它只需要一个表用作数据源,而一个表却无济于事根本不负责生成财务报告。

以下是选择数据源的过程的图像:enter image description here

我尝试选择“自定义查询”,根据此:https://support.google.com/datastudio/answer/7088031?hl=en

Select the CUSTOM QUERY option to provide a SQL query instead of connecting to a single table. Dat
a Studio uses this custom SQL as an inner select statement for each generated query to the database.

但是我不知道我应该写什么查询来将我的所有数据库表作为Data Studio中的数据源。

您能在这里帮助我吗?

mysql report google-cloud-sql google-data-studio
1个回答
0
投票

一种替代方法是创建每个单独链接到单个表的Data Sources,然后通过使用Data Blending链接多个数据源,其中公共Join Key链接所有各个表。

© www.soinside.com 2019 - 2024. All rights reserved.