Page 1 of 1

Average rows that contain values.

Posted: Mon Jun 23, 2008 4:59 pm
by mmurdock
Is there a way to average only rows that contain values in a dataset?

Thanks,

Mat

Average rows that contain values.

Posted: Tue Jun 24, 2008 12:30 am
by Edward
Hello, Mat.

Yes, there is the way. You have to declare an int type variable in the Dictionary, in the BeforePrintEvent increase it if its value is not null.

Please open the attached sample in the Demo example application from the standard installation.

Then divide resulted sum into value of that variable.

Thank you.