![]() |
Page History
...
The number data macro establishes the numerator:. Enter a new value in the Edit Contents view.
Number Data | ||||
---|---|---|---|---|
| ||||
1 |
The number data macro establishes the denominator:. Enter a new value in the Edit Contents view.
Number Data | ||||
---|---|---|---|---|
| ||||
2 |
...
Evaluating Data in Tables
In the Edit Contents view the text data and number data macros display a plus sign with the table. Selecting the plus sign opens the table to accept names of variables and values for them. The evaluate data macros calculate the sum and the average.
An example follows.
Code Block |
---|
{table-data:Values} || Name || Value || | {text-data:Name}{text-data} | {number-data:Value}{number-data} | {table-data} Sum: {eval-data:Sum}sumtable("Values", "Value"){eval-data} Average: {eval-data:Average}avgtable("Values", "Value"){eval-data} |
The table data macro contains a table with text data for the name and number data for the value. In the Edit Contents view select the plus sign to add a row and enter values for each row.
Table Data | ||||
---|---|---|---|---|
| ||||
|
...