A sparkline is a simple chart that shows how numeric values change over the built-in time dimension of the model.

For a numeric KPI card, use the Card configuration panel to add a Sparkline and configure its options.

You need a numeric line item in a module with two levels in the time dimension, selected as Data source in the Card configuration panel.

To show a KPI card's Card configuration panel, either:

  • When you create a new KPI card, click the Configure KPI button, or
  • Select or hover over an existing card on your page and click the Edit icon.

To add a sparkline to a KPI card and configure it, 

  1. In the Card configuration panel, select the KPI tab.
  2. Expand Sparkline and enable the Enabled toggle.
  3. Optionally, you can:
    • Enable the Data labels toggle.
      When Data labels is enabled, a data label displays when you hover over a data point in the chart. 
    • Change the color of the sparkline.
      A color picker displays next to the Sparkline color label. Click on the color picker and select a color from the palette.