apache-superset

Superset: How to Change Time Grain option dynamically


I have 3 time-series bar charts with different time grain values (day, week, and month) on Superset. The rest is the same.

Is there a way to make it (time grain selection) a filter or something so that I don't have to build very similar 3 charts?


Solution

  • You can select the "Show SQL Granularity Dropdown" when creating a filter box. This will allow you to change the time grain in the filter and allow you to have 1 chart, e.g. a time series table that you can change the time grain for allowing you to display DoD, WoW, YoY, etc.