Repository navigation
Include applied filter settings in Excel and CSV exports (with configuration controls) #44864
andreebesemer
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem Description
Currently, when exporting table charts or dashboard data to Excel (
.xlsx) or CSV, Superset only exports the raw filtered data rows. The active filter parameters (native filters, filter bar settings, time ranges, etc.) that generated the specific dataset are lost upon export.This makes it difficult for recipients of the exported files to understand or verify the context of the data (e.g., which time range, region, or status was selected when the export was triggered).
Proposed Solution / Desired Feature
Enhance the export functionality to include applied filter criteria alongside the exported data:
.xlsx):Filter SettingsorMetadata): A dedicated worksheet listing all active filters applied at the moment of export (e.g., Filter Name, Selected Values, Time Range, Export Timestamp)..csv):data.csvandfilters.csv.# Applied Filters: ...).Configuration & Control Options
To ensure backward compatibility and prevent breaking downstream automated scripts (e.g., automated CSV parsers), the behavior should be configurable:
superset_config.py(e.g.,EXPORT_INCLUDE_FILTER_METADATA = True/False) to enable/disable the feature system-wide.Use Case & Impact
All reactions