}
private AbstractDataTable getAbstractTable(final double factor) {
Map<Integer, Double> result = getSampleData();
DataTable data = DataTable.create();
data.addColumn(ColumnType.NUMBER, "Real revenue created by foo");
data.addColumn(ColumnType.NUMBER, "Real overall revenue");
data.addColumn(ColumnType.NUMBER, "Real overall expenses");
data.addColumn(ColumnType.NUMBER, "Simulated Revenue for foo");
data.addColumn(ColumnType.NUMBER, "Simulated overall revenue");
// data.addColumn(ColumnType.NUMBER, "Similated additional revenue");
data.addRows(result.keySet().size());
int row = 0;
for (final Integer x : result.keySet()) {
int col = 0;
final double realRevenue = overallRevenue.get(x) - realExpenses.get(x);
final double realRevenueFromFoo = Math.floor(result.get(x));
final double simulatedRevenueFromFoo = factor * realRevenueFromFoo;
final double additionalRevenue = simulatedRevenueFromFoo - realRevenueFromFoo;
data.setValue(row, col++, realRevenueFromFoo);
data.setValue(row, col++, realRevenue);
data.setValue(row, col++, realExpenses.get(x));
data.setValue(row, col++, simulatedRevenueFromFoo);
data.setValue(row, col++, realRevenue + additionalRevenue);
// data.setValue(row, col++, additionalRevenue);
row++;
}