The Segment argument is a value that represents a row or column ID in the designer. Referenced segments refer to design-time rows or columns, which might expand in the viewer. View-time rows and columns are the expanded rows and columns. You can use numbers for row IDs and letters for column IDs. You can refer to one or more segments in any standard formula. The following table explains the types of notation used for multiple segments in standard formulas.
Table 16. Segment Notation
You can use any combination of the above.
Point to segment rows 1, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15 and 17:
row[1; 3; 5:10; 12:15; 17]
If the following expression references row segment 20, but the grid contains only 15 row segments, the formula works only on segment 4:
row[4; 20]
If you enter a larger starting segment than ending segment, the system internally switches them around.
Show how the segments are internally switched:
row[6:3] becomes row[3:6]
Multiple references to the same segments are valid. This causes the same segments to be included twice in an expression.
row[2;3;5;7;5].sum
Reference row segments 2, 3, 4, 5, 6, 7, and segment 5 again. It includes segment 5 twice in the calculation of the average:
row[2:7;5].avg
Ignore row segment 3 if it is a text row:
row[1:5]