Providing Data

The Dashboard Designer allows you to bind various dashboard items to data in a virtually uniform manner. To learn more, see the Binding Dashboard Items to Data topic.

The only difference is in the data sections that the required dashboard item has. This topic describes how to bind a Card dashboard item to data in the Designer or in code.

Binding to Data in the Designer

The image below shows a sample Card dashboard item that is bound to data.


To bind the Card dashboard item to data, drag and drop a data source field to a placeholder contained in one of the available data sections. A table below lists and describes Card data sections.


Processed as



Measure (both Actual and Target values)

Contains data items used to calculate values displayed within cards. Data items are arranged in containers. Each data item container can hold two data items. The first item contains actual data and the second item (optional) contains target data. If both items are provided, cards show the difference between actual and target values.

You can fill several data item containers in the Cards section and use the Values drop-down menu to switch between the provided values. To invoke the Values menu, click the DashboardItems_OtherElements icon in the dashboard item caption or use its context menu.


This drop-down menu is available if the Series section is not empty. Otherwise, a separate card is created for each data item container, and all cards are displayed simultaneously.



Contains data items whose values are used to label cards.



Provide a dimension whose data will be used to visualize values using sparklines.

Binding to Data in Code

To provide data for the Card dashboard item, use the following properties.




To provide data used to calculate values displayed within cards, do the following.

  1. Create a data item container (a Card object).
  2. Assign a measure used to calculate actual values to the KpiElement.ActualValue property.

    Optionally, assign a measure to be used to calculate target values to the KpiElement.TargetValue property.

  3. Add the Card object to the CardDashboardItem.Cards collection.


How to: Bind the Card Dashboard Item to Data and Customize the Card Layout