...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<!-- Create a new data definition that groups the values based on their 'group' value -->
<data:datadefinition id="test.group">
<groupdataconnection datadefinition="test.source">
<parameter name="group" label="Group" column="group"/>
<parameter name="sum" label="Sum" column="sum(value)"/>
<parameter name="avg" label="Average" column="avg(value)"/>
<parameter name="min" label="Minimum" column="min(value)"/>
<parameter name="max" label="Maximum" column="max(value)"/>
<parameter name="count" label="Count" column="count(1)"/>
<group column="group"/>
</groupdataconnection>
</data:datadefinition>
|
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<!-- Create a new data definition that groups the values based on their 'date' value -->
<data:datadefinition id="test.group">
<groupdataconnection datadefinition="test.source">
<parameter name="group" label="Group" column="date"/>
<parameter name="sum" label="Sum" column="sum(value)"/>
<parameter name="avg" label="Average" column="avg(value)"/>
<parameter name="min" label="Minimum" column="min(value)"/>
<parameter name="max" label="Maximum" column="max(value)"/>
<parameter name="count" label="Count" column="count(1)"/>
<group column="date"/>
</groupdataconnection>
</data:datadefinition>
|
...