Stats Supplier

Overview

Provides access to calculated statistics on a set of data.

Statistics are generated by other macros or suppliers, such as the grouping-reporter and the Stats On Supplier.

Details

Name:

Stats Supplier

Prefix:

stats(optional)

Supported Content:

Stats Objects

Provided By:

Reporting for Confluence from v3.2.0

Supported Keys

List of keys that this supplier returns a value for.

Key

Content Types

Return Type

Description

Key

Content Types

Return Type

Description

sum

Stats

Number

The sum of all number values in the analyzed set.

empty count

Stats

Number

The number of empty items in the analysed set.

value count

Stats

Number

The number of non-empty items in the analyzed set.

item count

Stats

Number

The total number of items in the analyzed set.

value average

Stats

Number

The average of all numbers in the set compared to the number of non-blank items in the analysed set.

Non-numeric objects are included in the count used to calculate the average, even if they aren't numbers.

item average

Stats

Number

The average of all number values in the set compared to the total number of items, including blank values.

min value

Stats

Anything

The minimum value in the set.

Works with numbers, dates, strings and anything else that is natively comparable. However, if the set contains objects of different types, there will probably be no value here.

max value

Stats

Anything

The maximum value in the set.

min item

Stats

Anything

The original item from the analysed set that contained the minimum value.

max item

Stats

Anything

The original item from the analysed set that contained the maximum value.

Examples

See the grouping-reporter macro and Stats On Supplier for examples of use of this supplier.