Table:
0
A
B
C
D
E
1
reviewer id
movie id
rating stars
rating date
rating
2
201
101
2
2011-01-22
3
201
101
4
2011-01-27
4
202
106
4
5
203
103
2
2011-01-20
6
203
108
4
2011-01-12
7
203
108
2
2011-01-30
8
204
101
3
2011-01-09
9
205
103
3
2011-01-27
10
205
104
2
2011-01-22
11
205
108
4
12
206
107
3
2011-01-15
13
206
106
5
2011-01-19
14
207
107
5
2011-01-20
15
208
104
3
2011-01-02

Questions and formulas:
Question: What is the total number of ratings that has more than 3 stars?
Formula: ROWS(UNIQUE(LET(a,E1,b,E1,c,INDEX(LET(query1,SUMMARIZE(E1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,2)>3)),,1),FILTER(a,NOT(ISNA(XLOOKUP(b,c,c)))))))
Formula2: ROWS(UNIQUE(LET(a,E2:E15,b,E2:E15,c,INDEX(LET(query1,SUMMARIZE(E2:E15,SUMX(C2:C15)),FILTER(query1,CHOOSECOLS(query1,2)>3)),,1),FILTER(a,NOT(ISNA(XLOOKUP(b,c,c)))))))
Level: hard
Question:  How many ratings have more than 3 stars?
Formula: ROWS(UNIQUE(LET(a,E1,b,E1,c,INDEX(LET(query1,SUMMARIZE(E1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,2)>3)),,1),FILTER(a,NOT(ISNA(XLOOKUP(b,c,c)))))))
Formula2: ROWS(UNIQUE(LET(a,E2:E15,b,E2:E15,c,INDEX(LET(query1,SUMMARIZE(E2:E15,SUMX(C2:C15)),FILTER(query1,CHOOSECOLS(query1,2)>3)),,1),FILTER(a,NOT(ISNA(XLOOKUP(b,c,c)))))))
Level: hard
Question: Find the average rating star for each movie that received at least 2 ratings.
Formula: LET(query1,SUMMARIZE(B1,AVERAGEX(C1)),FILTER(query1,CHOOSECOLS(query1,3)>=2))
Formula2: LET(query1,SUMMARIZE(B2:B15,AVERAGEX(C2:C15)),FILTER(query1,CHOOSECOLS(query1,3)>=2))
Level: hard
Question: Average rating stars for all movies with at least 2 ratings.
Formula: LET(query1,SUMMARIZE(B1,AVERAGEX(C1),DCOUNTX(E1)),FILTER(query1,CHOOSECOLS(query1,4)>=2))
Formula2: LET(query1,SUMMARIZE(B2:B15,AVERAGEX(C2:C15),DCOUNTX(E2:E15)),FILTER(query1,CHOOSECOLS(query1,4)>=2))
Level: hard
Question: How many 3+ star ratings are there?
Formula: ROWS(FILTER(A1:E1, C1=3))
Formula2: ROWS(FILTER(A2:E15, C2:C15=3))
Level: easy
Question: The average rating stars for movies with at least 2 ratings.
Formula: LET(query1,SUMMARIZE(B1,AVERAGEX(C1),DCOUNTX(E1)),FILTER(query1,CHOOSECOLS(query1,4)>=2))
Formula2: LET(query1,SUMMARIZE(B2:B15,AVERAGEX(C2:C15),DCOUNTX(E2:E15)),FILTER(query1,CHOOSECOLS(query1,4)>=2))
Level: hard
Question: How many ratings with stars more than 3?
Formula: ROWS(UNIQUE(LET(a,E1,b,E1,c,INDEX(LET(query1,SUMMARIZE(E1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,2)>3)),,1),FILTER(a,NOT(ISNA(XLOOKUP(b,c,c)))))))
Formula2: ROWS(UNIQUE(LET(a,E2:E15,b,E2:E15,c,INDEX(LET(query1,SUMMARIZE(E2:E15,SUMX(C2:C15)),FILTER(query1,CHOOSECOLS(query1,2)>3)),,1),FILTER(a,NOT(ISNA(XLOOKUP(b,c,c)))))))
Level: hard