Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

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.

Activity

Total releases
4
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

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