← Back to team overview

dhis2-devs team mailing list archive

Event Reports/ Visualizer: applying a filter for Data Elements of type Y/N removes all records on event reports

 

Tested on DHIS 2.22/ r 22016, 2.20 r22027 and 2.23 r22905
You can try this at play.dhis2
<https://play.dhis2.org/demo/dhis-web-event-reports/index.html>

*Problem*: when a Data Element (tracker) of type Yes/No is used to filter
the data in Event Reports or Event Visualiser, nothing gets returned.

*Exhibit 1:* Event Report, *no filters* applied: *data is displayed
correctly*
[image: Inline images 1]


*Exhibit 2:* Event Report, *filters applied*: *One of "Yes"* *- no data is
returned*
[image: Inline images 4]

*Details of the data element used for the example above: * MCH BCG dose
<https://play.dhis2.org/demo/dhis-web-maintenance/#/edit/dataElementSection/dataElement/bx6fsa0t90x?_k=5bk7wv>
 (any Yes/No data element will show the same problem)
[image: Inline images 3]


Rodolfo

PNG image

PNG image

PNG image


Follow ups