Go to the Administration block on the left-hand side of the screen and click on Settings.
At the bottom of the Edit course settings page, click on Completion tracking to open the drop-down menu and change Enable completion tracking from ‘No’ to ‘Yes’.
Then click on Save and display.