Before you Begin

This tutorial shows you how to create a custom message to replace the default message that displays in the visualization when the data elements and possible filters result in No Data Found.

Background

In an Oracle Analytics workbook if the data elements selected for a visualization don't produce results, the message No Data Found appears in the visualization. As the workbook author, you can create a custom message to help explain why the visualization results were no data found.

You should try to write a generic enough custom message to apply to most situations in your dataset. The same custom no data message appears when a different data element doesn't return any results.

What Do You Need?

Create a Dataset

In this section, you add the sample_order_lines.xlsx to Oracle Analytics to create a dataset table.

  1. Sign in to Oracle Analytics.
  2. On the Home page, click Create, and then click Dataset.
  3. In Create Dataset, click Drop data file here or click to browse, select the sample_order_lines.xlsx file, and then click Open.
  4. In Create Dataset Table from sample_order_lines.xlsx, click OK. Click Save Save icon.
  5. In Save Dataset As, enter sample_order_lines, and then click OK.


    Description of sample_order_lines.png follows
    Description of the illustration sample_order_lines.png

Create a Workbook

In this section, you create a visualization with the sample_order_lines dataset table.

  1. Click Create Workbook.
  2. In the Data panel, hold-down the Ctrl key, select Product Category, Customer Segment, Quantity Ordered, Sales, and Profit.
  3. Right-click, click Pick Visualization, and then click Table.


    Description of sales_profit_table.png follows
    Description of the illustration sales_profit_table.png

Filter the Data in the Visualization

In this section, you add a filter to the visualization.

  1. Click Add Filter Add Filter icon. From the sample_order_lines data elements list, click Ship Date.
  2. In Ship Date, enter 1/1/2012 for the beginning of the date range, and then enter 12/31/2012 for the end of the date range.


    Oracle Analytics doesn't find any records that match the specified date range. The No Data Found message appears in the visualization.

    Description of no_data_found.png follows
    Description of the illustration no_data_found.png

Change the No Data Found Message

In this section, you enter custom text to replace the default no data message.

  1. Click the workbook Menu Menu icon, select Workbook Properties, and then click Auto in the No Data text row.
  2. Click Custom, enter There is no data for the Ship Date Year, and then click OK.


    The custom no data message appears immediately in the visualization.

    Description of new_no_data_message.png follows
    Description of the illustration new_no_data_message.png

Edit the No Data Found Message

In this section, you change the data element used in the filter to see your custom no data message.

  1. Click the Ship Date filter, and then click Delete.
  2. Drag Order Date from the Data panel to the Filter bar. Enter 1/1/2020 for the beginning of the date range, and then enter 12/31/2020 for the end of the date range.

  3. The custom no data message doesn't match the selected data element that caused the issue.

    Description of msg_data_mismatch.png follows
    Description of the illustration msg_data_mismatch.png
  4. Click the workbook Menu Menu icon, select Workbook Properties. In the No Data text row, enter There is no data for the Date Year to update your custom message, and then click OK.

Learn More