Using Enum for calculations
Posted: Fri Dec 16, 2011 4:16 pm
I'm trying to get empower to calculate results based on what type of sample I give each sample in an enumerated custom field. We run different samples (CU, Assay, in-process samples) at the same time sometimes, and thought that this would be the easiest way to get the results to show in the report nicely. I'm not sure what the format of the equation I would put into the custom field.
I have made custom fields for sample type and each different result calculation, but would like it to report the final result based off what sample it is (like an if/then statement in excel). I'm kind of new to custom fields, so if there is an easier way to do it I would be open to suggestions.
I have made custom fields for sample type and each different result calculation, but would like it to report the final result based off what sample it is (like an if/then statement in excel). I'm kind of new to custom fields, so if there is an easier way to do it I would be open to suggestions.