How can I create independent filter controls for each chart in Superset 6.1.0? #44249
Replies: 1 comment
|
Superset 6.1 does not have a built-in “filter panel inside each chart tile” mode. Native filters are dashboard components: you can scope each filter to only one chart (or a selected group of charts), but the controls are still rendered by the dashboard Filter Bar. The lowest-maintenance native setup is therefore:
The query isolation is supported; the requested placement is not. A visualization plugin is not a drop-in replacement for native filters. It can render controls, but to participate in dashboard cross-filter state it must publish/consume data masks and you would own that frontend behavior across Superset upgrades. A simpler custom chart can also put local controls inside its own plugin and include their values in that chart's query, but those are chart-local controls, not native dashboard filters. If “controls visually inside each tile” is a hard requirement, the realistic options are a custom visualization/plugin or embedding separate dashboards/components in your host application. There is no configuration flag in 6.1 that moves scoped Native Filter controls from the Filter Bar into their target chart tiles. |
Uh oh!
There was an error while loading. Please reload this page.
Hi Superset Community,
I am using Apache Superset 6.1.0 in Docker.
I have a dashboard with multiple charts. I want each chart to have its own filter controls displayed directly above/inside that chart.
For example:
Chart 1 – ICE FUTURES COCOA PRICE
Filters:
ASSET TYPE, GROUP, CHAIN, ASSET, GRADE, SPECIFICATION,
COUNTRY, CONTRACT MONTH, YEAR, EXPIRY DATE, FORWARD MONTH,
INSTRUMENT TYPE, etc.
Chart 2 – Cocoa FOB prices
Filters:
A different set of filters such as COUNTRY, YEAR, GRADE, etc.
Required behavior:
I have checked Native Filters in Superset. I understand that Native Filters can be scoped to selected charts, but the filter controls themselves remain in the dashboard-level Filter Bar.
My question is:
Does Superset 6.1.0 have any built-in or recommended way to create this type of independent, per-chart filter UI?
If not, what is the recommended approach?
Specifically, is there an existing plugin/extension mechanism or frontend component that can be used to render filter controls inside each chart tile while keeping the filter state and query isolated to that chart?
I would prefer to use existing Superset functionality wherever possible and avoid maintaining a large fork.
Environment:
Any guidance or examples from the Superset community would be greatly appreciated.
All reactions