} else {
DataProperty _prop = dataProp.cloneProperty();
_result.addProperty(_prop, j);
// The values for other columns is a scalar function applied on the interval's values.
ScalarFunctionManager scalarFunctionManager = DataProviderServices.lookup().getScalarFunctionManager();
ScalarFunction function = scalarFunctionManager.getScalarFunctionByCode(functionCodes[j]);
for (Interval interval : intervals) {
Double scalar = calculateScalar(interval, dataProp, function);
_result.addRowValue(j, scalar);
}
// After calculations, ensure the new property domain is numeric.