To create a Query on each user role follow the steps bellow:
Click Access Button
then click HR Admin.
Click Queries then click on the + icon.
Select Employee Details then select User Role.
Click Next then choose the relevant user role.
Type the name of your query, select a category and enter a relevant description.
To export as an Excel or CVS file, in the top right, click Export to.