diff --git a/application/helpers/admin/statistics_helper.php b/application/helpers/admin/statistics_helper.php index 263074f6b98..3cc6cafe73e 100644 --- a/application/helpers/admin/statistics_helper.php +++ b/application/helpers/admin/statistics_helper.php @@ -2364,7 +2364,7 @@ protected function displayResults($outputs, $results, $rt, $outputType, $surveyi $this->sheet->writeNumber($this->xlsRow,1,$grawdata[$i]); $this->sheet->writeNumber($this->xlsRow,2,$percentage/100, $this->xlsPercents); if ($aggregatedPercentage !== 'na') { - $this->sheet->writeNumber($this->xlsRow,3,$percentage/100, $this->xlsPercents); + $this->sheet->writeNumber($this->xlsRow,3,$aggregatedPercentage/100, $this->xlsPercents); } break;