diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php
index 6c9c55d10d..660c8137a3 100644
--- a/pandora_console/include/functions_reporting.php
+++ b/pandora_console/include/functions_reporting.php
@@ -3973,7 +3973,7 @@ function reporting_value($report, $content, $type,$pdf) {
$value .= '
'. date("Y-m-d H:i:s", ($i-$content["lapse"]+1)).' to '.date("Y-m-d H:i:s",$i).' | ';
if($i>$time_begin['utimestamp']){
- $value .= format_for_graph(reporting_get_agentmodule_data_min(
+ $value .= format_for_graph(reporting_get_agentmodule_data_max(
$content['id_agent_module'], $content["lapse"], $i), $config['graph_precision']) . ' ' . $unit.' |
';
}
else{