How do I format while trying to Average?

From SmartWiki
Revision as of 10:49, 25 March 2009 by Madhulika (talk | contribs)

Jump to: navigation, search

Q: How do I format while trying to Average?

A: format(AVG(if([this]='criteria',[this],0)),num))

     where num = integer indicating scale of the decimal number.

Why do we do this?

To calculate average of values with decimal numbers, above syntax can be used to apply the formatting.

Where can this be applied?

Calculated field section in Reports