// the way this is calculated is by subtracting each value from the
// total remaining output
// and calculating the averageOutput based on the remaining output and
// the remaining periods
for (int i = 0; i < orientationRow.getNumberValues(); i++) {
dataRow.addValue(orientationRow.getLabel(i), remainingAverageOutput);
Double doneValue = referenceRow.getValue(orientationRow.getLabel(i));
if (doneValue != null) {
remainingOutput = remainingOutput - doneValue;
}
count--;