I created a very simple query using the wonderful queries on the ad-hoc contributed reports page.
I am using the %%FILTER_COURSEENROLLEDSTUDENTS%% statement to limit the data to only enrolled students.
This was working swell, until I removed one of the existing students from the cohort.
The Moodle core reports, Activity Completion, Course Completion, Participants and Grades all have the correct number of students.
My query however, has the "extra" student that was removed from the cohort.
How do I get the queries to align to the current enrolled students after the cohort has been modified?
Kind Regards