Advertisement

Pass / fail in Empower 3 report

Discussions about chromatography data systems, LIMS, controllers, computer issues and related topics.

5 posts Page 1 of 1
Does anyone know of a way to add a PASS / FAIL column in my report for a sample set with multiple batches and multiple specifications?

I have a report that summarizes results per batch.
Thanks in advance!
Create a custom field that contains your average result.

For example, say you have a % Label Claim specification that is 90-110%.

1. Create a custom field that calculates the label claim.
2. Create a custom field that averages label claim for the samples you want.
3. Create an ENUM Peak Type field that sets your specification and translates to Pass / Fail.

Example:

1+2: SAME.%.%.AVE((Amount/LC)*100) custom field called AVE_LC
3. ENUM((LTE(AVE_LC,89.49)),(RANGE(AVE_LC,89.5,110.49)),(GTE(AVE_LC,110.5))) called Accept

The following values and translations are used for the ENUM field above:

Value Translation
0 FAIL
1 PASS
2 FAIL

Here is the logic:

LTE(AVE_LC,89.49) = average label claim less or equal to than 89.49. When displayed to a whole decimal specification as I noted above, the result is 89%, which is below your lower limit. This results in a FAIL.

RANGE(AVE_LC,89.5,110.49) = average in the range of 89.5-110.49. When displayed as a whole decimal specification the resulting range is 90-110. This results in a PASS.

GTE(AVE_LC,110.5) = average label claim greater than or equal to 110.5. When displayed to a whole number specification as noted, the result is 111. This results in a FAIL.

The trick of this is your ENUM field needs to be written to two decimals more than your specification in order to avoid potential failures/passes as a result of rounding rules.

To include multiple batches it comes down to sample label. The (SAME.%.%.AVE(Amount/LC)*100) will group samples and average in accordance with samples given the SAME label in the sample set method.

To include multiple specifications it comes down to how that LC field in the equation above is setup. You can make it a user entry field in the sample set method. The user enters their value unique to their sample. This works well enough. The extra step would be to create a drop down list in the sample set that the user selects a value from (this will reduce error). This drop down list is an ENUM field. The ENUM field i have listed in step three becomes a little more complicated as you have to have a component for each selection.

For example, say the user selectable %LC field in the sample set is called Potency and has a value of 2 or 4: ENUM((EQ(Potency,2))&(LTE(AVE_LC,89.49))|((EQ(Potency,4))&(LTE(AVE_LC,89.49)).

In the exmaple above we have Poetncy=2 AND average LC less than or equal to 89.49 OR Potency=4 AND average LC less than or equal to 89.49 results in a FAIL.



P.S. I consult companies for Empower customization similar to this on the side if you are interested. Reach out to me over forums if interested.
Ok your explanation is clear to me. Thanks a lot!

I've been playing around with the custom field to accomplish a pass/fail result. But somehow I don't get the PASS FAIL to show in my report. I've followed the followed steps (simplified from your version):

1. Created a Sample Field, real(0.0), called "LabelClaim", so the user may enter the label claim
(e.g., 1200 when the expected value is 1200 IU/mg)

2. Created a Peak Field, real(0.0), called "Percent_Labelclaim" with formula: Amount/LabelClaim*100
(e.g., if my result is 1100 this should give 91.7%)

3. Created a Peak Field, Boolean, called "PASSFAIL" with formula: RANGE(Percent_LabelClaim,89.46,110.49) with 0: Fail and 1: Pass
(91.7% should be reported as PASS)

4. Added a "PASSFAIL" column in my report, but this column contains nothing. (Percent_LabelClaim won't show anything either)
Hi

This seems a lot of work for a simple pass fail criteria.

Is empower 3 still using this language/algorithms?..old school Millenium 32/empower

Chromeleon can do this sort of thing in seconds, with trending or query plots where requried
I failed to mention that because of the SAME.%.%.AVE((Amount/LC)*100) custom field you need to put "Summarize Custom Fields" as a function at the end of the sample set.

I apologize for the oversight.
5 posts Page 1 of 1

Who is online

In total there are 12 users online :: 0 registered, 0 hidden and 12 guests (based on users active over the past 5 minutes)
Most users ever online was 4374 on Fri Oct 03, 2025 12:41 am

Users browsing this forum: No registered users and 12 guests

Latest Blog Posts from Separation Science

Separation Science offers free learning from the experts covering methods, applications, webinars, eSeminars, videos, tutorials for users of liquid chromatography, gas chromatography, mass spectrometry, sample preparation and related analytical techniques.

Subscribe to our eNewsletter with daily, weekly or monthly updates: Food & Beverage, Environmental, (Bio)Pharmaceutical, Bioclinical, Liquid Chromatography, Gas Chromatography and Mass Spectrometry.

Liquid Chromatography

Gas Chromatography

Mass Spectrometry