Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

This module helps site builders create reporting-friendly datasets from Drupal entities. It provides a visual interface to select fields and automatically generates SQL views or materialized tables that can be used with Drupal Views or exported to other tools for analysis and reporting.

Overview

Reporting Dataset provides a flexible way to create analytics-friendly datasets from Drupal entities.

Drupal stores entity data across many normalized tables, which makes reporting and analytics queries complex. This module allows site builders to visually select fields from entities, paragraphs, and nested structures and automatically generate SQL views or materialized datasets for reporting and export.

Key Features

  • Visual schema explorer to browse entity structures
  • Drag-and-drop dataset builder
  • Supports nodes, paragraphs, nested paragraphs, and entity references
  • Automatic SQL VIEW generation
  • Optional materialized dataset tables for performance
  • Multiple data strategies: Expand, Aggregate, JSON
  • Multilingual dataset support
  • Dataset rebuild via UI, cron, or Drush
  • Extensible via Drupal hooks

Using the Dataset with Drupal Views

Each dataset generated by this module creates a SQL view or materialized table in the Drupal database.

These datasets can be used as a data source in Drupal Views to build reports, dashboards, and exports.

For easy integration with Views, this module works well with the contributed module
View Custom Table,
which allows Views to use custom database tables as a base table.

Typical workflow:

  1. Create a dataset using the Reporting Dataset builder.
  2. The module generates a dataset table or SQL view such as reporting_dataset_article.
  3. Install and enable the View Custom Table module.
  4. Create a Drupal View using the generated dataset table.
  5. Display the data as a report, dashboard, or export.

Datasets can also be exported using modules such as Views Data Export.

Use Cases

  • Reporting dashboards
  • Data portals
  • CSV exports
  • BI tools such as PowerBI, Tableau, and Metabase
  • Analytics pipelines
  • Complex content structure reporting

Example

Entity type: node
Bundle: article

Selected fields:

  • node.title
  • node.created
  • node.field_tags.name

Generated dataset view:

reporting_dataset_article

This dataset can be queried directly in the database or used through Drupal Views for building reports and exports.

Future Roadmap

Future improvements planned for this module include:

  • Additional extension hooks to allow custom modules to alter schema discovery and dataset generation
  • Hooks for modifying generated SQL before dataset creation
  • Hooks for customizing dataset build and refresh lifecycle
  • Hooks for extending field handling and dataset strategies

These hooks will make it easier for other modules to integrate with and extend the Reporting Dataset module.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Mar 2026
Latest release
5 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.0.x-dev Dev 10–11 Mar 26, 2026
1.0.0-alpha2 Pre-release 10–11 Mar 9, 2026
1.0.0-alpha1 Pre-release Mar 9, 2026
1.0.x-dev Dev 10–11 Mar 9, 2026