Totalize property on the DataSourceBlock applies to requests where the data source resolves to a history with totalized (ever increasing) values and where the hs:hisTotalized tag is present. In general, when the Totalize property is false, the result returns delta values. When the Totalize property is true the result returns totalized values. There are some subtleties to be aware of.
When Use Request Totalize is false on the DataSourceBlock, and the block’s Totalize property is configured, the block uses the value of the Totalize property. When the Use Request Totalize is true, the block uses the Totalize property as defined in the request. If the Totalize property is not defined, the block uses the default value of true.
The table demonstrates how the totalize function may or may not apply based on the configuration options.
| DataSourceBlock | Request | Actual | |
|---|---|---|---|
Use Request Totalize |
Totalize |
Totalize |
totalize function |
| false | not configured | false | true (default) |
| false | false | true | false |
| true | true | false | false |