I’m working on calculating a weighted average of Net Promoter Score (NPS) based on the number of survey responses. The challenge is that the NPS data I have is already averaged (imported from SmartSheets). When attempting to calculate the weighted average, I get an error related to nesting aggregate functions. The error message is:
Nesting of aggregate functions like / and SUM(AVG(AVG("NPS") * "Survey Responses")) / NULLIF(SUM("Survey Responses"), 0) is not allowed.
I’ve also tried creating two separate calculated fields:
- For NPS multiplied by the Number of Responses
- For just the Number of Responses
However, I still run into an error about mixing aggregate and non-aggregate functions.
Does anyone have a workaround for this issue?
Thank you in advance for any help!