Google sheets 如何在Google Data Studio中显示3个嵌套表?
我正在寻找一种组合3个表的方法:Google sheets 如何在Google Data Studio中显示3个嵌套表?,google-sheets,google-data-studio,Google Sheets,Google Data Studio,我正在寻找一种组合3个表的方法: Contract | Invoice | Payments 它们之间的关系为1:n,例如: 我有三张纸:合同,发票,付款,带ID;为简单起见,以下仅显示ID列: Contract Invoice Payments -------- ------- --------- Contract1 Invoice10 Payment101 Contract1 Invoice10 Payment102 Contract1
Contract | Invoice | Payments
它们之间的关系为1:n,例如:
我有三张纸:合同
,发票
,付款
,带ID;为简单起见,以下仅显示ID列:
Contract Invoice Payments
-------- ------- ---------
Contract1 Invoice10 Payment101
Contract1 Invoice10 Payment102
Contract1 Invoice11 Payment103
Contract2 Invoice12 Payment104
Contract2 Invoice13 Null
Contract3 Null Null
我想在同一页面中创建3个链接表:
当我选择一个合同
时,其他表格仅显示与此合同
相关的数据,并且在我选择一个发票
后,付款
表格仅显示与此发票
相关的数据
我发现的唯一方法是混合3个表,但是,我需要在所有表中使用相同的键字段(连接键),但我的情况并非如此
=IFERROR(QUERY({A1:A, B1:B, C1:C},
"where Col1='"&F1&"'
and Col2='"&F2&"'", 0),
"no match")
你想在谷歌表单中看到这个吗?请分享一份我想在谷歌工作室制作的你的工作表。。数据存储在谷歌表单中。。。。我有两种观点。单表3表