(301) 947-7380
99.987% uptime·0 security breaches·Since 1989·Built and supported in the U.S.

Standard Query: Admin - Attendance: Period Attendance Codes by Class

Posted September 27, 2026

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 student and course section with one column per attendance code, holding the number of Period Attendance records with that code in the current school year. The columns come from the Attendance Description field with the Pivot (Auto) role, so they match the codes in use at your school. A record counts when its date is a Daily Rotation day inside the current marking periods for the student's division.

The results show Student Id, Last Name, First Name, Course Name, Section, Term, Class Schedule, Teacher Last Name and Teacher First Name, followed by one column per attendance code, sorted by Student Id.

The query has no parameters, so it can be added to a dashboard as a Data Analytics Grid widget. To report on one marking period, change the Marking Period > 0 condition on the Daily Rotation table to equal that marking period.

Note: Pivot (Auto) builds the columns from the rows that match the query's conditions, so on a student dashboard only the codes that student has appear. To show the same columns on every run, change the Role of the Attendance Description field from Pivot (Auto) to Pivot and add an Attendance Description condition that lists the codes to show.


See also
·

Was this article helpful?

Your feedback goes to the team that maintains this article.

Thanks. We use this to improve the article.

Still have questions?

Live chat is staffed weekdays 8 am to 7 pm ET. Tickets get a response within one business day.

Open a ticket

New to PCR Educator?

If you landed here from a search and want to see what PCR Educator can do, the demo is the fastest way in. Thirty minutes, no commitment.

PCR Educator
School Operations Platform

One platform for K-12 schools, higher education, performing arts institutions, and health science programs since 1989.

PCR Educator on Capterra: 4.7 out of 5 stars
Platform
    Solutions
      Resources
        Company
          © 1989-2026 PCR Educator, Inc.Austin, TX · U.S.A. · (301) 947-7380