acl bootcamp exercise 4: computed fields cross-training

27
Copyright © 2011 ACL Services Ltd. EXERCISE 4: Computed Fields Cross-Training

Upload: acl-services

Post on 25-Jun-2015

1.646 views

Category:

Technology


6 download

TRANSCRIPT

Page 1: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

Copyright © 2011 ACL Services Ltd.

EXERCISE 4:

Computed Fields

Cross-Training

Page 2: ACL Bootcamp 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

Page 3: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 4: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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)

Page 5: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 6: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

Copyright © 2011 ACL Services Ltd. 6ACL Services Ltd.

What are we using them for today?

Cleansing

Recalculating

Fuzzy matching

Page 7: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

Copyright © 2011 ACL Services Ltd. 7ACL Services Ltd.

Clean Your Data

Page 8: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 9: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

Copyright © 2011 ACL Services Ltd. 9ACL Services Ltd.

Let’s see a Demo

Page 10: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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()

Page 11: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 12: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

Copyright © 2011 ACL Services Ltd. 12ACL Services Ltd.

Let’s see a Demo

Page 13: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

Copyright © 2011 ACL Services Ltd. 13ACL Services Ltd.

Conditional Computed Fields

In creating a Conditional Computed Field, consider:

Conditions

Value

Default Value

Page 14: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 15: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

Copyright © 2011 ACL Services Ltd. 15ACL Services Ltd.

Let’s see a Demo

Page 16: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 17: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 18: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 19: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

Copyright © 2011 ACL Services Ltd. 19ACL Services Ltd.

Let’s see a Demo

Page 20: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 21: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 22: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 23: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 24: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

Copyright © 2011 ACL Services Ltd. 24ACL Services Ltd.

Q & A

Page 25: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 26: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

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

Page 27: ACL Bootcamp Exercise 4: Computed Fields Cross-Training

Next ACL Bootcamp

Thursday, February 16, 2012

Exercise 5: Power Lifting Report

Files

Register at acl.com/bootcamp