C:\DITA\WKFS_oXygen_Files\fragments\webhelp.fragment.head.xml
Jump to main content C:\DITA\WKFS_oXygen_Files\fragments\webhelp.fragment.before.body.xml

# Summing Values within a Table

This section explains how to only sum the values that appear within a table, even if additional values have been passed. For example, if 15 items have been passed but only 10 rows appear in the table, set the EndSumIndex attribute to 10. This procedure also assumes that you have created a table.

1. From the Table/tgroup/tbody/SortByWrapper element, right click and select Add Attribute/EndSumIndex.
2. From the EndSumIndex attribute, double-click on the NO VALUE text field. Enter a value; for example: 10.
   Note: The EndSumIndex value should be greater than BeginSumIndex value and less than or equal to the MaxIndex value.

C:\DITA\WKFS_oXygen_Files\fragments\webhelp.fragment.after.body.xml