diff --git a/core/API/DataTableManipulator/ReportTotalsCalculator.php b/core/API/DataTableManipulator/ReportTotalsCalculator.php index 360157df62a1fceb3ef6d2bdd695683d2169e0e5..d2ed38db7dd252fbb0c280400b10ddf86b799f52 100644 --- a/core/API/DataTableManipulator/ReportTotalsCalculator.php +++ b/core/API/DataTableManipulator/ReportTotalsCalculator.php @@ -55,7 +55,7 @@ class ReportTotalsCalculator extends DataTableManipulator { $report = $this->findCurrentReport(); - if (!empty($report) && $report->getDimension()) { + if (!empty($report) && !$report->getDimension()) { // we currently do not calculate the total value for reports having no dimension return $dataTable; }