Make sure that variables are activated in your report template (see In Report Properties, select the Calculation Variables page.).
Add two text fields or a data fields to the template.
Select the two fields
and click
to create a composite group.
Repeat the composite group on Sample_Name.
Enter a customized expression as a value for one of the fields, for example a correction factor for the sample amount: =Sample_Amount * 99
Click Save Expression Result As...
The Save Expression Result As dialog opens.
Make sure that the Variable option is selected, and enter a Calculation Variable Name, for example VarAmountCorrected.
NOTE
No special characters are allowed in the variable name.
Save your settings.
Resize the composite group to provide space for new report items.
Add a table with compound information to the composite group, for example the Compound Results table.
Add a new column to the table. Enter a customized expression as a value for the new column, for example the compound amount multiplied by the corrected sample amount: =Compound_Amount * VarAmountCorrected
base-id: 11031925515
id: 11031925515