If the Interval Count block needs to pass the results as a trend via the Out slot linked to a downstream block, you must change the block’s Makes Trends property its default of false to true.

To view these properties, double-click the block on the Wire Sheet or the block name in the Nav tree.
| Property | Value | Description |
|---|---|---|
| Out | read-only value slot | Outputs a constant value of constant trend based on the value of Make Trends or Makes Trends property, where the value is the calculated interval count.
|
| Makes Trends | true or false (default)
|
Controls the processing of trend requests.
|
Consider a basic algorithm with no DataSourceBlock where the Interval Count block is linked directly to a Result block.

A numeric point with an Analytic Proxy Ext that is configured with Data = alg:IntervalCountOnly, time range = yesterday and interval = hour returns a value of 24, indicating there are 24 hourly intervals in the time range of yesterday.

Consider a more complex algorithm with a data source named Cost, which runs another algorithm to calculate a cost for the requested time range. The Interval Count component calculates the number of intervals in the requested time range, which calculates and displays the cost per interval in a chart or table.

Assuming the Cost data source (alg:CostCalculation) returns a value of 24,000 the Analytic Table Binding requests a time range of yesterday (24 hours) with an interval of three hours (8 intervals in the 24 hour time range); the algorithm distributes the cost of 24,000 evenly to each row in the table.
