Table:
0
A
B
C
D
E
1
Election date
Party leader
Number of votes received
Percentage of votes
Number of deputies
2
1964
Habib Bourguiba
1255153
100%
101
3
1969
Habib Bourguiba
1363939
100%
101
4
1974
Habib Bourguiba
1570954
100%
112
5
1979
Habib Bourguiba
1560753
100%
121
6
1981
Habib Bourguiba
1828363
94.2%
136

Questions and formulas:
Question: what's the percentage of votes with number of deputies being 112
Formula: LET(query1,SUMMARIZE(D1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)=112))
Formula2: LET(query1,SUMMARIZE(D2:D6,SUMX(E2:E6)),FILTER(query1,CHOOSECOLS(query1,2)=112))
Level: hard
Question: what's the percentage of votes with number of deputies being 112
Formula: LET(query1,SUMMARIZE(D1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)=112))
Formula2: LET(query1,SUMMARIZE(D2:D6,SUMX(E2:E6)),FILTER(query1,CHOOSECOLS(query1,2)=112))
Level: hard
Question: what's the percentage of votes with election date being 1981
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1=1981),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,A2:A6=1981),4))
Level: medium
Question: what's the number of deputies with number of votes received being smaller than 1549176.2765483726 and election date being 1969
Formula: SUM(FILTER(E1, (C1<1549176.2765483726)*(A1=1969)))
Formula2: SUM(FILTER(E2:E6, (C2:C6<1549176.2765483726)*(A2:A6=1969)))
Level: easy