COUNT Command

The COUNT command calculates the total number of animals that match your command condition(s). It is a quick and easy way to get a total number of animals meeting specific criteria.

Use the COUNT command to assist you with a variety of tasks, including the following examples:

COUNT command syntax is spelled out using the example below: 

1

Command (required): DairyComp command.

2

Switch(es): control the results returned by modifying or limiting the command to specific data. The following switches are supported for COUNT in the current Platform release: 

Switch

Definition

\B

Includes results for both live and dead animals. Without the switch, command results include live animals only.

\D

Limits results to dead cows only.

 

3

Condition filter (required):  Filter for the command. Available filter: FOR.

4

Conditional item(s) (required):  Item conditions that must be matched to be included in the results. The following conditional operators may be used:

Operator

Definition for numeric and date values

Definition for string values

=

equal to

equal to

<>

not equal to

not equal to

>

greater than

contains

>=

greater than or equal to

-

<

less than

does not contain

<=

less than or equal to

-

Copyright © VAS 2019 | EUSA Agreement | Privacy Policy | Trademarks | Return to Online Help Home | Contact Us

Last Built: September 18, 2019