# Dashboards, insights and exports

> How to build dashboards with insights, create saved queries, export XLSX reports and ask the AI for charts.

On the **Dashboards** screen you follow the account's metrics on customizable dashboards. To open it, your role needs the **Manage dashboards** permission.

The screen has three parts:

- **Dashboards**: boards with several cards side by side.
- **Insights**: saved queries, reusable across dashboards.
- **Exports**: XLSX files generated from dashboards.

## Create a dashboard

1. On **Dashboards**, click **New dashboard**.
2. Enter the **Name** (unique per account) and, if you want, a **Description**.
3. Click **Create**.
4. On the dashboard, click **Add insight** and pick a saved insight, or use **Create new**.

To rearrange the cards, click **Edit layout**, drag and resize them, then click **Done**. To take a card off, use **Remove from dashboard**. The insight stays in the library.

To rename or delete a dashboard, use **Rename** or **Delete** in the list. Deleting a dashboard doesn't delete the insights it used.

## Pick the period

Each card uses its own saved period. To see all of them over the same period, pick one in the selector at the top of the dashboard, such as **Last 7 days**, **This month** or **Custom**.

## Create an insight

An insight is a saved query. It can show up on several dashboards.

1. Open **Insights** and click **New insight**.
2. Give it a **Name** and, if you want, a **Description**.
3. Pick the **Type**: **Trend**, **Number**, **Table** or **Detailed**.
4. Pick the **Data source**, such as **Conversations**, **Messages**, **Contacts**, **Campaigns** or **Recorded events**.
5. Set the **Measure**, **Interval**, **Group by** and **Filters**, depending on the type.
6. Adjust the **Visualization**: line, bar or area chart, legend, format and order.
7. Check the **Preview** and click **Create insight**.

The period picked in the editor only applies to the preview. Inside a dashboard, the dashboard controls the period.

To change an insight, click **Edit** in the insight list or **Edit insight** on the card. When you delete an insight, it is also removed from the dashboards that use it.

## Ask the AI for charts

You can also ask the AI assistant for a chart, for example: "How many conversations per inbox in the last 30 days?". The AI answers with numbers, tables or charts.

To keep the result:

1. Ask the AI to save the chart as an insight.
2. The AI shows the **Save insight** card, with the **Destination**: an existing dashboard, a new dashboard or **No dashboard (standalone insight)**.
3. Click **Approve**.

The AI can also create and rename dashboards, remove cards and edit insights, always with a card for you to approve. See [AI assistant](https://talkvend.com/en/help/assistente-de-ia).

## Export a report

1. Open the dashboard and pick the period.
2. Click **Export**.
3. Click **See exports** or open **Exports**.
4. When the status is **Ready**, click **Download**.

XLSX files are available for 24h. After that, the status changes to **Expired**. Each person sees the exports they requested, and admins see all of them.

> **Tip:** exports run in the background. You can keep using the platform while the file is generated.

## Who sees which data

Dashboards follow each person's permissions.

- People without the **View every conversation in the account** permission only see data from the inboxes they belong to. Those cards show the **Your inboxes only** notice.
- When the role doesn't allow a data source, the card shows **You do not have permission to view this data**.
- **Recorded events** data requires the **View recorded events** permission.

The same cut applies to exports and to the AI's answers. That is why two people may see different numbers on the same dashboard. See [Users and roles](https://talkvend.com/en/help/usuarios-e-cargos).
