dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #14077
Re: Programme indicator - Days between
Nevermind, I managed to figure it out!
Terence Scott
Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee
terence.scott@xxxxxxxxxxxxxxxxxx
https://paracon.rabiesalliance.org
Skype: tpscott1987
*World Rabies Day *is on* September 28th 2017*
Take action: you can register your World Rabies Day event, nominate someone
for the WRD Awards and find out more here
<https://rabiesalliance.org/world-rabies-day/>
Don't forget to tweet us using #worldrabiesday
On Fri, Aug 25, 2017 at 3:08 PM, Terence Scott <
terence.scott@xxxxxxxxxxxxxxxxxx> wrote:
> Dear All
>
> I have been attempting to create a programme indicator for a tracker with
> registration that calculates the number of days since the incident (i.e.
> the current date - the incident date).
>
> I have tried the following:
>
> d2:daysBetween(V{incident_date},V{current_date})
>
> I have also switched around the incident date and the current date as I
> thought I may have gotten this wrong. The indicator shows up in the
> programme under the indicators widget but the output is always "0". Clearly
> I have done something wrong, but I just can't seem to identify what it is.
>
> Any help would be appreciated.
>
> Kind regards,
> Terence
>
>
> Terence Scott
>
> Global Alliance for Rabies Control (GARC)
> Pan-African Rabies Control Network (PARACON) Steering Committee
> terence.scott@xxxxxxxxxxxxxxxxxx
> https://paracon.rabiesalliance.org
> Skype: tpscott1987
>
> *World Rabies Day *is on* September 28th 2017*
>
>
>
> Take action: you can register your World Rabies Day event, nominate
> someone for the WRD Awards and find out more here
> <https://rabiesalliance.org/world-rabies-day/>
> Don't forget to tweet us using #worldrabiesday
>
>
Follow ups
References