MeasureFormula Simple Type (Work Item Type Definition Schema)
Defines aggregation types for the reportable value measure.
<xs:simpleType name="MeasureFormula">
<xs:restriction base="xs:string">
<xs:enumeration value="sum"/>
<xs:enumeration value="count"/>
<xs:enumeration value="distinctcount"/>
<xs:enumeration value="avg"/>
<xs:enumeration value="min"/>
<xs:enumeration value="max"/>
</xs:restriction>
</xs:simpleType>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child Elements
None
Parent Elements
None
Remarks
The MeasureFormula Simple Type defines the formula attribute in the FieldDefinition Complex Type (WORKITEMTYPE Element). The formula attribute is available only if the value of the reportable attribute is set to measure.
Enumeration Values
The MeasureFormula Simple Type is a string restricted to the following values. sum is the only supported aggregation type for measure.
Attribute |
Description |
---|---|
sum |
Specifies that the reportability value measure is aggregated as a sum. The sum value is the default aggregation type for measure. |
count |
Obsolete. Do not use. |
distinctcount |
Obsolete. Do not use. |
avg |
Obsolete. Do not use. |
min |
Obsolete. Do not use. |
max |
Obsolete. Do not use. |
Element Information
Namespace |
https://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef |
Schema Name |
Work Item Type Definition |
Validation File |
WorkItemTypeDefinition.xsd |
Can be Empty |
Not applicable |