Table:
0
A
B
C
D
E
F
G
H
I
1
player id
name
position
club id
apps
tries
goals
points
2
1
Michael Platt
Full Back
1
20.0
5.0
0
20.0
3
2
Dave Halley
Right Wing
2
23.0
9.0
0
36.0
4
3
James Evans
Right Centre
1
30.0
9.0
0
36.0
5
4
Tame Tupou
Left Wing
2
10.0
3.0
0
12.0
6
5
Iestyn Harris
Stand Off
4
27.0
3.0
50/60
110.0
7
6
Paul Deacon (c)
Scrum Half
4
20.0
3.0
90/106
188.0
8
7
Joe Vagana
Prop
5
19.0
1.0
0/1
4.0
9
8
Terry Newton
Hooker
5
26.0
9.0
0
36.0
10
9
Andy Lynch
Prop
2
29.0
5.0
0
20.0
11
10
David Solomona
Second Row
2
24.0
5.0
0
20.0
12
11
Glenn Morrison (vc)
Second Row
2
14.0
6.0
0
24.0
13
12
Jamie Langley (vc)
Loose Forward
2
28.0
2.0
0
8.0
14
13
Chris Feather
Prop
3
13.0
1.0
0
4.0
15
14
Matt Cook
Second Row
4
17.0
4.0
0
16.0
16
15
Sam Burgess
Loose Forward
4
23.0
8.0
0
32.0

Questions and formulas:
Question: List the position of players and the average number of points of players of each position.
Formula: SUMMARIZE(HSTACK(C1,A1),AVERAGEX(H1))
Formula2: SUMMARIZE(HSTACK(C2:C16,A2:A16),AVERAGEX(H2:H16))
Level: medium
Question: For each position, what is the average number of points for players in that position?
Formula: SUMMARIZE(HSTACK(C1,A1),AVERAGEX(H1))
Formula2: SUMMARIZE(HSTACK(C2:C16,A2:A16),AVERAGEX(H2:H16))
Level: medium
Question: What are the positions whose average number of points scored by that position is larger than 20?
Formula: LET(query1,SUMMARIZE(C1,AVERAGEX(H1)),FILTER(query1,CHOOSECOLS(query1,2)>20))
Formula2: LET(query1,SUMMARIZE(C2:C16,AVERAGEX(H2:H16)),FILTER(query1,CHOOSECOLS(query1,2)>20))
Level: hard
Question: Show total points of all players.
Formula: SUM(H1)
Formula2: SUM(H2:H16)
Level: easy
Question: What is the total number of points for all players?
Formula: SUM(H1)
Formula2: SUM(H2:H16)
Level: easy
Question: how many different positions are there?
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C16))
Level: easy
Question: How many different position for players are listed?
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C16))
Level: easy
Question: total number of positions
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C16))
Level: easy
Question: How many positions and players are there?
Formula: HSTACK(ROWS(UNIQUE(C1)), SUM(A1))
Formula2: HSTACK(ROWS(UNIQUE(C2:C16)), SUM(A2:A16))
Level: hard
Question: the number of positions
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C16))
Level: easy
Question: How many positions and players?
Formula: HSTACK(ROWS(UNIQUE(C1)), SUM(A1))
Formula2: HSTACK(ROWS(UNIQUE(C2:C16)), SUM(A2:A16))
Level: hard
Question: Number of players at each position who got less than 30 points.
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1),SUMX(H1)),FILTER(query1,CHOOSECOLS(query1,3)<30))
Formula2: LET(query1,SUMMARIZE(C2:C16,SUMX(A2:A16),SUMX(H2:H16)),FILTER(query1,CHOOSECOLS(query1,3)<30))
Level: hard