Event analytics include unenrolled TEIs

​Hi devs,

api/analytics/events/query/MmGml1Gyb7K?dimension=l0WWFNEMoQZ:EQ:1&startDate=1992-08-16&endDate=2016-12-12&dimension=ou:GYBZ1og9bk7

I am calling above api end point to get some analytics about a program. But it consider unenrolled TEIs for the generation of results. It gives the same result unless I completely delete the TEI. Is there any parameter that can be set i n order to eliminate the unenrolled TEIs from the results?

Thanks in advance.

Regards,

Chathura Widanage

Undergraduate,

Department of Computer Science and Engineering,

University of Moratuwa,

Sri Lanka

Thanks Jan.

···

On Tue, Sep 13, 2016 at 1:53 PM, Jan Henrik Øverland jan@dhis2.org wrote:

And here: https://blueprints.launchpad.net/dhis2/+spec/event-analytics-event-status-filter

On 13 September 2016 at 10:18, Jan Henrik Øverland jan@dhis2.org wrote:

Not possible at the moment, but we will consider a filter to allow for this.

Blueprint here: https://blueprints.launchpad.net/dhis2/+spec/event-analytics-program-status-filter

Jan


Jan Henrik Øverland

Software developer, DHIS 2

University of Oslo

http://www.dhis2.org

On 9 September 2016 at 12:58, chathura widanage chathurawidanage@gmail.com wrote:

​Hi devs,

api/analytics/events/query/MmGml1Gyb7K?dimension=l0WWFNEMoQZ:EQ:1&startDate=1992-08-16&endDate=2016-12-12&dimension=ou:GYBZ1og9bk7

I am calling above api end point to get some analytics about a program. But it consider unenrolled TEIs for the generation of results. It gives the same result unless I completely delete the TEI. Is there any parameter that can be set i n order to eliminate the unenrolled TEIs from the results?

Thanks in advance.

Regards,

Chathura Widanage

Undergraduate,

Department of Computer Science and Engineering,

University of Moratuwa,

Sri Lanka


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

Jan Henrik Øverland

Software developer, DHIS 2

University of Oslo

http://www.dhis2.org

Best Regards,

Chathura Widanage,

Undergraduate,

Department of Computer Science and Engineering,

University of Moratuwa,

Sri Lanka