Table:
0
A
B
C
D
1
project id
outcome code
outcome details
project outcomes
2
4
Paper
3
3
Patent
4
9
Paper
5
6
Paper
6
9
Patent
7
11
Paper
8
14
Patent
9
14
Paper
10
13
Paper
11
12
Patent
12
7
Paper
13
5
Patent
14
7
Paper
15
13
Paper
16
7
Paper

Questions and formulas:
Question: How many Patent outcomes are generated from all the projects?
Formula: LET(query1,FILTER(A1:D1,B1="patent"),SUMMARIZE(CHOOSECOLS(query1,1),COUNTX(CHOOSECOLS(query1,1))))
Formula2: LET(query1,FILTER(A2:D16,B2:B16="patent"),SUMMARIZE(CHOOSECOLS(query1,1),COUNTX(CHOOSECOLS(query1,1))))
Level: hard
Question: How many patents outcomes were listed for all the projects?
Formula: LET(query1,FILTER(A1:D1,B1="patent"),SUMMARIZE(CHOOSECOLS(query1,1),COUNTX(CHOOSECOLS(query1,1))))
Formula2: LET(query1,FILTER(A2:D16,B2:B16="patent"),SUMMARIZE(CHOOSECOLS(query1,1),COUNTX(CHOOSECOLS(query1,1))))
Level: hard