Audimation Services has been acquired by Caseware International Learn More.

X
Icon


Blog Image

The Power of Field Statistics

IDEA Tech Tip


IDEA’s Field Statistics can save you a wealth of time. It should be the first thing you go to after importing a file. Why?

Every control total is available in one view. And because everything is in one view, you can quickly spot anomalies such as negative quantities on inventory records, $0.00 amounts on disbursed checks, or accounts receivable invoices with a due date in the year 3015. Even better, you can extract the questionable records by clicking on the hyperlink and selecting “Save.” No need to write an extraction equation.

The real power of Field Statistics is in the Equation Editor. You can call any value listed in Field Statistics into an IDEA equation. For example, perhaps you wish to review purchase card transaction amounts that are over the company’s average amount. Without @FieldStatistics, you could extract the data with an equation that might look like this:

AMOUNT >= 3773

Assuming 3773 is the average transaction amount in your file.

If you used @FieldStatistics, your equation would look something like this:

AMOUNT >= @FieldStatistics(“TRANSACTION_AMOUNT”, 11)

The difference is that the second equation is reusable and “sharable” because it uses a parameter that fluctuates with each file instead of a hard-coded value. You save time by doing work once instead of doing the same work repetitively.

How does it work? @FieldStatistics is a numeric function. It uses three look-up tables (arrays); one for numeric statistics, one for date field statistics, and one for time field statistics.

Syntax: @FieldStatistics(“FieldName”, Statistic)

The “FieldName” is the field from which you want the statistic. Commonly, that will be the same field you are comparing to the statistic, but the function will allow statistics from other fields to be called into your equation if you wish. For example, if you want the average invoice amount, you would choose the invoice amount field from your data. The field name must be encapsulated in double-quotes in this function. If the field name is properly encapsulated, it should display in purple. Un-encapsulated field names display in blue. If you forget the double-quotes, you will get an “Invalid parameter” error message.

The Statistic is the number in the lookup table (array) assigned to that particular field statistic. In the example above, the average value is the 11th statistic in the lookup table. If you open the Field Statistics view, you can count down the list and you will find Average Value is the 11th statistic.

An easier way to find the lookup table number for a statistic is to open the Equation Editor and use the Assigned Numbers for Field Statistics lookup. Click the hyperlink, scroll to find the desired statistic, then enter that statistic’s number in the equation.

Description of @FieldStatistics in the Equation Editor

Assigned Numbers Description for @FieldStatistics
 

New to IDEA 10.3!

 
Past versions of IDEA only calculated statistics for Numeric and Date fields. With the release of IDEA 10.3, Fields Statistics are now calculated for Character fields as well. Two statistics are recorded; “# of Blanks” and “# of Categories”. # of Blanks simply shows how may blank cells are listed in that field.  # of Categories shows how many unique values the field contains and is very similar to a summarization. As with all field statistics, you can click the blue number in the Field Statistics table to view and extract a drill-down of the data.

@FieldStatistics View of Category Output

We hope this will be very helpful to your team. And, as always, if you have questions about this Tech Tip or other IDEA questions, please give our help desk a call at:

 

888-641-2800 Option 4
Or email us at [email protected]


Best Practices , Tech Tip



Posted By

By IDEA Help Desk Team
The IDEA Help Desk is staffed by CIDA-certified data analytics experts. Our team has one goal - to help you get the most from IDEA. In addition to providing one-on-one support for using any IDEA feature or function, they also provide Tech Tips to keep your skills sharp.


Related Posts
Tech Tip: Top Records Extraction with Ranking
May 26 IDEA Lab was introduced with IDEA 11.1 in Mar-2020. Since its introduction, 13 different plugin/utilities have been introduced. Videos are posted explaining how...
Analyzing the Past to Predict the Future with Trend Analysis
Jun 18 In business, predicting the future is never an easy task. But CaseWare IDEA® can help as long as you have the right data. Trend Analysis will generate a cha...
Infusing IDEA into Your Organization
Nov 16 Building a successful and sustainable data analytics program requires a mix of people, processes, and products. At the IDEA Innovations Conference in Houston, l...
BROWSER NOT SUPPORTED

This website has been designed for modern browsers. Please update. Update my browser now

×