Hi community,
I am running v2.36 and problem is that data from 2025 is not shown in analytics. I search on the tables and the table _dateperiodstructure doesnt have any entry for 2025.
Does anyone have the same problem this year?
Thanks
William
Hi community,
I am running v2.36 and problem is that data from 2025 is not shown in analytics. I search on the tables and the table _dateperiodstructure doesnt have any entry for 2025.
Does anyone have the same problem this year?
Thanks
William
Hi @waviles
Welcome back to the community!
How are you generating the analytics tables? Using the regular analytics tables export from the Data Administration app? Are you seeing any errors in the Catalina.out log?
Iām wondering if this is related to this recent issue: https://dhis2.atlassian.net/browse/DHIS2-18738 but Iāll need to ask the team as well.
Please share as much more information if thereās anything additional that could help with the debugging. Thank you!
Hello @Gassim
Yes, trying to generate the analytics using the Data Administration App. No errors in the log file.
What I could notice is that analytics tables are generated for 2025 but no records are generated for the _dateperiodstructure table this year.
Best
William
Hi all
New piece of information, when trying to get the data from event reports using fixed periods i got this in the browser log:
{
āhttpStatusā: āInternal Server Errorā,
āhttpStatusCodeā: 500,
āstatusā: āERRORā,
āmessageā: āorg.springframework.validation.BeanPropertyBindingResult: 2 errors\nField error in object āeventsAnalyticsQueryCriteriaā on field āendDateā: rejected value [10-01-2025]; codes [typeMismatch.eventsAnalyticsQueryCriteria.endDate,typeMismatch.endDate,typeMismatch.java.util.Date,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [eventsAnalyticsQueryCriteria.endDate,endDate]; arguments ; default message [endDate]]; default message [Failed to convert property value of type ājava.lang.Stringā to required type ājava.util.Dateā for property āendDateā; nested exception is java.lang.IllegalArgumentException: Invalid format: "10-01-2025" is malformed at "25"]\nField error in object āeventsAnalyticsQueryCriteriaā on field āstartDateā: rejected value [01-01-2025]; codes [typeMismatch.eventsAnalyticsQueryCriteria.startDate,typeMismatch.startDate,typeMismatch.java.util.Date,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [eventsAnalyticsQueryCriteria.startDate,startDate]; arguments ; default message [startDate]]; default message [Failed to convert property value of type ājava.lang.Stringā to required type ājava.util.Dateā for property āstartDateā; nested exception is java.lang.IllegalArgumentException: Invalid format: "01-01-2025" is malformed at "25"]ā
}
Thanks
William
Hi @waviles
Thank you for the updates and the information. This information and logs are helpful in debugging the issue. I still see that it could be related to the ticket issue but Iāll keep it as a separate post.
For now Iāve merged all the related topics here: Capture Data not reflecting on analytics app - #24
Does any of the posts seem relevant?
Thank you!