# Grouping Lists

Sometimes, you need to group lists together. Let's use the [Trello Public Roadmap board](https://trello.com/b/nC8QJJoZ/trello-development-roadmap) and Cumulative Flow chart as examples.

![](/files/-LB5uYeRlrPQcwsB16SG)

As you can see, there are Live lists created for every quarter. We need to unite them into a single group, because we're interested in total feature progress, rather than tracking separate cards.

This can be done using the `CASE WHEN` statement. So, we need to select 'List' in the Color panel, and change the calculation to the following:

`CASE WHEN CONTAINS([List], 'Live') THEN 'Live' ELSE [List]`

We then need to rename the Axis Label to 'List', since it is currently auto-named.

![](/files/-LB5uYfS_sehEFrheJSv)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://trello-guide.vizydrop.com/grouping-lists.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
