Hi
I’m running some queries on tracker analytics table, and noticed that “count(distinct tei)” and “count(distinct psi)” return slightly different values on a sql query.
Using “psi” gives me bigger values, but I’ve seen people using “tei” on queries.
So, I would like to understand why do both get me different results? On which situations one would be more appropriate to use?
I believe that psi stands for program stage instance, and tei stands for tracked entity instance.
The queries are to fetch events from a tracker program.
I’m using version 2.39.5
Best regards
1 post - 1 participant