‎2012 Apr 06 4:30 PM
Greetings,
I created a report and I want to get the average for some database fields .
The type of these fields is char .How can I get the average?
Thanks and regards,
Noor Asd
‎2012 Apr 06 6:14 PM
Hi,
Well, one way would be to leave the aggregate function on your SELECT statement and calculate the average value yourself within a loop...
Cheers,
Manu.
‎2012 Apr 06 9:12 PM
since average is based on a numerical value, you're not doing to do it with char fields.
‎2012 Apr 08 8:21 AM
Hi,
You have to move the values into a numerical variable before trying to average it.
Regards,
Karl