Non-Column Selections


For many visualizations, there are some special options available on the column selector menu:

The use of these options is best described with examples.

Column Names

The data table below contains sales data for a company's total business during a year, all the sales of fruit and vegetables for 2017.

It has two separate columns stating the sales and cost of each transaction, and we now want to compare the total sum of sales to the total sum of cost.

In the image below, we have set up a bar chart where the value axis shows sum of sales, and also sum of cost. The problem now is to decide what to show on the category axis. Normally, we would select a column from the column selector, and each unique value in that column would correspond to a bar. However, this will not help us achieve the bar chart we want now, as seen below.

Instead, we select the (Column Names) option from the category axis selector. This means that we take the value column names used on the value axis, and create a bar for each of these names. Since the scale is the same, we can easily show the two columns as bars beside each other.

In another example where the data table contains several years, we use a line chart to see the trends of the sum of sales and the sum of cost over the years. Again, the Y-axis shows sum of sales and sum of cost, but we want the X-axis to show the years. We therefore have to set (Column Names) on another visualization property to see the two different lines. By setting Color by to (Column Names) we get two lines with different colors, one for each column on the Y-axis.

Axis Values

In the column selector menus on axes, you can encounter various axis values options, for example, (Value axis values), (Y values), or (Color by values). Which options are available on a column selector depend on the visualization type and what is selected on the visualization axes. In a waterfall chart, (Value axis values) is the default selection on the color axis.

Such a non-column selection represents everything that is selected on a certain axis in a visualization. For example, (Value axis values) represents all that is selected on the value axis. An axis values selection is especially useful for referring to axes with multiple columns. An example follows below.

The bar chart shows the sums of sales at three store departments. The data is retrieved from three different columns, that is, more than one column is selected on the value axis.  

  

By selecting (Value axis values) on the Color axis, all bar values on the value axis become part of the coloring scale as shown below. This means you can use a single gradient scale when coloring the bars, even if they represent values from multiple columns.

Note: If you change what is selected on the value axis above, the coloring automatically reflects the new selection. This is because of the (Value axis values) selection on the color axis.

Subsets

The third special option for the column selectors is called (Subsets). This option is used to display different subsets of data, like all data/filtered data or marked items simultaneously. You can set up which subsets should be available in the visualization using the Subsets tab of the Visualization Properties dialog. There are more examples available on the What are Subsets? and How to Work with Subsets pages.

Row Number

The fourth special option for the column selectors is called (Row Number). This will show one bar for each row in the data table (when used on the category axis of a bar chart). As mentioned before, we would normally select a column from the column selector, and each unique value in that column would correspond to a bar. If several rows have the same identical value, these will be aggregated and displayed as the same bar, showing the sum or average of the included values.

Selecting (Row Number) on the category axis selector will let you see each individual transaction (row) as an individual bar, which can be useful for spotting extreme values.

Row Count

The fifth special option is called (Row Count), and is used when you want a visualization to display the number of rows in your data table. If you select (Row Count) on the value axis of a bar chart, the height of each bar will show the number of rows that correspond to the selected column on the category axis. The bar chart below shows sales data by order date for some months. (Row Count) was selected on the value axis, which means that the height of each bar shows the number of orders for each month.

Tip: You can specify a Display name in the expanded column selector to set the name to Number of orders instead of (Row Count).

In the example below, a cross table shows the number of sales transactions for fruit, spices, and vegetables in four different sales regions. Each cell in the cross table displays the total number of sales transactions, and in this example the rows have also been colored by (Row Count) to further highlight the cell values.

See also:

Column Selectors

Hierarchies