Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set analysis on all given value

Let say I have a table with 3 fields: Subject , Name , Grade

I want to test if in any given subject the average is above 60 – so just want to see Yes or No for that test – do not need a list of all subjects.

How will you recommend doing it elegantly? set analysis?

12 Replies
Anonymous
Not applicable
Author

Error: Error in expression: Sum takes 1 parameter

sunny_talwar

My bad, try this

If(Sum(Aggr(If(Avg(Grade) > 60, 1), Subject)) >= 1, 'Yes', 'No')

Anonymous
Not applicable
Author

so beautiful, many thanks