However, there could be a workaround. Given that you have a numerical data element which is always filled for the stage, can use the event count variable in the expression:
V{event_count}
and use that data element in the expression where you filter on a a value greater > 0, e.g.
#{A03MvHHogjR.wQLfBvPrXqq} > 0
This way, the filter will filter out event which do not have a value for that data element in that stage.
However, there could be a workaround. Given that you have a numerical data element which is always filled for the stage, can use the event count variable in the expression:
V{event_count}
and use that data element in the expression where you filter on a a value greater > 0, e.g.
#{A03MvHHogjR.wQLfBvPrXqq} > 0
This way, the filter will filter out event which do not have a value for that data element in that stage.
the reason you are not seeing the program indicator in tracker capture for the particular TEI below is the program indicators filter. There is a shortcoming when combining the filters with indicators shown in the data entry form. Working on fixing this, but in the meantime we can probably help with a workaround in the data entry form.
Did you want to show the number of events of the “Contact” program stage, assuming there is other program stages that you do not want to count events from?
However, there could be a workaround. Given that you have a numerical data element which is always filled for the stage, can use the event count variable in the expression:
V{event_count}
and use that data element in the expression where you filter on a a value greater > 0, e.g.
#{A03MvHHogjR.wQLfBvPrXqq} > 0
This way, the filter will filter out event which do not have a value for that data element in that stage.
Yes, I want to have the number of events of a specific program stage as a program indicator (hide or show in the tracker capture) because later this program indicator will be used to calculate other indicators.
I’ve try what Lars suggest me to do that’s why you see the example in the demo but it doesn’t work.
Hi there Ramaso,
the reason you are not seeing the program indicator in tracker capture for the particular TEI below is the program indicators filter. There is a shortcoming when combining the filters with indicators shown in the data entry form. Working on fixing this, but in the meantime we can probably help with a workaround in the data entry form.
Did you want to show the number of events of the “Contact” program stage, assuming there is other program stages that you do not want to count events from?
However, there could be a workaround. Given that you have a numerical data element which is always filled for the stage, can use the event count variable in the expression:
V{event_count}
and use that data element in the expression where you filter on a a value greater > 0, e.g.
#{A03MvHHogjR.wQLfBvPrXqq} > 0
This way, the filter will filter out event which do not have a value for that data element in that stage.