When you add documents to a project, it is easy to create document groups based on sample characteristics like gender, age, profession, location, etc.
At times, you first need to code the data to find relevant information like years of working experience, special skills, attitudes about something, relationship to other people, etc. For this you need an option to create document groups based on query results.
Create a query. See for instance [Example Boolean Query](../Querying/QueryToolExampleBooleanQuery. Click on the Document Group button in the toolbar, enter a name for the new group, and click Create.
ATLAS.ti creates a new group from all documents that yield quotation results based on the query.
The query might be as simple as just selected one code.
For instance, if you have coded for work experience:
- work experience: 0 - 5 years
- work experience: 6 - 10 years
- work experience: 10 - 15 years
- work experience: > 15 years
You simply add the code 'work experience: 0 - 5 years' and click on the Document Group button to create a document group of all respondents who have a work experience of 0 - 5 years. Then you add the code 'work experience: 6 - 10 years' and create a document group, and so on.