1. Anaplan User Experience
  2. Build apps and pages in the User Experience
  3. Build with cards
  4. Card types
  5. Configure a KPI card
  6. Add a sparkline to a KPI card.

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.


We may update our documentation occasionally, but will only do so in a way that does not negatively affect the features and functionality of the Anaplan service.