Embedding on Record Pages

Add the Analytics Dashboard component to a record page and filter it automatically to the record being viewed.

Embedding on Record Pages

Add the component

In Lightning App Builder, edit an Account (or any object's) Record Page, drag on the Analytics Dashboard component from the sidebar, and select a dashboard.

Filter to the current record

The component exposes a Filter field where you map a dashboard binding to a merge field, most commonly {!Record.Id}. This is the same binding mechanism from the Bindings section — the record's ID flows in as a URL-style binding, so the dashboard shows only that account's data.

Sizing and height

Set a fixed height or let the component auto-size; on a crowded record page, a fixed height with the dashboard's own internal scroll usually reads better than pushing all other page content down.

What you'll learn next

Next: embedding via a custom Lightning Web Component for cases the drag-and-drop component can't handle.