KPI Card fields and settings
Every field well and every setting in the format pane of version 1.0.1.0, read from the package you download. The internal names in grey are what a PBIR file or a report-authoring agent uses. Which features need a licence is on the KPI Card page; every setting works in edit mode with or without one.
13 fields · 22 cards · 156 settings Markdown for AI assistantscatalog.json
Fields
| Field | Takes | Needed | What it is for |
|---|---|---|---|
Cards bycategory | Column | Optional · up to 2 | One card per value: branch, product, region or person. Leave empty for one card per measure. |
Trend axisperiod | Column | Optional | Optional date or period: the latest period is the card's value, the history draws the sparkline and the pace chart. |
Break down bybreakdown | Column | Optional | Optional field to break each card's variance down by (premium). |
Imageimage | Column | Optional | Optional image per card: a text column holding a data:image/...;base64 value (images are never loaded from a web address). |
Valuevalue | Measure | Optional · up to 6 | The KPI. Several measures give several cards. |
Targettarget | Measure | Optional · up to 6 | Plan, budget or goal, in the same order as the Value measures. |
Comparisoncomparison | Measure | Optional · up to 6 | Prior year, forecast or any value to compare with, in the same order as the Value measures. |
Second comparisoncomparison2 | Measure | Optional · up to 6 | A second value to compare with (premium). |
Detail valuesdetails | Measure | Optional · up to 4 | Small extra numbers listed on every card. |
Lower is betterlowerIsBetter | Measure | Optional | Optional 1 / 0 per card where a lower value is better (costs, defects, lead time). Aggregate with Max. |
Elapsed %elapsed | Measure | Optional | Share of the period elapsed (0 to 1), for pace from a field. |
As-of dateasOf | Measure | Optional | Optional date the data is current to; pace can count from it instead of the reader's clock. Aggregate with Max. |
Tooltipstooltips | Measure | Optional · up to 5 | Extra measures shown in the tooltip. |
Style templatetemplates
| Setting | Type and options |
|---|---|
Templatetemplate |
|
Export: copy this templateexportText | Text |
Import: paste a templateimportText | Text |
Appliedapplied | Text |
Imported hashimportedHash | Text |
Themetheme
| Setting | Type and options |
|---|---|
ThemeselectedTheme |
|
FontfontFamily |
|
Transparent backgroundtransparentBg | On / off |
Background colorbackgroundColor | Colour |
Layoutlayout
| Setting | Type and options |
|---|---|
Arrange cardsmode |
|
Columns (0 = auto)columns | Number |
Smallest card widthminCardWidth | Number |
Smallest card heightminCardHeight | Number |
Space between cardsgap | Number |
SortsortBy |
|
Total cardtotalCard | On / off |
Align contentalign |
|
Sparkline positionsparkPlacement |
|
Cardcard
| Setting | Type and options |
|---|---|
Card colorbackground | Colour |
Border colorborderColor | Colour |
Border width (-1 = theme)borderWidth | Number |
Corner radius (-1 = theme)cornerRadius | Number |
Shadowshadow |
|
Paddingpadding | Number |
Accent baraccent |
|
Accent coloraccentColor | Colour |
Card titletitle
| Setting | Type and options |
|---|---|
Showshow | On / off |
Text sizefontSize | Number |
Colorcolor | Colour |
Boldbold | On / off |
Uppercaseuppercase | On / off |
Wrap to two lineswrap | On / off |
Image sizeimageSize | Number |
Subtitlesubtitle
| Setting | Type and options |
|---|---|
Showshow | On / off |
Text sizefontSize | Number |
Colorcolor | Colour |
Valuevalue
| Setting | Type and options |
|---|---|
Showshow | On / off |
Text size (0 = fit the card)fontSize | Number |
Smallest size when fittingminAutoSize | Number |
Largest size when fittingmaxAutoSize | Number |
Colorcolor | Colour |
Boldbold | On / off |
Display unitsdisplayUnits |
|
Decimal places (-1 = auto)decimals | Number |
Prefixprefix | Text |
Suffixsuffix | Text |
Value fromaggregation |
|
Show the periodshowPeriod | On / off |
Targettarget
| Setting | Type and options |
|---|---|
Variance to targetshow | On / off |
Show variance asmode |
|
Target valueshowValue | On / off |
Name of the targetshowLabel | On / off |
Label (blank = field name)label | Text |
Text sizefontSize | Number |
Label colorcolor | Colour |
Comparisoncomparison
| Setting | Type and options |
|---|---|
Showshow | On / off |
Show variance asmode |
|
Comparison valueshowValue | On / off |
Name of the comparisonshowLabel | On / off |
First label (blank = field name)label | Text |
Second comparisonshowSecond | On / off |
Second label (blank = field name)label2 | Text |
Text sizefontSize | Number |
Label colorcolor | Colour |
Variance stylevariance
| Setting | Type and options |
|---|---|
Draw asstyle |
|
Arrowsarrows | On / off |
Good and bad colorscolorByDirection | On / off |
Change vs previous periodshowChange | On / off |
Statesstates
| Setting | Type and options |
|---|---|
Show statesshow | On / off |
Judge againstbasis |
|
Directionpolarity |
|
Good from (% of reference)goodFrom | Number |
Warning from (% of reference), bad belowwarnFrom | Number |
Color the accent baraccent | On / off |
Tint the cardtint | On / off |
Color the valuevalueColor | On / off |
State iconicon | On / off |
State wordword | On / off |
Word for goodgoodWord | Text |
Word for warningwarnWord | Text |
Word for badbadWord | Text |
Word sizefontSize | Number |
GoodgoodColor | Colour |
WarningwarnColor | Colour |
BadbadColor | Colour |
No stateneutralColor | Colour |
Sparklinesparkline
| Setting | Type and options |
|---|---|
Showshow | On / off |
Typetype |
|
Colorcolor | Colour |
Line widthlineWidth | Number |
Height (% of the card, 0 = auto)height | Number |
Target lineshowTarget | On / off |
Target line colortargetColor | Colour |
Markersmarkers |
|
First and last valueshowLabels | On / off |
Label sizelabelSize | Number |
Label colorlabelColor | Colour |
Start the scale at zerozeroBaseline | On / off |
Progress barprogress
| Setting | Type and options |
|---|---|
Showshow | On / off |
Bar heightheight | Number |
Bar colorcolor | Colour |
Track colortrackColor | Colour |
Percent of targetshowLabel | On / off |
Label sizefontSize | Number |
Label colorlabelColor | Colour |
Detail valuesdetails
| Setting | Type and options |
|---|---|
Showshow | On / off |
Text sizefontSize | Number |
Value colorcolor | Colour |
Label colorlabelColor | Colour |
Pace to targetpace
| Setting | Type and options |
|---|---|
Periodmode |
|
Today istoday |
|
Fiscal year starts in monthfiscalStartMonth | Number |
CountdayCount |
|
Working weekweekMask |
|
Elapsed %fixedElapsed | Number |
The series holdsseries |
|
Expected by now fromexpectedFrom |
|
On pace within (± % of target)band | Number |
Pace line on the cardshow | On / off |
Days ahead or behindshowDays | On / off |
Pace marker on the progress barshowMarker | On / off |
Required run-rateshowRequired | On / off |
Judge the state against the pacestateOnPace | On / off |
Text sizefontSize | Number |
Text colorcolor | Colour |
Marker colormarkerColor | Colour |
Forecast landinglanding
| Setting | Type and options |
|---|---|
Show the landingshow | On / off |
Methodmethod |
|
Recent periods (n)recentPeriods | Number |
Landing rangeshowRange | On / off |
Range levellevel |
|
Landing vs targetshowVariance | On / off |
Text sizefontSize | Number |
Text colorcolor | Colour |
Variance breakdownbreakdown
| Setting | Type and options |
|---|---|
Show the breakdownshow | On / off |
Variance toreference |
|
Rows (then Others)topN | Number |
Ordersort |
|
Numbersvalues |
|
Text sizefontSize | Number |
Text colorcolor | Colour |
Summary sentencesummary
| Setting | Type and options |
|---|---|
Showshow | On / off |
Positionposition |
|
Text sizefontSize | Number |
Colorcolor | Colour |
Data notesnotes
| Setting | Type and options |
|---|---|
Showshow | On / off |
Text sizefontSize | Number |
Colorcolor | Colour |
Animationanimation
| Setting | Type and options |
|---|---|
Animate on loadmode |
|
Duration (ms)duration | Number |
Accessibilityaccessibility
| Setting | Type and options |
|---|---|
Focus outline colorfocusColor | Colour |
Focus outline widthfocusWidth | Number |
Minimum text size (0 = off)minFontSize | Number |
Reduce motionreduceMotion |
|
Shapes with the state colorsshapes | On / off |
Direction per measuremeasureDirection
| Setting | Type and options |
|---|---|
Direction per measuredirection |
|
Setting a value in PBIR
In a visual.json, a setting goes under visual.objects, by card and internal name. Toggles take true or false, choices and text a value in single quotes ('auto'), numbers a D suffix (12D).
"visual": {
"visualType": "smartKPICard473083EB23844DB9B81511A7524D309F",
"objects": {
"theme": [{
"properties": {
"transparentBg": { "expr": { "Literal": { "Value": "true" } } }
}
}]
}
}