# ERROR: column "yearly" does not exist\`

**URL:** <https://community.dhis2.org/t/error-column-yearly-does-not-exist/77499>\
**Category:** Support - Assistance technique\
**Created:** [16 October 2026 09:32 UTC](https://community.dhis2.org/t/error-column-yearly-does-not-exist/77499 "2026-10-16T09:32:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephan\_Mestach](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/stephan_mestach/32/40053_2.png) [@Stephan\_Mestach](https://community.dhis2.org/u/Stephan_Mestach)\
**Post date:** [16 October 2026 09:32 UTC](https://community.dhis2.org/t/error-column-yearly-does-not-exist/77499/1 "2026-10-16T09:32:06Z")

</div>

We have failing analytics generation, it was nearly empty dhis2 2.43.1, just a program.  
We rolled back to 2.42

I suspect the analytics assume that there’s always a yearly column but wasn’t added automatically ? (ex an aggregate dataset yearly ?)

```auto
`2026-10-15 11:52:34 WARN RecordingJobProgress:583 - [ANALYTICS_TABLE fTgZi5X1zSP] Process aborted after 14.518s: aborted after error: StatementCallback; bad SQL grammar [create unlogged table "analytics_event_doautss2tjd_2025_temp" (check(yearly = '2025')) inherits ("analytics_event_doautss2tjd_temp");]`
`...`
`Caused by: org.postgresql.util.PSQLException: ERROR: column "yearly" does not exist`

```

---

<div class="post-metadata">

**Author:** ![malekpour](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/malekpour/32/48181_2.png) [@malekpour](https://community.dhis2.org/u/malekpour)\
**Post date:** [16 October 2026 14:02 UTC](https://community.dhis2.org/t/error-column-yearly-does-not-exist/77499/2 "2026-10-16T14:02:31Z")

</div>

Hi Stephan,

We had a similar issue with 43.x versions. It turned out that `yearly` which is selected by default for “Period types available in analytics apps” in the System Settings → Analytics is not actually selected! So, to resolve the issue, select some other periods like `monthly` in addition to `yearly` and then regenerated the analytical tables in the Maintenance.

 ![image](https://dhis2.b-cdn.net/uploads/default/original/3X/1/8/1835e7b7dbfceaebb0626ecd0a34c38be605a1d3.png)

I haven’t reported this bug on JIRA yet, as I already have multiple outstanding tickets awaiting a response, and I’m concerned about adding another one to the queue without progress on the existing issues.

---

<div class="post-metadata">

**Author:** ![Shurajit\_Dutta](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/shurajit_dutta/32/31781_2.png) [@Shurajit\_Dutta](https://community.dhis2.org/u/Shurajit_Dutta)\
**Post date:** [16 October 2026 18:26 UTC](https://community.dhis2.org/t/error-column-yearly-does-not-exist/77499/3 "2026-10-16T18:26:37Z")

</div>

Sorry you have had this issue.

After facing it myself I am taking it forward to the team.

---

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [2 November 2026 05:36 UTC](https://community.dhis2.org/t/error-column-yearly-does-not-exist/77499/4 "2026-11-02T05:36:48Z")

</div>

Hi  
Just an update, Shurajit has created a ticket for this issue which you can watch to receive updates when it’s done: [DHIS2-22328 - Yearly analytics disabled by default on new blank v43 instances](https://dhis2.atlassian.net/browse/DHIS2-22328)

Thanks!
