A KPI card: the value of one data model measure, in the filter context of the dashboard's slicers, shown large in a box.
Members
Properties
id: string;Stable ID, unique on the dashboard.
Where the item sits on the dashboard grid, and its size.
kind: "kpi";Tags the item as a KPI card in DashboardItem.
measure: string;Measure.id of a measure of the workbook's data model.
title?: string;optional
Caption; absent shows the measure name.
numberFormat?: string;optional
Excel number-format code of the value; absent shows it as General.
Declaration
View full TypeScript declaration
export interface DashboardKpiItem { id: string; kind: "kpi"; measure: string; title?: string; numberFormat?: string;}Referenced by
Public exports naming DashboardKpiItem
DashboardItem@sheetwrite/core