Task 1. Create Expression Rules and Run the Profile
Task 1. Create Expression Rules and Run the Profile
In this task, you create two expression rules to parse the FullName column into two virtual columns named FirstName and LastName. The rule names are FirstName and LastName.
In the
Library
workspace, click the
Profile_LA_Customers
profile.
The profile results appear in summary view.
Click
Edit
.
The
Profile
wizard appears.
Click
Specify Rules and Filters
screen.
In the
Rules
pane, click
Actions
Create Rule
.
In the
Name
field, enter
FirstName
.
In the
Expression
section, enter the following expression to separate the first name from the
Name
column:
SUBSTR(FullName,1,INSTR(FullName,' ' ,-1,1 ) - 1)
Click
Validate
.
Click
OK
.
Repeat steps 4 through 8 to create a rule named
LastName
. Enter the following expression to separate the last name from the