[]
        
(Showing Draft Content)

Selecting a Dataset

Selecting a dataset is the preliminary step before you start designing a dashboard. When you create a dashboard, you drag-drop the scenarios to the design area. Only after adding a dataset and binding attributes to these scenarios is the scenario meaningful. You can add multiple datasets in a single dashboard and bind different datasets to different scenarios.

You can set the data binding in two ways:

  • Drag-drop the scenario and then select the dataset

  • Select the dataset and then drag-drop the scenario

To Bind Data to a Dashboard Scenario

Follow the below steps to bind a dataset or model to a dashboard scenario.

Case 1: Drag-drop the scenario and then select the data

  1. Drag and drop any scenario onto the design area of the dashboard. Note that the Data Binding panel automatically expands as shown in the following image.

    Drag and Drop the chart scenario


    The chart's data source will be restricted and can only be selected from the Dashboard's Dataset or data model.


  2. From the Data Binding panel, choose the suitable dataset or model from the list. Direct datasets are available in the data binding dropdown list. See the Bind Direct Dataset section for more information.

    Note: For the direct datasets, note the following,

    1. In case the dataset can be converted into a direct query data model, the system generates a direct query data model to establish a direct connection with the data source of the dataset and execute queries against it.

    2. If the dataset cannot be converted into a direct query data model, the results of the dataset are loaded into memory. Subsequently, a direct query data model is generated, and the result set is stored in the memory.

    Choose Data


  3. Once the dataset or model is loaded successfully, you will see the measures and dimensions available in the dataset.

    image


    Please note that if the data is not in the list, you can still add it to the chart data binding panel. To add the data to the list, perform the following steps.

  • Click the Add button.

    Click Add button 1


  • The Choose Data dialog box is displayed.

    Choose Data dialog box


  • Select the data from this list and click OK. The dataset/data model will be added.


    Choose Data


    • For the Rich Text scenario, you can bind the data as shown below. For details refer to Rich Text

      Rich Text


    • For the 3D Scene scenario, you can bind the data as shown below.

      3  D scene dataset


  1. You can Refresh, or Auto-Refresh the selected dataset.

    scenario1 - Auto refresh


  • To refresh the dataset, click the iconSetting icon, and select the Refresh Data option.


  • To auto-refresh the dataset, click the iconSetting icon, and select the Set Auto Refresh option. The Auto Refresh Setting dialog box is displayed.

    Auto Refresh Setting dialog box


    The Set Auto Refresh dialog box has the following options.

    Auto refresh option


  • Select the desired option and click the Ok button.

    Click OK

Case 2: Select the data and then drag-drop the scenario

  1. Select the dashboard and click the Data Binding panel.

    Databinding in dashoard


  2. You can the dataset/data model as per your requirement for all scenarios. To add the datasets/data models, click the Add button. The Choose Data dialog box is displayed.

    Choose Data dialog box


  3. Select the data from this list and click OK. The dataset/data model will be added.

    Data Added 1


  4. Once data is selected, you can update the dataset schema for example, add measures, calculated columns, rename data columns, and set data format, etc.

    Add mesaures


  5. You can Refresh, or Delete the selected dataset.

    Refresh Dataset


  • To refresh the dataset, click the iconSetting icon, and select the Refresh Data button.


  • To auto-refresh the dataset, click the iconSetting icon, and select the Set Auto Refresh option. The Auto Refresh Setting dialog box is displayed.

    Auto Refresh Setting dialog box


    The Set Auto Refresh dialog box has the following options.

    Auto refresh option


  • Select the desired option and click the Ok button.

    Click OK


    In this example, we have selected the option Real Time. So, when the cache of the dataset changes, refresh is triggered, and the content of the rich text in the dashboard will be updated accordingly.


    If you select the Polling option, then you need to set the refresh interval as required. By default, the None option is selected.


  • To delete the dataset from the list, click the Delete button.

    Delete button

  1. Drag-drop the scenario and select the data from the list.

    drag and drop the scenario 1


Bind Direct Dataset

On selecting a direct dataset from the dropdown list, you will have the following options,

  1. When the dataset directly incorporates user input parameters, you have the option to assign a value to these parameters within the dashboard. These assigned values can then be used for query purposes.

  2. Use the settings icon next to the search box to configure and set the parameter values.

  3. Configure the Cache Settings for direct datasets referenced by dashboards from the info panel. Within the Info panel, proceed to the Caching section where you can enable the Allow Caching flag. Additionally, specify the Caching Interval and select the appropriate unit for the interval.

    DirectDataset-Caching


See Also

Introduction to Datasets

    Introduction to Direct Query Model

    Introduction to Cached Model