I've been working on some reports on students attendance recently and I'm happy to share the queries once I've finished testing. I'd like to add the percentage column in one of my reports but this value is not stored somewhere in the database as far as I can see. I know it's being calculated somewhere in the php files of the module but there should be a way to show this in a report too.
Does anyone know how can I get this value for each student?
Thanks in advance and well done for the excellent work!