I need to calculate the average ICP score per platform, which seems like a simple report/calculation. However, when I group by platform, I can only select the COUNT OF option, and AVERAGE isn’t an available option. What am I missing?
I need to calculate the average ICP score per platform, which seems like a simple report/calculation. However, when I group by platform, I can only select the COUNT OF option, and AVERAGE isn’t an available option. What am I missing?
Also if you’re pulling in a lookup (which you might be, based on your screenshot here), check if you’re pulling in the ID of the lookup, or the number within the lookup. That also would impact your ability to use the AVG function.
Thanks a lot
Sorry for intruding
Unfortunately, dropdowns are a (more limited) string type. The only workaround I can think of is to add a new numeric field in your object. And then in the rule that upserts your ICP score field do the following:
a) Apply a Transform to the dropdown label (it has to be a string, will not accept the dropdown itself as input) using a To Number fx
or
b) Use a case statement to cast your dropdown values to the corresponding number.
You can also do a one-off rule to test and then populate the numeric field just once so you have it ready for your report.
Glad we’ve at least got a cause,
If just once for this report and the drop-down list is relatively small (10 values or fewer), a Case statement would be my choice.
If you see a future where you need to do more math, or if that drop-down list is long, the new field + rule to populate may be more durable.
Thanks so much both for the really helpful suggestions
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.