The Resource Queries viewlet displays results based on the resources and profiles that are stored in the database.
When you create a resource query, you can select attributes including, calendar, competencies, skills, rates, and other attributes for the And and OR conditions. You can select the And condition when you want all the attributes to match, and you can select the OR condition when you want any of the attributes to match. The list of attributes differ when you search for a resource and profile.
You can use the Resource and Profile Assignment viewlet to search for resources and profiles and assign them to projects and work items.