Creating a summary field in Template Editor

Tekla Structures
Modified: 14 Nov 2024
2025
Tekla Structures

Creating a summary field in Template Editor

When you to want sum value field values in a summary field rather than outputting individual value fields on their own line, you can turn a value field into a summary field.

Do the following:

  1. Ensure the Sort type of the row containing the value field is set to Combine. This ensures that you will be outputting only summary rows instead of repeating lines with information on individual database objects.
  2. Select the value field to sum and double-click to open the Value Field Properties dialog.
  3. You have these choices:
    • Click Don't sum values if you do not want any summaries made.

    • Click Sum values across all rows to sum all of the similar values of all rows.

    • Click Sum values within one row to add up all of the values of one row. All other rows are ignored.

  4. Click OK to save the changes.
  5. Then click OK to close the dialog.

If you want to print the number of combined output lines, add a value field with the attribute "NUMBER". If you do not want to combine lines but rather output each line and a summary row with an intermediate sum after them, we recommend that you use the Sum value field function to calculate the sum.

See also

Modifying the sort type of a row in Template Editor

Get a single piece of data from the database in Template Editor

Creating a listing of template objects from the database

Value field functions in Template Editor

Was this helpful?
Previous
Next