# Build and share a BI dashboard

Choose app metrics, configure and save dashboard widgets, recover from conflicts, and share a read-only view with authorized colleagues.

Source: https://appportal.io/docs/guides/build-a-bi-dashboard

Use **BI Dashboards** to keep a repeatable view of app usage, stability, and adoption. Start with a
question, such as whether sessions are moving to a new build without an increase in error reports.

## Choose the app and audience

Select the organization, app, concrete environment, platform, and date range before opening
**BI Dashboards**. Use a range within the app's retention period and the 90-day query limit.
Check each result's displayed UTC window before comparing it with another view. The start is included;
the end is excluded.

Configurable BI is included with Enterprise and available on Scale when explicitly configured; it is
disabled by default on Scale. Free, Launch and Growth retain core telemetry dashboards and ordinary
analytics without premium BI. Readers need existing app
access and analytics permission (`ViewAnalytics`). App owners or administrators with that access
can create, edit, and delete dashboards. A shared link does not grant any of these permissions.

## Start a dashboard

Choose **New dashboard** to start with a Sessions widget. Opening the starter does not save a
dashboard.

For a ready-made starting point, choose **Use template** under **Dashboard templates**:

- **Release Health** combines crash-free sessions, crashed sessions, reports per session, and sessions by build.
- **Crash Triage** compares error reports, crashed sessions, and reports per session.
- **Engagement** compares active users and sessions, with sessions by form factor.
- **Adoption** groups sessions by app version, build number, and platform.
- **Performance** compares recorded app-start, screen-load, and network-request p95 durations.

A template opens an independent, editable draft and keeps your selected date range. Customize it
for your question. Enter a **Dashboard name**, then configure and save the widgets. Your saved
dashboard is separate from the template.

## Configure the widgets

1. Choose **Add widget**, or **Edit** on an existing widget. Set its **Widget title** and **Measure**.
2. For **Sessions**, optionally choose **Group by**: platform, operating system, OS version, device
   model, form factor, app version, or build number. Choose **Table** or **Bar chart** and a
   **Leading groups** limit. Ungrouped measures use the **Metric** visualization.
3. Use **App version** for an exact version filter. Enable **Compare previous period** for an
   ungrouped measure; the comparison uses the immediately preceding window of the same length
   with the same filters. Grouped results do not support that comparison.
4. Move widgets with their up/down arrow buttons or drag handles. **Full width** expands a widget
   across both columns; narrow screens stack the layout. **Remove** removes a widget from the draft.
5. Review the values, then choose **Save dashboard**. Wait for **Dashboard saved.** before leaving
   or sharing the dashboard. A dashboard contains 1–12 widgets.

**Live preview** refreshes changed queries after a typing pause. **Preview dashboard** refreshes
the widgets immediately. Neither saves the definition. **Unsaved changes** remains until you save;
switching dashboards asks whether to discard those edits. Choose **Keep editing** to retain them.

To inspect one measure before adding it, expand **Explore a single metric**, set its filters, and
choose **Preview metric**. This exploration does not add a widget or save a dashboard.

## Read the numbers correctly

The measure definition and units determine what a value means:

- **Sessions** counts sessions whose start timestamp falls in the window.
- **Active users** counts distinct active subjects observed across sessions, events, logs, RUM,
  and error reports. Identified users are deduplicated across streams; device or installation identity
  supplies anonymous fallback. Anonymous activity already associated with an identified subject is
  not counted again. This analytics measure uses the selected query scope and window; it is separate
  from account-period eligibility and accepted-record consumption.
- **Crashed sessions** counts sessions marked as ending in a crash.
- **Error reports** counts both handled-error and unhandled-crash occurrences timestamped in the window.
- **Crash-free sessions** is `100 × (1 − crashed sessions / sessions)`.
- **Reports per session** is `error reports / sessions`. It can exceed one; it is not a percentage.
- **App-start p95**, **Screen-load p95**, and **Network-request p95** each report the owning
  provider's p95 in milliseconds for that recorded RUM kind, including successful and failed markers.
  Their denominator is the kind's sample count, not the session count. No matching samples gives
  no percentile value, not zero milliseconds. Recorded samples do not represent every launch,
  view, or request; instrumentation coverage depends on the SDK.

Ratio widgets show their session denominator. With no sessions, the catalog returns 100% crash-free
and zero reports per session; those empty-population values do not establish measured reliability.

Grouped session shares use **all matching sessions**, including sessions with unknown metadata.
A leading-groups view can omit other groups: check the total session population and omitted-session
count instead of treating the displayed groups as the entire population.

Queries use live aggregates. Late telemetry can change a later refresh, and separate widgets are
not one atomic snapshot. A loading or unavailable result is not a successful zero. Do not average
percentiles or mix the three performance populations. For a specific failure behind a trend, [follow an app session](https://appportal.io/docs/guides/investigate-session).

For authorized REST access, use [reporting and metric queries](https://appportal.io/docs/api/reporting). Supply explicit
date offsets and keep the route's window convention: summary/platform datasets include both bounds,
while metric queries include the start and exclude the end.

## Recover without losing the intended change

- **Widget unavailable:** use **Retry widget** for that widget. In the single-metric explorer,
  use **Retry preview**. Confirm the selected scope and range when retrying.
- **Save rejected:** the draft stays in the editor. Correct the problem and choose **Save dashboard** again.
- **This dashboard changed:** another saved revision exists. Keep a copy of the edits you need,
  then choose **Discard edits and reload**. Reapply those edits to the current saved version;
  this action discards the old draft.
- **The save outcome is unknown:** choose **Reload dashboards** and check for the dashboard before
  creating another. Use **Load more dashboards** when needed, and open a matching saved dashboard
  to inspect its definition. Check the saved list before starting another dashboard with the same content.

Deleting a saved dashboard removes its configuration, not the app's telemetry.

## Share the saved revision

After saving, choose **Share dashboard** and **Copy link**, or **Open read-only view**. Recipients
sign in and retain their existing organization/app access, analytics permission, and plan rights.
The link includes the saved revision and selected environment, platform, and optional target;
it contains no authentication token. Public links and unauthenticated embedding are not available.

The shared view uses live data for the saved relative date range, not a frozen telemetry snapshot.
**Refresh dashboard** reloads its widgets. **Refresh every minute** updates while the tab is visible;
a failure stops automatic refresh. Editing or deleting the saved dashboard makes that revision
unavailable, so send an updated link after edits. Removing a recipient's access prevents further reads.

## Explore or change a dashboard with an agent

[Connect an MCP client](https://appportal.io/docs/api/mcp#explore-and-manage-bi-dashboards) using a profile with BI read
access. For example:

> For this app and production environment, compare sessions and crash-free sessions for the last
> seven complete UTC days with the preceding seven days. Show the session denominators and UTC
> windows, and explain any unavailable results. Do not change dashboards.

The read tools inspect the catalog, query individual metrics, and read saved dashboard definitions
and widgets. The pinned MCP/CLI adapter retains its six usage/stability measures. Performance queries
and saved Performance definitions return an explicit unsupported result through that adapter; use
the Dashboard or authorized REST query rather than replacing the measure with a session count.
A saved-widget query uses its loaded revision and an explicit window; an agent must reload after
a revision conflict. Each query retains the current app/environment access and metric definitions.

Dashboard changes additionally require explicit `mcp:dashboards.write` consent and current app-owner
or administrator authority. Ask for a preview first:

> Preview an update to my Release review dashboard that adds Sessions by app version as a bar chart.
> Show the current and proposed definition, app, environment, and saved revision. Wait for my approval.

`preview_dashboard_mutation` does not save. Review the change before a separate
`apply_dashboard_mutation` call. The confirmation is short-lived and bound to the original request
and revision. The agent retains the same idempotency key for preview, apply, and reconciliation;
a changed revision requires another review, not a blind overwrite. Sharing through MCP creates the
same authenticated bookmark and grants no recipient access.

An agent can compose a weekly review from these reads when you ask. That is a client-composed
summary, not an AppPortal scheduled report or automatic export.
