One of the following roles is required to access this query: Website Full, Attendance Full, Attendance Read, Admin Full, Admin Read.
This DAT Query lists each enrolled student with Total Days, Absent, Tardy, Present and Attendance Rate for the current school year, based on Daily Attendance. Total Days is the number of In School days on the Daily Rotation of the student's division that fall inside the current marking periods, up to today.
Absent is the number of distinct dates with a daily attendance record whose attendance code has a Historical Meaning of Absent Excused or Absent Unexcused. Tardy is the number of distinct dates with a code whose Historical Meaning is Late Excused or Late Unexcused. The Historical Meaning of each code is set in Security > Maintenance > Attendance Types, so the query works with any code names. Present is Total Days minus Absent, and Attendance Rate is Present divided by Total Days.
The results show Student Id, Last Name, First Name, Total Days, Absent, Tardy, Present and Attendance Rate, sorted by Student Id.
The query has no parameters, so it can be added to a dashboard as a Data Analytics Grid widget, where it shows the selected student. To report on one marking period, change the Marking Period > 0 condition on the Daily Rotation table to equal that marking period.
Note: Any absence on a date counts that date once; half-day amounts are not weighted. A student enrolled in two divisions is counted against the school days of both.