Filter Configurable report by Cohort Name/ID

Re: Filter Configurable report by Cohort Name/ID

by Randy Thornton -
Number of replies: 2
Picture of Documentation writers

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.


In reply to Randy Thornton

Re: Filter Configurable report by Cohort Name/ID

by Davi DePaula -

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.