That's not something currently supported out of the box.
If you have someone that is able to write SQL-based reports for you, it is probably possible using the custom report or ad-hoc report plugins - but this is the sort of thing I'd like to see possible via some custom reports using the new Moodle 4.0 reportbuilder feature (we'll need to write a custom report source for attendance to support it but hopefully I'll find time to do that after 4.0 release.)
If you have someone that is able to write SQL-based reports for you, it is probably possible using the custom report or ad-hoc report plugins - but this is the sort of thing I'd like to see possible via some custom reports using the new Moodle 4.0 reportbuilder feature (we'll need to write a custom report source for attendance to support it but hopefully I'll find time to do that after 4.0 release.)