dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #06170
Re: [Dhis2-devs] Aggreration query for single event without registration
Hi Ola,
Thanks a lot, that works great!
Regards,
Robin
________________________________
De : olatitle@xxxxxxxxx [olatitle@xxxxxxxxx] de la part de Ola Hodne Titlestad [olati@xxxxxxxxxx]
Envoyé : jeudi 22 janvier 2015 12:41
À : Robin Martens
Cc : dhis2-users@xxxxxxxxxxxxxxxxxxx; dhis2-devs
Objet : Re: [Dhis2-devs] Aggreration query for single event without registration
Robin,
We have a feature to get number of events for a given program stage.
Two options need to be set:
1) Operator, at the top of the page, need to be 'Number of visits'
2) Under the Program tab, select 'Visited selected program stage'
The formula will then be on this format :
[PS:391]
With 391 being the internal id of the program stage.
That should give you the total number of events for your single event without registration program.
Ola
------
21. jan. 2015 10:37 skrev "Robin Martens" <martens@xxxxxxx<mailto:martens@xxxxxxx>> følgende:
Hi all,
Is it possible in the Aggregation Query Builder to use the "Number of tracked entities" operator to calculate a number of events, especially when it concerns Single events without registration?
I tried it and although it finds the events based on the conditions, it always returns 0 as a value.
Regards,
Robin
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
References