# Get Empowered: Review Window and the Processing Method | Tip #90, Custom Fields

By October 11, 2018

## Tip #90: Creating Custom Fields in Empower (Part 9)

Welcome back to Get Empowered! In the last Empower tip-of-the-week post for Empower Chromatography Data Software, we learned how to modify a Custom Field that applies to specific samples and/or specific peaks (Tip #89).

Creating Custom Fields in Empower:

• #82: The basic steps on creating a Custom Field
• #83: How to create a Custom Sample Set Field
• #84: How to create a Component Custom Field
• #85: How to create a Peak Custom Field
• #86: How to copy a Custom Field from one project to another
• #87: How to modify a Custom Field
• #88: How to create a Result Custom Field
• #89: How to modify a Custom Field that applies to specific samples and/or specific peaks

What if we had specific criteria that must be met for our samples to pass? How can we use Empower Software to evaluate whether the sample meets these criteria? If we use Boolean logic in a Custom Field, we can accomplish this quite easily.

This week we will learn how to to use Empower to evaluate whether the sample meets specific criteria (Part 9).

Let’s get started.

### Step 1

Let’s review the result from Tip #89. For sample A, we see the Ethyl Paraben peak has a %Area of 36.18% (Figure 1). What if our criterion was that the %Area for the peak of interest must be greater than or equal to 35% to pass?

Figure 1

### Step 2

Create a Peak field and set the data type to ‘Bool’, short for Boolean (Figure 2). Boolean logic allows us to create a yes/no question, which is translated into 1/0. We can have the ‘1’ translated to pass and the ‘0’ translated to fail.

Figure 2

### Step 3

Now set the Sample Type to ‘Unknowns Only’ as we will perform this test only on our samples (Figure 3).

Figure 3

### Step 4

The syntax for the formula is Operator(Field,Value). The ‘operator’ is a mathematical operator, the ‘field’ is the Empower field we wish to evaluate, and the ‘value’ is the numerical value. In this case, we want Empower to determine whether the %Area for our peak is greater than or equal to 35%. I used the CCompRef1 peak rather than spelling out the actual peak name because the name must match the spelling in the processing method or the Custom Field will not work (Figure 4).

Figure 4

### Step 5

Translation Definition table is where we can translate the yes/no (Figure 5).

Figure 5

### Step 6

Change the ‘yes/no’ to ‘pass/fail’ (Figure 6).

Figure 6

### Step 7

Reprocess the data. Now for Sample A, we see the sample passes (Figure 7).

Figure 7

### Step 8

Sample B fails because the %Area is only 32.45%, below 35% (Figure 8).

Figure 8

It’s that easy!

Final Note: This procedure can be followed using the QuickStart or Pro interface.

Please rate this Empower Tip of the Week

Next week in Empower Tip #91 – We’ll continue our series on Custom Fields.

### More resources

Do you want Empower Tips sent to your inbox every week?

Questions? Tips of your own? Let us know!

Categories: Empower Tips