acl bootcamp exercise 4: computed fields cross-training
TRANSCRIPT
Copyright © 2011 ACL Services Ltd.
EXERCISE 4:
Computed Fields
Cross-Training
Copyright © 2011 ACL Services Ltd. 2ACL Services Ltd.
YOUR COACH
Shane Grimm
20 years of experience with ACL
ACL Certified Data Analyst
ACL Certified Trainer
Experienced coach of 1000’s of ACL users
@shanegrimm
Copyright © 2011 ACL Services Ltd. 3ACL Services Ltd.
Getting Back in Shape
ACL Bootcamp is a monthly webinar series designed to
help ACL users of all levels learn new skills
#aclbootcamp
*Poll Question # 1
Copyright © 2011 ACL Services Ltd. 4ACL Services Ltd.
GUEST SPEAKER
Phil Lim Extensive experience working with clients in a range of
industries, including Healthcare, Manufacturing and
Engineering firms
Core expertise in continuous auditing and controls monitoring
methodologies and practices
ACL Certified in Technical Support, ACL Certified Data
Analyst (ACDA), ACL Certified CCM Implementation Specialist
(ACCIS)
Copyright © 2011 ACL Services Ltd. 5ACL Services Ltd.
What are Computed Fields?
An expression
A calculation
A virtual field
Original data unchanged
*Poll Question # 2
Copyright © 2011 ACL Services Ltd. 6ACL Services Ltd.
What are we using them for today?
Cleansing
Recalculating
Fuzzy matching
Copyright © 2011 ACL Services Ltd. 7ACL Services Ltd.
Clean Your Data
Copyright © 2011 ACL Services Ltd. 8ACL Services Ltd.
Creating Computed Fields
1. Edit Table Layout -> Add New Expression
2. Provide a name
• Best practice: Prefix name with a C_
3. Use the Expression Builder
• Build and verify your Expressions
Copyright © 2011 ACL Services Ltd. 9ACL Services Ltd.
Let’s see a Demo
Copyright © 2011 ACL Services Ltd. 10ACL Services Ltd.
Clean Your Data
ALLTRIM(First) + " " + ALLTRIM(Last)
Other useful functions
» ALLTRIM()
» INCLUDE()
» EXCLUDE()
» UPPER()
» REPLACE()
» ZONED()
» SUBSTRING()
» SPLIT()
Copyright © 2011 ACL Services Ltd. 11ACL Services Ltd.
Recalculating Scenario
AP Transactions file contains only positive values
Credit Memos exist in this file
To get the true total, we need invert the sign of credit
memos
Strategy: Design a computed field that contains a
negative invoice amount if the invoice type is a credit
memo
Copyright © 2011 ACL Services Ltd. 12ACL Services Ltd.
Let’s see a Demo
Copyright © 2011 ACL Services Ltd. 13ACL Services Ltd.
Conditional Computed Fields
In creating a Conditional Computed Field, consider:
Conditions
Value
Default Value
Copyright © 2011 ACL Services Ltd. 14ACL Services Ltd.
Signed Invoice Amount Computed Field
invoice_type = "C" then value is invoice_amount * -1
invoice_type = "V" then value is 0
otherwise, value is invoice_amount
Copyright © 2011 ACL Services Ltd. 15ACL Services Ltd.
Let’s see a Demo
Copyright © 2011 ACL Services Ltd. 16ACL Services Ltd.
Fuzzy Matching Scenario
Filters are exact and address fields are not
• "1234 Main Street" <> "1234 Main St."
Fuzzy matching examples
• Duplicate vendors/employees
• Vendor employee matching
Copyright © 2011 ACL Services Ltd. 17ACL Services Ltd.
Fuzzy Matching Strategy
Common trick is numeric-only matchExample: create a computed field that contains only the numeric
digits of another field
How can we use ACL to create such a field?
1234 Main Street, San Francisco, CA, 94109
123494109
1234 Main St., San Fran, CA, 94109
123494109
Copyright © 2011 ACL Services Ltd. 18ACL Services Ltd.
ACL Function Reference
Online Documentationdocs.acl.com > ACL Language Reference > ACL Function Reference
OR
ACL HelpCategorized list of functions
Includes details on usage and examples
Copyright © 2011 ACL Services Ltd. 19ACL Services Ltd.
Let’s see a Demo
Copyright © 2011 ACL Services Ltd. 20ACL Services Ltd.
Fuzzy Matching Examples
Numeric Address Matching just one strategy
Other examples
• Soundslike for matching similar sounding names
• Numeric invoice number matching
• Matching invoice number patterns
• Percentage Matching QGrams or distance algorithms
Copyright © 2011 ACL Services Ltd. 21ACL Services Ltd.
Review
Computed Fields can be used for a variety of purposes,
including:
• Recalculations, simple to complex
• Cleaning data
• Complex filters
• Fuzzy Matching
Copyright © 2011 ACL Services Ltd. 22ACL Services Ltd.
Review
Tools to assist in your computed fields cross training:
• Expression Builder
• Conditional Computed Fields
• ACL Function Reference
Copyright © 2011 ACL Services Ltd. 23ACL Services Ltd.
Review
• Start simple
• Be adventurous. Remember, Computed Fields don’t
change your data
• Learn a new feature/function each time
Copyright © 2011 ACL Services Ltd. 24ACL Services Ltd.
Q & A
Copyright © 2011 ACL Services Ltd. 25ACL Services Ltd.
Additional Resources
New Quick Reference Guide
ACL Support Center
ACL Technical Support
ACL Training
• ACL 105, Foundations of ACL and 303, Functions and
Scripts
Copyright © 2011 ACL Services Ltd. 26ACL Services Ltd.
Additional Resources
ACL Consulting
Team of subject matter experts and technical consultants
with access to thousands of analytic tests
Implementation methodology supports both onsite and
remote solution development
Expertise across a variety of industries
Next ACL Bootcamp
Thursday, February 16, 2012
Exercise 5: Power Lifting Report
Files
Register at acl.com/bootcamp