Search code examples
apache-superset

How to MTD, YTD in Apache Superset?


I would like to create a dashboard with month to date (MTD) and year to date (YTD) charts. However, I do not want to update my date range each month. A fixed date range would do this. Choosing 1 months ago give the last 30days. Using last month gives me last month and everything from this month. Yet, this month is not supported. MTD doesn't work either. I am using Superset version 0.24.0


Solution

  • I figured it out! Use 1st for MTD and Jan 1st for YTD.

    For newer versions of Superset, this quarter is supported for quarter to date (QTD) charts.