Totals

<< Click to Display Table of Contents >>

Navigation:  Delphi HTML Report Library > Tables >

Totals

 

To generate totals use column attribute total. Possible values:

sum - sum

max - maximum value

min - minimum value

avg - average value

count (*) - number of rows

count (distinct) - number of unique values

 

Total cell could be formatted separately ​​using totalvalueformat attribute of a FIELD tag.

When using formatted values sum in totals could differ from sum of visible values. To prevent it use precision attribute (=decimal places) in FIELD.