Specifying decimal places for a summary statistic element
This example is based on the Museum sample data set.
You can use the axis expression syntax to specify decimals for a summary statistic using the Decimals property, as shown in the following script:
Set Table = TableDoc.Tables.AddNew("Table02", "age{.., mean() [Decimals=1]} * gender", "Decimal places on elements")
This results in the following table:
Table showing mean element with 1 decimal place
See also