Advertisement

Custom field Empower 2 to Calculate a %diff

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

6 posts Page 1 of 1
Hi to everyone,
I am new to this forum and I would like to ask a question about a custom field calculation in Empower 2.
All I wanna do is to calculate a percertange between ten averaged amount values and the single values which contributes the averaged value. Matematically I mean:

a1 = 2.222
a2 = 2.225
a3 = 2.224
a4 = 2.226
a5 = 2.221
Average=2.2236

%1= a1/Averaged_Amount *100
%2= a2/Averaged_Amount *100

How can I setup a custom field in Empower 2 to do this operation? What formula shall I write in the custom field to obtain the percentage result for each injected sample?

Thanks a lot in advance for your help
Empower does this automatically for standards, I think it's called Deviation. See if you can find that field and apply it to same labeled samples...
Thanks,
DR
Image
Thanks a lot for your answer, today I did several trials and it looks like that the %Difference is only for the standards.
The empower help says that to do my calculation I have to introduce an intersample custom field. However I do not know how to write the formula. I am struggling to find infos to how to build the formula string in Empower, if you could pass that it would be a real benefit for me.
In any case thanks a lot for your help
Use sample labels from within Empower.

Give all samples a label that will be made the same with a single wild card. For example, SMPX will allow for 0-9 samples using X as a single wild card. You want to use the partial (re: single character) wildcard here (?) for the sample label. You would use SMP1, SMP2, SMP3 ... SMP9, as the labels in your actual sample set method.

Two custom fields:

SMP_Average: SMP?.%.%.AVE(Area)

SMP_Difference: (SAME.%.%.(Area)/SMP_Average)*100

Because of the use of summary functions in custom fields, you will need to have "summarize custom fields" as the last line in your sample set method.
If that does not work, then try to use the same sample label for all the samples (SMP1, for example).

The custom fields then become:

SMP_Average: SMP1.%.%.AVE(Area)

SMP_Difference: (%.%.%.(Area)/SMP_Average)*100
If that does not work, then try to use the same sample label for all the samples (SMP1, for example).

The custom fields then become:

SMP_Average: SMP1.%.%.AVE(Area)

SMP_Difference: (%.%.%.(Area)/SMP_Average)*100
Thanks a lot I solved my problem with this. You were very kind guys to help me in this.
6 posts Page 1 of 1

Who is online

In total there are 37 users online :: 2 registered, 0 hidden and 35 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: Amazon [Bot], peter36.england and 35 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