I’m trying to create a program Indicator that should count the number of enrolments that have at least one event in the specific stage.
The expression and the filter feel well formed but the program Indicator isn’t working.
I’m trying to create a program Indicator that should count the number of enrolments that have at least one event in the specific stage.
@Gomado Welcome to the community and thank you for your question! I will work on assisting you by contacting the @tracker-programRules group.
Hey @Gomado !
You can try this:
Aggregation type=Count
Analytics type=Event
Expression=V{enrollment_count}
Filter=V{program_stage_id}=‘idofprogramstagetocheck’
The expression V{enrollment_count} makes sure that within each period each enrollment is only counted once, even if there might be several events for one enrollment. See docs here.
Markus