As you approach the end of your course, you may notice your grade turn to 0%. The reason for this is most likely that you passed your due date for your final exam.
Since you are required to pass the final exam in order to receive credit for your course and the system recorded a "soft" zero percent, your overall grade was affected.
Once you take and pass the final exam, your actual grade will reappear.