How to combine PostgreSQL with time interval on grafana?

Hello all, I’m using PostgreSQL database to do some reports in grafana, I’m a beginner and still learning, and I need help because I don’t know how to connect $__timeFilter and connect data with grafana time range

welcome to the :grafana: forum, @aleeulinick

hmmm, have you seen this doc that helps explain global variables?