← Back to team overview

dhis2-devs team mailing list archive

Re: 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> 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
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References