Add KPIs to Dashboards

Right Required: Author Insights

A Key Performance Indicator (KPIClosed Key Performance Indicator, a measurement of performance. Organizations measure activities related to successfully meeting their objectives, such as profitability or acquiring new customers.) widget displays the basic number of any measure or expression. It can also include a title and an icon indicator.

The KPI Builder lets you,

Set other KPI properties at the dashlet level:

Add a New KPI

  1. From a Dashboard, click Edit.

  2. Click Insert.

  3. From the menu, select KPI. The KPI Builder opens.

  4. In the KPI builder, you can do the following:

    Note: As you enter the KPI measures and set its properties, the KPI Builder shows you a preview of the KPI.
  5. Click Save when done.
    Examples of KPIs:

Select a Measure, Date Type, and Aggregate

  1. From the KPI Builder, select the Measure tab and Select Measure. The Default Subject Area automatically displays. Subject Areas are where attributes and measures are collected together.

  2. If a Custom Subject Area was created for the space, click the change Subject Area icon to access its measures.


  3. Use Search to quickly find a measure when you know its name or click Measures to view all measures.
  4. Select a measure. The Measure options panel opens. Measures from Default Subject Areas and Custom Subject Area are defined differently.
    • If the measure is from the Default Subject Area:

      1. Click to change the Aggregation type, if you don't want the default. Click Back when you are done.
      2. Click to change the Date Type. Usually you don't want the default, Load Date, that is when data was last refreshed in the space. You may rather want something like the Order Date. It depends on your particular analytical requirements.
      3. Click Back when you are done.
    • If the measure is from a Custom Subject Area:

      1. Select the date type.

      1. Select the aggregation. The aggregation is how the KPI is calculated from the numeric data, such as a sum or an average.
      2. Click Save.

Format a KPI

  1. From the KPI Builder, select the Measure tab.
  2. Click Formatting. You can format the following:
    • Units—None (no commas), Thousands (K), Millions (M), Billions (B), or percent (%). The default Auto is chosen by dashboards.
    • Suffix—By default there is no suffix label after the measure number. You can add the percent sign label (%).
    • Decimal—0–3 decimal places, or All. The default Auto is what is used by the base data.
    • Currency—By default there is no currency prefix label. Select one from the list.
  3. Click Back when you are done.
  4. Click Style Settings to apply styles to the measure.
  5. Select a font face from the list.
  6. Select a font color.

    Tip: You can enter the hex number for the color. This is helpful when you use standard colors and a have a list of their hex numbers.

  7. Click Back when you are done with the Style Settings.
  8. If you don't want to show the measure title but not the data, toggle the data off.

  9. Click Save. The KPI Builder closes and the KPI widget displays on the dashboard, where you can resize and move it to fit your dashboard design.

Add an Expression to a KPI

Some report expressions may already be listed in the KPI Measure list. Check the list before creating a new expression. Expressions created for a KPI are saved for only the KPI and cannot be shared.

  1. From the KPI Builder, click the Measure tab.
  2. Click the Add Expression icon. The Expression Builder opens.

  3. In the Expression Builder, name the expression.
  4. Enter the expression.
  5. Start typing the name of one of the existing measures in the Code field. Type-ahead search helps you find the relevant measures.
  6. Select the operator from the list or type a shortcut such as asterisk (*).
  7. Select another measure and iterate until the expression is complete.

  8. Optionally, click the selected measure to change its Aggregation or Analyze By Date settings, then click Done.

    Tip: The message "Expression is incomplete" displays at the bottom and Done is unavailable until there is a complete expression in the Code field.
  9. Click Done. The title and value of the expression display in the KPI widget.
Tip:: To edit an existing expression, select it in the KPI Measures list and hover over it to see the Edit button.

Change the Title of a KPI

  1. Click the Title block to enter a different title, or you can toggle the title off so it does not display.

    Tip: You can use variables with either the GetVariable('variable_name')or V{variable_name} syntax in the title.
  2. Click Style Settings to change the title font color. As with the measure, you can enter a hex value for the color.

Add an Indicator Icon to a KPI

  1. In the KPI Builder, click Indicator to add an indicator icon. It is toggled off by default, so first toggle it on.

  2. Select the measure or expression for the indicator.
    Tip: The indicator can use a different measure than the main KPI measure.
  3. Click Conditional Formatting.

  4. Use the interval buttons, value slider, and shape/color menus to specify the ranges to apply to the indicator.

  5. Click Save. The widget displays on the dashboard, and you can move and resize it just like a dashlet.
    Tip: In some cases, you may need to Publish (Save) the dashboard to refresh the data and indicator.

Add a Sparkline

A sparkline is a small graph that represents the measure of the KPI and an attribute. The sparkline chart formats include column, bar, line, spline, area, and areaspline.

  1. Choose an attribute.
  2. Pick a chart type.
  3. Select a color.

  4. Click Save.
  5. Click Close.
  6. Resize the KPI dashlet if needed.
    Tip: If a KPI is sized too small, the sparkline chart will not display.
  7. Publish (save) the dashboard. The dashboard user can hover over the sparkline chart to see additional information in the tooltip.

    Tip: If a drill path is defined, the sparkline tooltip shows the drill icon, and the user can drill down.

Select KPI Layout

  1. In the KPI Builder, select General.

  2. Under KPI Layout, select the preferred layout for the chart, indicator, and body text. The available options reflect which items are enabled on your KPI.

  3. Click Save.

Add a Tooltip

  1. Select the KPI.
  2. Click Edit.
  3. Select the Edit Dashlet Properties icon.

  4. In the Description box, enter the text you want the user to see. For more control over formatting, use carriage returns and extra spaces in the text.

    Tip: Use variables in the description box with either the GetVariable('variable_name') or Vvariable_name>} syntax. Contact your administrator if you need assistance using variables.
  5. Click Apply.
  6. Publish (save) the dashboard. Hover over the KPI to see its tooltip.

Change the Background and Border Color of a KPI

  1. Select the KPI to activate the dashboard style bar.
    Note: The style bar functions will vary based on the dashlet you select or if you select multiple types of dashlets at the same time.
  2. Click the background color editor to change the background color of the selected KPI dashlet.

  3. Select the preferred background color. You can choose from suggested colors or click the dropper to pick from a color slider which includes the option to enter a hex value. If you prefer no background color, select the red slash option.

  4. You can use the dashboard style bar to display or hide the border and change the color of the border stroke. Similar to the background color, you can customize the color using the dropper or enter a hex value for the border color. If you desire no border, select the red slash option.

    • There are additional features you can edit such as border radius, border thickness, padding and shadow.

    • The dashboard style editor also provides options to stack dashlets relative to each other.

  5. Click Publish to save all the changes.

Add a Drill-Across Link to Another Page

  1. A drill-across link opens a specific dashboard page when you click on the KPI widget.
  2. Select the KPI, click Edit, and select Drill Across.

  3. From the Drill Across options, select a page and optional parameters, then click Apply. See Adding Drill-Across Links.
  4. Save (publish) the dashboard.
    Tips:
    • The KPI shows a link indicator so that the user knows to click and drill.
    • Hovering over a KPI reveals the linked page name and description, if any.

Adjust Font Size Ratios

The scaling ratio settings control the size of the title text versus the measure value number. The slider changes the sizes by proportion.

Make Font Sizes Consistent Across Multiple KPIs

The fonts inside KPIs are responsive and increases or decreases according to the size of the browser window or tablet screen. When you have multiple KPIs, this can result in inconsistent font sizing. If you prefer to keep font sizes consistent even as the dashboard or dashlet dimensions change, use the Make Font Sizes Consistent option.

You can have multiple KPIs that have the same unit formatting, but the numeric ranges vary widely and the font sizes are all different.

  1. In Edit mode, select a KPI. The dynamic toolbar appears at the top of the dashboard and shows the Make Font Sizes Consistent option.
  2. Toggle the option.

  3. Repeat step 2 for the additional KPIs. The font sizes become consistent.

  4. Click Publish to save your changes. Notice that when you resize the dashboard, the KPIs retain their responsiveness while maintaining consistency.