将QUERY与PIVOT一起使用,并且总和空白量必须为零

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

[

共享的表格包括为什么我需要填充零以使Radar图表看起来更好

https://docs.google.com/spreadsheets/d/19rP-xmEsL11SyQg-2f8VGlyyZ33KbnWJogdqs_Di1Ns/edit?usp=sharing

arrays google-sheets google-sheets-formula array-formulas google-sheets-query
1个回答
0
投票
尝试:

=ARRAYFORMULA(IFERROR(QUERY({A:C}, "select Col1,sum(Col3) where Col1 is not null group by Col1 pivot Col2", 1)*1, QUERY({A:C}, "select Col1,sum(Col3) where Col1 is not null group by Col1 pivot Col2", 1)))

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