About unique counts

A unique count field (also known as count once) counts unique key members (customers, products, etc.) that occur in a set of records or meet test criteria. For a dimension member count (channels, brands, etc.), the field counts unique dimension members associated with key members in the records. Examples include number of customers who bought or brands that were sold. Unique counts belong to the causal data category.

Types of counts

Depending on how your organization sets this data up, it might use one or more of the following to calculate the counts. Your management should teach you the meaning of your counts and how they were determined. You can also place your cursor over the measure heading to see which of the following functions the field uses.

Rules and considerations for unique counts

Calculated fields that include unique counts - As previously discussed, unique count fields that are defined by the KeyCntAnyRecord, DimCntAnyRecord, KeyCntAnyNonZeroFld, or DimCntAnyNonZeroFld function use the currently selected data cube to determine the count values. However, calculated fields that include these counts along with measures from a single data cube do not change based on the currently selected data cube. Instead, these types of calculated fields count members based on the data cube of other fields in the formula. Therefore, the results do not change when you switch the data cube although the results for the count field itself may change. The KeyCntByFld and DimCntByFld functions always use the specified measure and do not depend on the selected cube or cube of other fields in the formula. Calculated fields that include a count field and fields from multiple cubes are cross-calculated fields. These fields use the currently selected data cube to count key members. To see which data cube a calculated field uses to count key members, see the Cube Affinity section of the configuration report. This section lists the associated data cube. If no data cube is associated, then the calculated field uses the currently selected cube.

Totals and averages of key counts in comparative views - When the dimension used to group the data is for a different key than the count's key (for example, a customer count grouped by a product dimension such as brand), then the total for all members is not a simple addition calculation. This is because some of the counts might overlap each other. For example, a customer might have purchased two different brands and, therefore, be included in the customer count for both brands. To accommodate the overlap between dimension members, the total row looks at all key members to see how many have data for any of the dimension members in the view, and counts each key member only once. It would not be a total for all dimension members summed together. For this same reason, when you expand a dimension member (i.e. click the plus sign beside a dimension member to drill into its data), the counts won't necessarily add up to the expanded member's total. This doesn't mean the numbers are incorrect, just that they are calculated differently than additive data.

Totals and averages of dimension counts in comparative views - When the dimension used to group the data is different than the count's dimension (for example, a brand count grouped by the package dimension), then the total is not a simple addition calculation because counts can overlap each other. For example, a brand might occur in multiple packages.

Averages in time-series views - The totals cannot be arrived at by simply summing all of the days, weeks, months, or periods in the date range. Instead, the view shows a cumulative value for the whole date range.

Mix values - The percent of the total (i.e. mix) is only available when the view is grouped by a dimension of the same key as the count or, for dimension counts, by the same dimension as the count dimension. As discussed above, when the dimension is for a different key or dimension, the counts aren't additive. In other words, the counts might overlap each other, and therefore, don't add up meaningfully across dimension members. For this same reason, the mix values would not add up to 100%. This rule affects the following: Mix, Share Trend (Percent), and Mix columns inserted into Comparative views and key lists.

Conversion tables -