ActivityMeasure

The ActivityMeasure option specifies the criteria used to determine the category count.

By default, the non-zero-value categories associated with all measures in the model are counted.

To create a Category Count, you can also use the Dimension or Rollup options. For more information about these alternatives, see Dimension and Rollup.

The syntax is as follows:

ActivityMeasure objMeasure

where objMeasure is the object name. The default, when no ActivityMeasure is specified but one or more measures exist for a category, is to return a count.

Example

The scope of this category count is any existing measure:

MeasureMake 159 "Revenue" Levels 139 RollupCategoryCount Storage DefaultScale
0 Decimals 0 Sign False IsCurrency False DrillThrough False EndList

The following category count is for the specific measure referenced using ActivityMeasure:

Measure 111 "Cost" Levels 117 ActivityMeasure "Sales" 
Rollup CategoryCount Storage Default Scale 0 Decimals 0 Sign False 
IsCurrency False DrillThrough False EndList