hi all,
I am currently working on App to record Employee Absences.
It is based on SharePoint lists:
Employees
- Employee ID (text)
- First Name (text)
- Surname (text)
- Department (text)
Absences
- Employee ID (text)
- From (date)
- To (date)
- Date of return (date)
- Days (number)
- Category (text)
This reports counts occasions and days employees have been sick

Occasions are calculated using below:

Days are calculated using below:

I am looking for a way to sort this gallery by Occasions or Days so it's easier to use.