Summation Report bug?

I have a summation report with bar chart number of cases by date (day).

The results table shows duplicate and missing dates.

I did a show query and when I cut and paste the sql in mysql workbench on the same database instance I get different results from what I see in the report.

Any thoughts on why reports does not have the correct data?

Note 3/10 has 43 cases and 3/9 has 65 cases in MySql

while on the report

3/10 is there twice with 50 and 43 cases respectively

Similarly for 3/5 and 3/6.

From MySql:

cases.jpg

From Report:

fromReport.jpg

thanks,
FrancescaS

Parents Reply
  • Hello.

    I can confirm there is something amiss. At first i didn't see it

    My GMT offset is +2 . So I created 2 issues let's say on 10/03/2016 both at the same hour mid day. When i run the report from my user they show up good.

    Changed one of them to 10/03/2016 close to midnight at 23:45 , ran the report again that case get's moved  to the next day on 11/03 at 01:45 (date_entered + user gmt offset) however these items should stack up with the other items on the same day which they don't ..... the offset one get a different count ... Guess you could mitigate this by doing the summation on a date field instead of a datetime one ?

    reportthing.png

    So looking at your data can make a guess that those 43 cases were possibly made on the 09/03  ?

Children