Hi,
In Excel, if I average 5 fields, and two are empty then I get the average of the 3 with data.
Is there any way you can do this in NetSuite?
Business reason:
I have a new custom coaching form where users select a dropdown with the 6 choices: very good/good/standard/development/bad/na when they assess an employee for particular tasks. The score na is used if that question does not apply to the particular coaching instance.
These translate into scores of 5/4/3/2/1/do-not-include.
Scores can then be averaged to find out where training needs to be focused across individuals or departments.
I want to use NetSuite to average the scores...but it needs to miss out the na scores.
I've tried a custom list, where the internal IDs are the scores for the selections. A search formula (numeric) is happy averaging the IDs...but there is no way that I can find to make it ignore the na ones (currently with ID=6), so my average is too high.
Formula(numeric)
Summary Type = average
{custrecord_coachingform_intro2.id}
I had hoped that using CASE WHEN I could somehow make it leave the na rows out of the average.
I then tried using same custom list for the dropdown converted to a customer record so that I could add a "score" field in the background.
Search will not let me do an average of the linked test score {custrecord_coachingform_testscore.custrecord_score} since the field is not numeric.
It will let me set
Formula(numeric)
Summary Type = none
{custrecord_coachingform_testscore.custrecord_score} but gets an error instead of turning the free text as a number (even when only numeric in the results table).
I've tried CAST and CONVERT; cannot get them to work but thing they would not handle my alpha value anyway from what I can find inline.
However, this is going to have the same fundamental problem; how to ignore the nas.
Last resort is asking Evan
Otherwise I think it'll be extract and do it in Excel...and I really wanted everything in NetSuite as so much more elegant.
Thanks,
Jean