Advanced Filtering

Advanced Filtering

Overview

The Advanced Filtering option uses Compass Query Language (CQL) to enable you to search for more complex conditions outside of the Basic filter capability to generate reports of data contained in user accounts. There is the option in both Basic and Advanced Filtering to save your filters for regular ongoing access.

Once you have created your filter, you can export the data to a .csv file if required.

Permissions

Staff who have access to the People Management page (either with the PeopleManagementBase permission or UserRecordsAdmin permission) will have access to Advanced Filtering.

For information on permissions in Compass, please refer to the 'Permissions' article from our Knowledge Base.


Creating an Advanced Filter

To create an Advanced Filter, on the People Management page (under the Organisation menu) click 'Advanced'.

You can then use the available field to enter your query using Compass Query Language (CQL).
     

A query constructed in CQL will need a 'field', followed by an 'operator', followed by one or more 'values' i.e. if you are wanting to extract a list of all user accounts with the first name of 'John', the CQL query would look like this, "Firstname" = 'John'.  In this example, 'Firstname' is the field being searched, '=' is the operator and 'John' is the value.
If the query you have entered is valid, the field will change to green and you can click 'Apply' to commence the filtered search.
The results will then populate based on the query.
     

When creating a query, when you begin to type a field, it will display the list of possible fields available.
     

Once you have selected the field, it will prompt you to select the applicable operator from the available options.
     

Once you have selected the operator, depending on what field you selected, you will need to either choose the value from a list of options or type in the value (i.e. if the field is 'Title' you will see a range of possible titles to choose for the value, whereas if the field was 'Firstname' you will be able to type the name you are searching for as the value).  Please ensure if you are typing in the value that you use single or double quotation marks around the value.
     

You can create more complex queries that look for users with a combination of data by using 'keywords' i.e. you could search for users with the first name John and who were born in Australia by using "Firstname" = 'John' AND "BirthCountry" = 'Australia' as your query with 'AND' being the keyword in this query.
     


Compass Query Language Options

Available Fields:

FieldValue TypeField Content
ArrivedInCountryTimestampDateA date in dd/mm/YYYY or ddmmYYYY format
(i.e. 01/01/2001 or 01012001)
AuthenticationModeTextOne of a defined range of options
BirthCountryTextA country from a defined range of options
BirthTownTextA town from a defined range of options
CEIDERTextA sequence of entered numbers i.e. "123456789"
ContactNotesAhTextText as entered/imported
ContactNotesBhTextText as entered/imported
CustomFields.AncillaryStaffFTEFortnightlyHoursTextText as entered/imported
CustomFields.AncillaryStaffHoursTextText as entered/imported
CustomFields.CurrentTeachingYearsTextText as entered/imported
CustomFields.CurrentTeachingYearsAtCatholicSchoolsTextText as entered/imported
CustomFields.FirstDateAtDioceseTextText as entered/imported
CustomFields.StaffCustomFieldsTextText as entered/imported
CustomFields.TeachingStaffPrimaryFTETextText as entered/imported
CustomFields.TeachingStaffSecondaryFTETextText as entered/imported
DateOfBirthDateA date in dd/mm/YYYY or ddmmYYYY format
(i.e. 01/01/2001 or 01012001)
DateOfDeathDateA date in dd/mm/YYYY or ddmmYYYY format
(i.e. 01/01/2001 or 01012001)
DisabilityBooleanWill be either 'True' or 'False'
DisabilityFundedBooleanWill be either 'True' or 'False'
DoNotContactBooleanWill be either 'True' or 'False'
EmailAddressTextText as entered/imported
EmployerTextText as entered/imported
FeeModeTextOne of a defined range of options
FirstnameTextText as entered/imported
FormerLastNameTextText as entered/imported
FormerNameTextText as entered/imported
FormGroupsTextOne of a defined range of options
GenderTextOne of a defined range of options
HeadLiceCheckBooleanWill be either 'True' or 'False'
HousesTextOne of a defined range of options
ImportModeTextOne of a defined range of options
IndigenousTypeTextOne of a defined range of options
IntegrationBooleanWill be either 'True' or 'False'
InterpreterRequiredBooleanWill be either 'True' or 'False'
LanguageBackgroundOtherThanEnglishBooleanWill be either 'True' or 'False'
LastNameTextText as entered/imported
LivingArrangementsTextOne of a defined range of options
MiddleNameTextText as entered/imported
NationalityTextOne of a defined range of options
NonSchoolEducationBackgroundTextOne of a defined range of options
OccupationTextText as entered/imported
OccupationalStatusTextOne of a defined range of options
OrganisationTitlesTextOne of a defined range of options
OrganisationUserEmailTextSchool email from staff/student tab
ParishTextText as entered/imported
PersonalEmailTextEmail from Basic Details tab
PhoneNumbersTextText as entered/imported
PreferredLastNameTextText as entered/imported
PreferredNameTextText as entered/imported
ReceivesEslAssistanceBooleanWill be either 'True' or 'False'
RefugeeStatusTextOne of a defined range of options
ReligionTextOne of a defined range of options
ReligiousInstructionAllowedBooleanWill be either 'True' or 'False'
ReligiousOrderTextText as entered/imported
ReligiousOrLayTextOne of a defined range of options
RequiresEslAssistanceBooleanWill be either 'True' or 'False'
ResidentialStatusTextOne of a defined range of options
RoleTextOne of a defined range of options
SchoolEducationBackgroundTextOne of a defined range of options
SchoolNameTextText as entered/imported
SecondMiddleNameTextText as entered/imported
StatusTextOne of a defined range of options
StudentTypeTextOne of a defined range of options
TimeAllocationIntegerNumber as entered/imported
TitleTextOne of a defined range of options
UserIdentification.Aus.GovtTextID Number as entered/imported
UserIdentification.AustralianVisaTextID Number as entered/imported
UserIdentification.BirthCertificateTextID Number as entered/imported
UserIdentification.Chilred-relatedEmploymentCheckTextID Number as entered/imported
UserIdentification.CPRQualificationTextID Number as entered/imported
UserIdentification.DisabilityIdTextID Number as entered/imported
UserIdentification.DriversLicenceTextID Number as entered/imported
UserIdentification.EnrolmentAttachmentTextID Number as entered/imported
UserIdentification.FirstAidQualificationTextID Number as entered/imported
UserIdentification.HealthCareCardTextID Number as entered/imported
UserIdentification.HumanResourcesIdTextID Number as entered/imported
UserIdentification.IdentityManagementIdentifierTextID Number as entered/imported
UserIdentification.IDMHRIdentifier(ArchdioceseofCanberraandGoulburn) TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(ArchdioceseofHobart) TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(ArchdioceseofSydney) TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(CEnet) TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofArmidale) TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofBathurst)TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofBrokenBay)TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofCairns)TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofLismore)TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofMaitland)TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofParramatta)TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofRockhampton)TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofTownsville)TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofWaggaWagga)TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofWilcannia-Forbes)TextID Number as entered/imported
UserIdentification.IDMHRIdentifier(DioceseofWollongong)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(ArchdioceseofCanberraandGoulburn)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(ArchdioceseofHobart)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(ArchdioceseofSydney)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(CEnet) TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofArmidale) TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofBathurst)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofBrokenBay)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofCairns)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofLismore)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofMaitland)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofParramatta)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofRockhampton)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofTownsville)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofWaggaWagga)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofWilcannia)TextID Number as entered/imported
UserIdentification.IDMStudentNumber(DioceseofWollongong)TextID Number as entered/imported
UserIdentification.InternationalDriversLicenceTextID Number as entered/imported
UserIdentification.InternationalStudentIdTextID Number as entered/imported
UserIdentification.JCExaminationNumberTextID Number as entered/imported
UserIdentification.KeypassTextID Number as entered/imported
UserIdentification.LCExaminationNumberTextID Number as entered/imported
UserIdentification.LearnersPermitTextID Number as entered/imported
UserIdentification.LegacySisDebtorCRNTextID Number as entered/imported
UserIdentification.LegacySisIdTextID Number as entered/imported
UserIdentification.MazeRegistrationTextID Number as entered/imported
UserIdentification.MedicalCardTextID Number as entered/imported
UserIdentification.MedicareCardTextID Number as entered/imported
UserIdentification.Non-UniversityQualificationsTextID Number as entered/imported
UserIdentification.NSWEducationStandardAuthority(NESA)TextID Number as entered/imported
UserIdentification.OtherIdentificationTextID Number as entered/imported
UserIdentification.ParkingPermitTextID Number as entered/imported
UserIdentification.PassportTextID Number as entered/imported
UserIdentification.PrimaryIDMUsernameTextID Number as entered/imported
UserIdentification.PrintedSignatureTextID Number as entered/imported
UserIdentification.PrivateHealthInsuranceTextID Number as entered/imported
UserIdentification.TeacherRegistrationNumber(ACT)TextID Number as entered/imported
UserIdentification.TeacherRegistrationNumber(NSW)TextID Number as entered/imported
UserIdentification.TeacherRegistrationNumber(NT)TextID Number as entered/imported
UserIdentification.TeacherRegistrationNumber(QLD)TextID Number as entered/imported
UserIdentification.TeacherRegistrationNumber(SA)TextID Number as entered/imported
UserIdentification.TeacherRegistrationNumber(TAS)TextID Number as entered/imported
UserIdentification.TeacherRegistrationNumber(VIC)TextID Number as entered/imported
UserIdentification.TeacherRegistrationNumber(WA)TextID Number as entered/imported
UserIdentification.UnknownIdentificationTextID Number as entered/imported
UserIdentification.VETUS!TextID Number as entered/imported
UserIdentification.VictorianInstituteofTeachingAccreditationTextID Number as entered/imported
UserIdentification.VictorianStudentNumber(VSN)TextID Number as entered/imported
UserIdentification.WorkingwithChildrensCheck(Generic)TextID Number as entered/imported
UserIdentification.WorkingwithChildrensCheck(NSW)TextID Number as entered/imported
UserIdentification.WorkingwithChildrensCheck(NT)TextID Number as entered/imported
UserIdentification.WorkingwithChildrensCheck(TAS)TextID Number as entered/imported
UserIdentification.WorkingwithChildrensCheck(VIC)TextID Number as entered/imported
UserIdentification.WorkingwithChildrensCheck(WA)TextID Number as entered/imported
UserIdentification.WorkingwithChildrensCheck/BlueCardTextID Number as entered/imported
UserIdentification.WorkingwithVulnerablePeople(ACT)TextID Number as entered/imported
UserIdentification.WorkingwithVulnerablePeople(TAS)TextID Number as entered/imported
UsernameTextText as entered/imported
VisaExpiryDateDateA date in dd/mm/YYYY or ddmmYYYY format
(i.e. 01/01/2001 or 01012001)
VisaSubclassTextOne of a defined range of options
WelfareRiskBooleanWill be either 'True' or 'False'
YearLevelIdTextOne of a defined range of options
YouthAllowanceBooleanWill be either 'True' or 'False'


Available Operators:

OperatorDescriptionExample
Equals: =This symbol looks within the specified field for the specified value and displays users were this information is true."Occupation" = "Doctor"
Will display all users who have Doctor in their Occupation field
Not Equals: !=This symbol looks within the specified field for the specificed value and displays users were this information is not true."Role" != "Parent"
Will display all users who do not have Parent as their Role field
Greater Than: >This symbol is used to calculate after a certain date
(Currently only available for DateOfBirth & DateOfDeath fields) 
"DateOfBirth" > "dd/mm/YYYY"
(or date format can be "ddmmYYY" i.e. 01/01/2001 or 01012001)
Will display all users with a date after the set date in the selected field
Greater Than Equals: >=This symbol is used to calculate after or the same as a certain date
(Currently only available for DateOfBirth & DateOfDeath fields) 
"DateOfBirth" >= "dd/mm/YYYY"
(or date format can be "ddmmYYY" i.e. 01/01/2001 or 01012001)
Will display all users with the date of or after the set date in the selected field
Less Than: <This symbol is used to calculate before a certain date
(Currently only available for DateOfBirth & DateOfDeath fields)
"DateOfBirth" < "dd/mm/YYYY"
(or date format can be "ddmmYYY" i.e. 01/01/2001 or 01012001)
Will display all users with a date before the set date in the selected field
Less Than Equals: <=This symbol is used to calculate before or the same as a certain date
(Currently only available for DateOfBirth & DateOfDeath fields) 
"DateOfBirth" <= "dd/mm/YYYY"
(or date format can be "ddmmYYY" i.e. 01/01/2001 or 01012001)
Will display all users with the date of or before the set date in the selected field


Available Keywords:

KeywordDescriptionExample
ANDJoins two or more clauses that must be true in order to be a result"Firstname" = "David" AND "Lastname" = "Morgan"
Search results will display all users called David Morgan
ORJoins two more more clauses where either must be true in order to be a result"Firstname" = "David" AND "Occupation" = "Doctor"
Search results will display all users called David and all users with Doctor as their occupation.
EXISTSDetermines if the field contains any content"CEIDER" EXISTS
Search results will display all users who have content in their CEIDER field.
CONTAINSDetermines if the value is within the field"Firstname" CONTAINS "Jack"
All firstnames that have Jack in them i.e. Jack, Jackie, Jackson
NOTDisregards a clause after the keyword"Firstname" = "David" NOT "Lastname" = "Morgan"
Search results will include all users named David except those with the surname of Morgan.
INAllows multiple values of the one field to be searched"Firstname" IN ("John", "Steve", Matthew")
Search results will show all users with either of these first names.
Please Note: When using multiple values ensure the overall values are within brackets and that there is a comma after each value per the example here.
 

   

Saving an Advanced Filter

Once you have created an Advanced Filter, you can save the filter for future use.  To do so, click 'Save As'.
Name the Query and if you want this filter available to all staff using Advanced reporting, tick the 'Publish to Staff' option.  If you are just using the filter as your private filter, leave this unticked.  Click 'Create'.
     
This will add the query to your filter options in the right hand section.

     


Accessing a Saved Advanced Filter

The range of existing filters are contained for use in the right hand section of the tab.
     

Click the plus or minus icons to expand or collapse the different filter categories to locate the filter you require.

     

     
Editing Saved Filters
To edit the name or settings of a saved Filter or remove one from the list, click the tool icon next to the filter.

     


Exporting Filtered Data

To export query results, once you have applied the filter, click 'Export CSV' to download the .csv file to your device.
      


Filtered Reports

You can use filtered data to generate letters.  The letters are generated from a template which you select from the list of available templates you have created for your school.

Please refer to the 'Reports' section of the 'People Management' article from our Knowledge Base for details.


    • Related Articles

    • People Management (as SIS)

      Overview People Management is where your school's user record data is managed. Some schools use People Management exclusively as their Student Information System (SIS), others use People Management to integrate with the Student Information System ...
    • People Management (with SIS Integration)

      Overview People Management is where your school's user record data is managed. Some schools use People Management exclusively as their Student Information System (SIS), others use People Management to integrate with the Student Information System ...
    • Financial Management Administration Guide

      Overview The Financial Management module is located under the Organisation (grid icon) menu and is where Purchase Orders and Sub-Program Budgets are managed. Permissions For staff to access the Administration features of the Financial Management ...
    • Adding New User Accounts

      Overview When a new student, parent or staff become part of your school they will need to have a Compass user account created. This is managed within People Management. Please Note: For schools who have an external SIS (CASES21, Maze, SAS, Denbeigh ...
    • VIC - Financial Management and CASES21

      Importing Financial Data from CASES21 into Compass School Manager There are 3 exports that need to be run from CASES21 into Compass to set up the Financial Management modules (Budgeting and Purchase Ordering) in Compass. These are all exported from ...