I have a SharePoint list with two important columns: WeekRating (number) and Answer Date (Date)
I am struggling to work out how the Average method works
I want to get the average of the WeekRatings that reside inside each week block. For example: I have this working for the weeks but I'm not sure how to get the rest of this working:
How to use Average and Filter with Collect() and Tables
Your formula needs to be cleaned up quite a bit. For one thing you're using the Average() function without giving it a column to average. The way it's written you're just telling it to Show the WeekRating Column. You can see this if you format your formula a bit:
If you want to average "WeekRating" you need to put it in again as the second argument for the Average() function.
e.g.
That said your filters aren't delegable and won't work on large lists.
I'm not 100% sure what you're going for, but using my best judgement I'd do something like this using two date pickers and a nested gallery:
The formula for the gallery would be something like:
),'Week Score Avg',RoundUp(Average('Forms For Week',WeekRating),2)
))
Hope that helps!
1 people found this reply helpful.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.