Hi Ola, Thanks a lot, that works great!
Regards, Robin ________________________________ De : olati...@gmail.com [olati...@gmail.com] de la part de Ola Hodne Titlestad [ol...@ifi.uio.no] Envoyé : jeudi 22 janvier 2015 12:41 À : Robin Martens Cc : dhis2-us...@lists.launchpad.net; 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" <mart...@sher.be<mailto:mart...@sher.be>> 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@lists.launchpad.net<mailto:dhis2-devs@lists.launchpad.net> Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp