Table:
0
A
B
C
D
1
attribute id
attribute name
attribute data type
attribute definitions
2
1
Green
Bool
3
2
Black
Bool
4
3
Yellow
Bool
5
4
Sweet
Bool

Questions and formulas:
Question: Find the list of attribute data types possessed by more than 3 attribute definitions.
Formula: LET(query1,SUMMARIZE(C1,DCOUNTX(D1)),FILTER(query1,CHOOSECOLS(query1,3)>3))
Formula2: LET(query1,SUMMARIZE(C2:C5,DCOUNTX(D2:D5)),FILTER(query1,CHOOSECOLS(query1,3)>3))
Level: hard
Question: What are the attribute data types with more than 3 attribute definitions?
Formula: LET(query1,SUMMARIZE(C1,DCOUNTX(D1)),FILTER(query1,CHOOSECOLS(query1,3)>3))
Formula2: LET(query1,SUMMARIZE(C2:C5,DCOUNTX(D2:D5)),FILTER(query1,CHOOSECOLS(query1,3)>3))
Level: hard
Question: What is the attribute data type of the attribute with name "Green"?
Formula: LET(query1,FILTER(A1:D1,B1="green"),UNIQUE(CHOOSECOLS(query1,3,1)))
Formula2: LET(query1,FILTER(A2:D5,B2:B5="green"),UNIQUE(CHOOSECOLS(query1,3,1)))
Level: hard
Question: Find the attribute data type for the attribute named "Green".
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:D1,B1="green"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:D5,B2:B5="green"),3))
Level: medium