Hello, I am trying to average scores in a column when criteria is met in two other columns. I know SS does not support AverageIfs, so I used AVG(Collect…. It did return a calculation, but the figure is not correct when compared to a report that has the same data or when I manually calculate the figure.
Formula used
=AVG(COLLECT({Audit - Process Score}, {Project Year}, [Primary Column]@row, {Audit Calc}, "1"))
Data set for 2024 (year is primary column)
Score | Audit | Year |
|---|
100.00% | 1 | 2024 |
100.00% | 1 | 2024 |
80.00% | 1 | 2024 |
100.00% | 1 | 2024 |
100.00% | 1 | 2024 |
80.00% | 1 | 2024 |
| | |
The average of these six scores is 93.33% when calculated manually and on a report I have for a different purpose.
When I use the Avg(Collect… formula the figure returned is 84.29%.
Any idea why there is a discrepancy or how to fix? Thank you!