X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=814fbe450c8473f53b5d7d5cb1f9ce3a4b599c57;hb=4a778c818108baf64a5abe6ffd6b27a4a88a2633;hp=65bf6d562e7fbfa91723e9b63962059e81079d0d;hpb=482bb432e9607bce6cb92d41bf9e299c0e2fc288;p=csit.git diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 65bf6d562e..814fbe450c 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -595,7 +595,7 @@ def table_performance_trending_dashboard(table, input_data): else: anomaly = "normal" - if not isnan(last) and not isnan(trend): + if not isnan(last) and not isnan(trend) and trend != 0: # Change: change = round(float(last - trend) / 1000000, 2) # Relative change: