Provide panel relative time macros #167
-
Global time variable |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Panel have access to those variables. Wasn't working for you? |
Beta Was this translation helpful? Give feedback.
-
Did anyone find a solution for this? I am trying to allow the user select the date range they want and pull that data but also pull the prior years data so they can compare it. So if a user selects 2024-01-01 00:00:00 to 2024-03-01 00:00:00 the relative from a year ago should be |
Beta Was this translation helpful? Give feedback.
-
Sorry it slipped through. As @tris |
Beta Was this translation helpful? Give feedback.
-
you can now use time macros as specified in https://grafana.com/docs/plugins/yesoreyeram-infinity-datasource/latest/query/macros/#time-macros-__timefrom-and-__timeto which will be interpolated in the backend and respect panel relative time. |
Beta Was this translation helpful? Give feedback.
you can now use time macros as specified in https://grafana.com/docs/plugins/yesoreyeram-infinity-datasource/latest/query/macros/#time-macros-__timefrom-and-__timeto which will be interpolated in the backend and respect panel relative time.