Davi,
I did a basic cohort query that shows you how they work: https://docs.moodle.org/32/en/ad-hoc_contributed_reports#Cohorts_by_user
Add that in to your logic, and then you could filter in a WHERE clause by cohort.
Davi,
I did a basic cohort query that shows you how they work: https://docs.moodle.org/32/en/ad-hoc_contributed_reports#Cohorts_by_user
Add that in to your logic, and then you could filter in a WHERE clause by cohort.
That is perfect! Thank you for your help Randy. I just used your logic and a WHERE clause in the SQL statement to filter by cohort.
Again, thank you for your help Randy.
Davi,
Glad to hear that was helpful.
Randy