For metrics that use numeric values, you can set the source by placing a numeric variable in the VALUE field above the crosstab. A numeric variable there applies to every cell for the metrics Vol, Mean, Median, Min, Max, and SOV, regardless of what is represented in rows or columns.
How to use the VALUE drop zone:
-
Drag and drop a numeric variable from a codebook to the Value area;
-
Switch on any numeric metrics as required;
-
Click CALCULATE.
If the field remains empty, the metrics are calculated based on the value of the numeric variable in crosstab or on its midpoints; however, if the field is filled in, the calculation of the selected numeric variable will populate the cells.
The simplest use case is when you want to display the average value of a numeric variable, such as age or income, in a crosstab without adding the variable itself to the table. Drop the variable in the VALUE field and apply the MEAN metric to calculate the average age or income for a particular category.
Group of numeric variables - operator OR
Suppose you need to calculate the average rating tourists gave to their top three visited cities. In this case, you can add multiple variables to the VALUE field, representing the ratings of three different cities, and combine them using OR.
Respondents without a value are left out of all numeric metrics.
Narrowing groups - operator AND
In the Expression Builder for the VALUE field, you can combine variables using OR or AND. You can also use categorical variables to narrow down the group included in the calculation. For example, combining a numeric Age variable with the Milan category allows you to calculate the average age for Milan only.
Value source selector
This setting determines whether numeric metrics use values from the rows or columns for their calculations.
This setting only applies when no variable is selected in the VALUE field.
By default, values come from the row variable. If the rows are categorical and the columns are numeric, values come from the columns. The selector in the VALUE area lets you choose rows or columns explicitly.
The VALUE drop zone is also used when applying the Feature Count metric. It’s an exception to using non-numerical variables in this area.