Counting records

Concept Information

COUNT command

You can count all records in a table, or only those that meet a specified condition. The results are displayed in the Analytics display area.

If no condition is specified, the total number of records in the table is displayed in the status bar. If a global filter has been applied to a view, the number of records remaining in the table after the filter has been applied is displayed in the status bar.

Steps

  1. Select Analyze > Count.
  2. On the Main tab, you can optionally do one of the following:

    Enter a condition in the If text box.

    Click If to create an IF statement using the Expression Builder.

    The IF statement considers all records in the view and filters out those that do not meet the specified condition.

  3. Click the More tab.
  4. Select the appropriate option in the Scope panel:

    • All
    • First
    • Next
    • While
  5. Click OK.