Renders a single result of a calculation provided by the Calculation Macro.
The Calculation Macro allows to calculate a number of values derived from a set of document, but allows only to render at most one of these values. This macro allows to reference a value from that set and render it.
Parameters
The macro is configured by the following parameters.
Result Type
Allows to select the type of result to pick from the referenced formula.
Identifier | Description |
---|
representation | Selects the representation calculated by the formula in Output Format. This is the default. |
literal | Selects the result calculated by the formula in Output Format. |
result | Selects the result calculated by the formula in Formula Format. |
count | Selects the count of documents that provided a value for the calculation of the referenced formula. Result is rendered with an integer format. |
sum | Selects the sum of all Document Formulas' values calculated with the referenced formula. Result is rendered with the Formula Format. |
prod | Selects the product of all Document Formulas' values calculated with the referenced formula. Result is rendered with the Formula Format. |
min | Selects the minimum of all Document Formulas' values calculated with the referenced formula. Result is rendered with the Formula Format. |
max | Selects the maximum of all Document Formulas' values calculated with the referenced formula. Result is rendered with the Formula Format. |
avg | Selects the average value of all Document Formulas' values calculated with the referenced formula. Result is rendered with the Formula Format. |
all | Renders all values in a table for debugging purposes. This is not limited to values specified for the Calculation ID or Formula Name. |
Identifier
The unique HTML identifier of the element being rendered.
CSS Classes
List of HTML class names to be added to the rendered HTML element.
Render no Result
If the referenced result is not found, the result is rendered as a short text message. If this should not be rendered at all, check this box.
No Result
Text to be rendered if no result is available.