2.2.4.24.22 Top10

A top N filter or a bottom N filter applied to an Item (section 2.2.4.24.20).

 <s:complexType name="Top10">
   <s:attribute name="percent" type="s:boolean" use="required" />
   <s:attribute name="top" type="s:boolean" use="required" />
   <s:attribute name="value" type="s:int" use="required" />
 </s:complexType>

percent: Specifies whether the top N filter or bottom N filter is based on percentage of the total sum of values in the column (2) or not. This attribute MUST be true when a top N filter by percent or a bottom N filter by percent is applied. It MUST be false when a top N filter by count or a bottom N filter by count is applied.

top: Specifies whether a top N filter or a bottom N filter is applied. This attribute MUST be true when a top N filter is applied. It MUST be false when a bottom N filter is applied.

value: Value based on which the top N filter or bottom N filter is applied. If percent is true, the value of this attribute MUST be greater than or equal to 0 and less than or equal to 100. If percent is false, the value of this attribute MUST be greater than or equal to 0 and less than or equal to 500.