time-seriesapache-superset

How to change "Time Grain" in Superset


I am trying to create a time series chart in Superset using a field named "created_at" which is a timestamp. But in the Superset interface, I can't change the "Time Grain" at all but created_at was picked up automatically.

enter image description here

Any idea how to resolve this issue? I wanted to draw a daily timeseries chart.


Solution

  • It was a connection string issue. postgresql+psycopg2 should be used instead of postgresql