Data views
- Last UpdatedJan 26, 2026
- 2 minute read
Data views allow you to access subsets of data items from CONNECT in data-driven applications, where the items can be used for data science enablement. With data views, you can bridge your raw CONNECT data to third-party applications like Microsoft Power BI, where it can be used for analytics, machine learning, and so on. You can programmatically retrieve data view content using the CONNECT API. Data views deliver shaped data that is ready for consumption because it is normalized, aligned, and contextualized.
Working with a data view involves two phases:
-
Data view creation and configuration
-
Data set retrieval
Data view creation and configuration
First, you must create and configure a data view. The CONNECT resources included in the data view are based on the result of one or more queries, which you must configure. Streams that can be included in a data view are known as data items. Properties from data objects and information about the data items (such as ID and metadata) can be included in the data view as fields.
For more information, see Create a data view.
Data set retrieval
After you create and configure a data view, you can programmatically retrieve the data set that it resolves to using the CONNECT REST API. With a data-driven application (like Microsoft Power BI), you can leverage the data view for data science enablement.
For more information, see Retrieve data for a data view.
Data view objects
A data view is a declarative query and shape for your data. It includes the following objects, which you will configure as you complete the data view creation workflow:
-
Query: Determines what data items are included in a data view. Queries can currently only include streams. A data view can have multiple queries.
-
Data field set: Collections of fields originating from the same query.
-
Data view shape: Determines if the data should be returned in the standard grouped row format or a narrow view, which is a pivot of the standard table.
-
Index field: Determines the primary index type and label of the index. The index must be a timestamp and displays in the first column of the data view.
Data views also include other configurations such as grouping instructions and default date range and interval.
Design in iterations
Designing and editing a data view is an iterative process. Your first iteration of the data view will likely not work as expected and will require additional iterations. Adjust the included queries and data fields until it meets your requirements.