Datalore 2024.4 Help

Work with interactive reports

This topic explains how to work with interactive reports. This type of report allows users to view the notebook output as a completed HTML page, interact with it, and edit the published notebook's copy collaboratively. Compared to static reports, interactive reports allow viewers to dynamically change data presentations (tables and charts) using interactive controls.

Before you open an interactive report

Refer to these topics to learn how to build, publish, and share a static report.

  • Build a report: describes the process of preparing the notebook as a report before publishing it.

  • Publish a report: describes the process of publishing the notebook as a report.

  • Invite report viewers: describes the process of inviting users to view a report with restricted access.

How you can open a report varies based on your access to the report. View the details in this topic.

Interact with the report

Interactive reports allow viewers to manipulate data presentations (tables and charts) using the provided controls and table interactivity.

  1. Open the report and click the Recalculate button in the upper right corner to ensure report interactivity. In the image below, there is an interactive report containing a table and a chart.

    Unedited interactive report
  2. Use one of the provided controls to change the respective data presentation. If the Reactive mode is on, the report will update automatically. If Reactive mode is off, click Recalculate in the upper right corner.

    In the example below, the controls are:

    • A slider used to select a number of rows displayed in the table (changed from 5 to 8)

    • A dropdown used to select a column for the Y axis (changed from kernel_python 3.4 to kernel_python 3.6)

    Using controls to change data displays
  3. Manipulate with table content just as you would in the editor

  4. To recalculate the whole report, click Recalculate in the upper right corner.

Reset an interactive report

Perform this procedure to reset the interactive report to its initial state.

  1. Click the ellipsis in the upper right corner of the report. This will open a context menu.

    Report options for owner
  2. Select Reset report. Now the report is displayed as you first opened it in this session.

View emails of report running users

The REPORT_RUNNER_EMAIL environment variable is populated with the emails of those viewers who run interactive reports (initiators). This information can help you, as a report owner, modify the content of your report based on which user is viewing or running it. For example, you can change the options available in the interactive controls used in the report, or hide certain categories from the tables provided in it.

Cases of when the REPORT_RUNNER_EMAIL environment variable is populated are different in the On-Premises and Cloud versions of Datalore.

On-Premises

Cloud plan

Cloud Free plan

For all types of authorized users:

  • Report owner

  • Regular type user

  • Viewer type user

For certain users:

  • Team owner

  • Team member

For one user type only:

  • Report owner

To access the environment value, you can use the os module:

import os os.environ.get('REPORT_RUNNER_EMAIL')

Related topics

Refer to these topics to learn about other actions with interactive reports.

Last modified: 27 September 2024