Create a collection
To create a collection, you need a destination that contains visualizations. This destination will be copied inside the collection and will serve as the collection template.

To create a collection, follow these steps:
- Click on the destination three dots menu. You will then be directed to the collection creation page.
- Select the dashboard that contains your primary filter(s)
- Select your one or multiple primary filter(s)
- Once you've selected all the variants you need, click Next
- Finally, you will be able to review all your configurations. When you're ready, click Create collection.

Once your collection is created, you can start generating new variants.
To add variants to your collection, follow these steps:
- Open your collection and click Add variants
- Select all the variants you want to create
- Click Add to collection
The variants creation process will shortly start, and your variants will soon appear inside your collection. When adding new variants to your collection, Rollstack does the following:
- Generate variants based on that template by first, duplicating it.
- For each variant, applies the primary and secondary filters to the visualizations' data accordingly.

All the files will be placed in your OneDrive or Google Drive in an organized manner.

Apart from the primary filters, most of the collection's settings can be configured either during creation or later by accessing the collection settings tab.
Primary filters are the only mandatory field in the collection creation process.
Primary filters are filters that are going to be used to define your variants' data. For most cases, you will only need one primary filter, but you can also select up to 3 primary filters. In case multiple filters are selected, each variant will be defined by the combination of these filters.

Secondary filters are all the filters that are not primary filters with regards to your collection, but that you still want your collection users to set when creating new variants.

In the case you selected multiple filters as primary or secondary filters, you can tell Rollstack if these filters depend on each other. When enabled, Rollstack will automatically find dependent values.
Enabling filter dependency will also introduce a slight loading time when adding variants.

Enable this option to make filter names case-insensitive. When enabled, Rollstack will match filter names across all visualizations, ignoring differences in letter casing.
For example, filters like Customer and customer will be considered equivalent.

When creating a new variant, Rollstack first duplicates the template, then changes the data in the variant's visualizations, by applying a different primary filter value or "swapping" the visualizations filter. This setting allows you to define which visualizations should be impacted by the primary filter(s) value swap. This is useful if you want to exclude some visualizations from the primary filter's swap.

Rollstack determines if a filter can be applied to your visualizations based on the filters' names. By default, all visualizations where these filters are applied are subject to the primary filter swap (checked by default).
In some cases, some visualizations do not have data related to a certain filter value/set of filter values. Rollstack allows you to set a behavior depending on your use case:
- Push the visualization if it does not have associated data
- Not push the visualization to the variant
- Hide the visualization's slide (only in the case of presentations)

You can define a naming convention for all the variants that will be created. Select one of these options:
- Use the name as it appears in the filter
- Add a prefix to the original destination name
- Add a suffix to the original destination name

You can choose to store archived files in a separate folder. When enabled, the archived files from Recreate Variants and Archive and Update will be stored in a separate folder.

You can define the folder in Microsoft OneDrive or Google Drive where the collection should be created. If no value is set, the collection will be created in your drive's home folder by default.
