[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Collapse]Report and Dashboard Server
  License and Distribution
 [Expand]Administrative Panel
 [Expand]Create Reports
 [Collapse]Create Dashboards
   Create and Customize a Dashboard
   Bind a Dashboard to Data
   Add Dashboard Items and Perform Basic Data Shaping
   Customize the Dashboard Appearance
   Provide Interactivity to the Dashboard
   Create a Calculated Field
   Add Filter Elements
   Customize the Dashboard Layout
   Add a Dashboard Parameter and Filter Data
   Export the Dashboard and Its Items
 [Expand]Configuration and API
  User-Specific Functions
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Bind a Dashboard to Data

This tutorial demonstrates how to bind a dashboard to a data source.

Expanded Create a Data Model and Dashboard

Before creating dashboards, you need to define data models that obtain the necessary data from your data providers. For this tutorial, prepare the Northwind data model providing the SalesPerson table.

Open an existing dashboard or create a new one as described in the Create and Customize Dashboards document to get started.

Expanded Bind the Dashboard to Data

Do the following to obtain a dashboard's dynamic data from an external data source:

  1. Click the main menu button and select Data Sources.

  2. In the Used Data Sources section, click Add to create a new data source.

  3. On the first page of the invoked Dashboard Data Source Wizard, select an available data model and click Next.

  4. On the next page, you can choose which tables, views and/or stored procedures to add to the data source. Select the SalesPerson table for this tutorial.

    You can also create a custom query by clicking the plus button in the Queries category. The invoked Query Builder allows you to join multiple tables as well as perform various data shaping operations.

    Click Finish to complete the wizard.

Expanded View the Result

The Data Sources screen now contains the added data source and displays available data fields.

You can add a new query or calculated field to the data source if required.

Expanded See Also

Is this topic helpful?​​​​​​​