Query 4100Q refers to a teacher with a teacher number missing on their profile. If you click on the Query it takes you to the staff member's profile. Click on the cog next to their name to open up the Personal Details page:
The red areas here are all required for Work Force Census. This staff member has no teacher number, which is entered in the top left of the screen. He has a contract with role identifier teacher, which is why this query has been flagged up. Once a teacher number is entered, and then Submit clicked to save at the base of the page, return to the Workforce Census area to recalculate the census.
As this is a Query rather than an Error, if there is a reason why no teacher number was entered you can make a note when uploading the Census.