KB-37429: Grouping data in a Report.

Question:

How can I group data by minute in a Report?

Solution:

To do so, you must first insert a new Group Header/Footer section in the report.

 

To set the grouping criteria, you must configure the GroupHeader‘s DataField property. To group by minute, you must use the following expression: ‘=Minute(E3TimeStamp)’

In the GroupFooter, you must insert the Query’s Fields to be viewed. After that, configure the following properties in the fields that must have their average calculated:

SummaryFunc = 1 – ddSFAvg
SummaryGroup = GroupHeader1
SummaryRunning = 1 – ddSRGroup
SummaryType = 3 – ddSMSubTotal

The SummaryFunc property sets the calculation to be performed. If you want to calculate the sum or the maximum and minimum values instead of the average, just use another function.

Check for more details about the mentioned properties on E3‘s Scripts Reference Manual.

The attached example application was developed with Elipse E3 version 3.2 build 260.

Attachments:

ReportGroupByMinute.zip

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *