Navigation :
summary
summary, tile type
The summary tile displays a list of scalar values, typically KPIs.
Example
myDate = date(2022, 2, 17)
onHand = 123
onOrder = 42
unitPrice = 25
show summary "Key figures" with
"Contoso A-001" as "Product Name"
myDate
onHand
onOrder
onHand + onOrder as "Total units"
(onHand + onOrder) * unitPrice as "Total value" { unit: "$" }
This outputs the following list:
| Label |
Value |
| Product Name |
Contoso A-001 |
| myDate |
Feb 17, 2022 |
| onHand |
123 |
| onOrder |
42 |
| Total units |
165 |
| Total value |
$4 125 |
Each value can be associated with a label (as "Label") and a unit
({ unit: "$" }).
StyleCode
For generic StyleCode rules, see stylecode.