# Group By

## How do Group my information on the Planner?&#x20;

On the Planner, you can group your information in order to make it easier to visualise related items together. For example, in [Shift View](/maica-knowledge-base/the-planner/planner-views-and-modes/shift-view.md), you can order Shifts(s) by Location, which improves organisational clarity and planning.

To begin, simply begin by clicking the `Group By` button, as shown below.&#x20;

<figure><img src="/files/8gIJo7twoeYxtEie5mcm" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
This function is only available in Timeline Mode.&#x20;
{% endhint %}

Once selected, the custom `Group By Field Selector` module will display, as shown below.&#x20;

<figure><img src="/files/Ij2UH5biTZ21PPbo0qDo" alt=""><figcaption></figcaption></figure>

It is here you can select which field you wish to organise your information by.&#x20;

{% hint style="info" %}
As I have selected the `Group By` action from `Shift View`, the available fields are `Appointment/Shift` fields, as shown above. This is because `Shift View` organises the Planner by `Shift`. If you were to select the `Group By` action from `Accomodation View`, these fields would be catered to `Accomodations`.&#x20;
{% endhint %}

After selecting a field, click `Select` to finalise. Below, I have chosen to Group my Shifts by `Location`.

<figure><img src="/files/NMRk05QTUFZQfzDJd5ax" alt=""><figcaption></figcaption></figure>


---

# 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://knowledge.maica.com.au/maica-knowledge-base/the-planner/planner-actions/group-by.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.
