Program indicators using incident date

Hello community,

We recently upgraded to v42 and had a few program indicators stop working :frowning:

Previously, we had a program indicator that counted days between the incident date and a date type data element in one of two non-repeatable program stages. The PI was set up using the event analytics type with an expression of d2:daysBetween(V{incident_date},#{stage_uid.de_uid}) and a filter of d2:hasValue(#{stage_uid.de_uid}).

In version 42.4, the same PI set up is now calculating as 0 for most periods.

I’m able to re-create the PI as an enrollment type PI but I would like to avoid this if possible as these types of PI typically do not perform well in data viz apps.

Any advice? Thank you!!