Table of Contents

Displaying a custom empty component message

This tutorial demonstrates how to add a custom message when a query returns no results for any of the following components of a dashboard:

  • Table
  • Grid
  • Pie & donut chart
  • Column & bar chart
  • Line & area chart
  • Timeline
  • Node edge graph.

This way you can let users know why there is no data in your specific case.

The content and screenshots for this tutorial have been created in DataMiner 10.3.11.

Note

Depending on your DataMiner version, you may need to activate a soft-launch option to be able to use the grid or timeline component. See Soft-launch options.

Overview

Step 1: Add a component that allows a custom message

  1. Drag and drop any of the above-mentioned components to the dashboard, for example a table.

Possible components
DataMiner 10.3.11 with soft-launch options ReportsAndDashboardsScheduler and ReportsAndDashboardsDynamicVisuals enabled.

  1. Add a query to the component.

Step 2: Configure the custom message on the component

Configure the message that should be shown when no data is received for the query:

  1. Select the component and go to the layout settings on the right side of the dashboard.

  2. Under Advanced, set the Empty result message to the message you want the component to display when no data is returned for the query.

    Text Field

The custom message will now be properly configured.

The example above will result in the following message:

Custom message