Calculating minimum, maximum, and average values on a Section Report field.

Question:

How can a Section Report in Elipse E3 display the minimum, maximum, and average values of a field that is stored in a Historic?

Solution:

To do so, follow these procedures:

  1. Set the section report’s query to retrieve the desired field. For example: SELECT Current.Historic FROM Historic
  2. Create three Data Fields in the section report with the following settings:

– Field Minimum:
SummaryFunc = 3 – rv2Min
SummaryRunning = 0 – rv2NoSR
SummaryType = 1 – rv2GrandTotal

– Field Maximum:
SummaryFunc = 4 – rv2Max
SummaryRunning = 0 – rv2NoSR
SummaryType = 1 – rv2GrandTotal

– Field Average:
SummaryFunc = 1 – rv2Avg
SummaryRunning = 0 – rv2NoSR
SummaryType = 1 – rv2GrandTotal

Set these object’s DataField properties with the name of the desired field, exactly as they appear in the SQL query.

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 *