How can I indicate a record has a particular profile code without filtering the results to just records with that profile code?

To indicate a record has a particular profile code, use the "Profile Code Exists" function field in the query. This field allows you to include all results but displays an indicator if the person has one or more of the profile codes listed on their person detail record.

Use the "Profile Code Exists" function field to determine whether or not someone has a profile code. Specify which profile code you mean using the Find Records... button in the column on the right side of the screen.

This field also allows you to filter your results to only view those who have or do not have the code(s) assigned to them using the Yes/No filter.