Survey Tabulation > Table specification syntax > Element properties
 
Element properties
You can define properties for elements and special elements in the axis specification. You specify the properties after the element to which they apply as follows:
<properties> ::= [<property> [, <property>]]

<property> ::= CalculationScope=AllElements|PrecedingElements
             | CountsOnly=True|False
             | Decimals=DecimalPlaces
             | Factor=FactorValue
             | IsFixed=True|False
             | IsHidden=True|False
             | IsHiddenWhenColumn=True|False
             | IsHiddenWhenRow=True|False
             | IncludeInBase=True|False
             | IsUnweighted=True|False
             | Multiplier=MultiplierVariable
             | Weight=WeightVariable
The examples in this section show how to use element properties. Note that in the examples, the axis specification is presented on multiple lines for clarity. In practice you must specify the axis specification without line breaks.
Note NumericVariable (AnalysisVariable), Multiplier, and Weight properties need to be specified as absolute references. However, variable references in expressions need to be specified as relative references. Using the Household.mdd sample as an example, when editing a categorical variable at the person level, if you want to display the mean of man’s weight, you can add the following mean element:
mean(person[..].weight, ’gender.ContainsAny({Male})’)
See
Specifying the calculation scope for elements that use factors
Specifying decimal places for a summary statistic element
Specifying factors for existing elements
Specifying factors for special elements
Fixing an element’s position in a table
Hiding elements
Excluding categories from the base
See also
Table specification syntax