Skip to main content
KPI tiles highlight important metrics and key performance indicators. Rather than a single fixed layout, KPIs are row-based and composable — you build the tile by stacking blocks of different types, each configured independently.
KPI tile with a Number block, a Comparison block and a Sparkline block stacked vertically

Getting started

The KPI visualization starts with a Number block that shows the first row of your result for the first numeric column. Click Design to open the chart builder. It lists every block of the tile as a card, in the order the blocks appear, with each block’s settings on its Data and Style tabs. To add a block, click Add block below the cards and choose the block type. Reorder blocks by dragging the handle on the left side of a card’s title. Remove a block with the × button on the right side of its title.
KPI chart with the Design panel listing its Number and Comparison blocks as cards, each with a drag handle and a remove button, above the Add block button and the Chart layout settings

Block types

Number

Displays a single value from your query result.
Number block showing revenue, with its Column, Label, Row and Format settings

Comparison

Displays a current value alongside a previous value with a calculated difference. Use this to show period-over-period change or target vs. actual. To compare to a static goal, add a column to your query that always returns the same number (e.g. a calculated field with a constant), then select it as the Previous field.
Comparison block showing a green percentage change under a Number block, with its Current column and Previous column settings

Progress bar

Shows a value relative to a target as a progress bar or circle. Useful for goal tracking.
To compare against a static number like a quarterly goal, add a calculated field that always returns that number and use it as the Target field.
Two Progress bar blocks against a custom goal, one in the bar style and one in the circle style, with the Progress bar settings

Sparkline

Renders a compact trend chart — either a bar or line — within the KPI tile. Use this to show the trend behind a value. Above the chart, the block shows a headline value. By default, it’s the series measure from the first row of the query result. Turn off Headline uses sparkline measure and pick a Headline column to show a different measure. If you turn it off and leave Headline column empty, the headline shows the last point of the trend.
Sparkline block with a headline value, a trend delta and a trend line over months, with its Sparkline measure and Sparkline dimension settings

HTML

A free-form block rendered inside the KPI tile. It accepts Markdown and HTML with CSS styling, so use it for titles, headings and descriptions, as well as custom layouts that go beyond what the other block types support. For complex layouts, consider the Custom visualization instead.
HTML block with its code editor under a Number block, next to the KPI tile with the rendered goal text

Layout controls

KPI tiles have a layout panel that controls how blocks are arranged:

Drill down

Clicking the value of a Number block that shows a measure, or the headline value of a Sparkline block, opens the value menu, as clicking a measure cell does in a table. Choose Drill down there to open the rows behind the value. Drill down is offered when the measure has drill_members defined in the data model. Other blocks don’t open the value menu. On a published dashboard with comments, a click elsewhere on the KPI opens a menu with only Comment on whole chart. The menu opens in workbooks and on dashboards, including published and embedded ones. While you edit a dashboard, a click on a KPI value doesn’t open the menu, because the tile can be dragged.

Converting to raw Markdown

If you need customization beyond what the block builder supports, you can convert the KPI visualization directly to Markdown by clicking on the Markdown visualization option.
Converting to Markdown is a one-way operation. If you do this accidentally, use the undo button to revert.