Need to use group by with filter #94
BhushanSolanki
started this conversation in
General
Replies: 1 comment
-
Here, we need to plot graph Active vs New cases. I have added additional column 'id' just to fetch data as its required by plugin.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The data I am using to plot time series on Grafana is in different columns (the data from different sources are in different columns). on this data we need to use group by data based on timestamp column so we can plot the average value on timeseries graph. We need to use the filter on timestamp column ( like
timestamp_field > $__timeFrom and timestamp_field < $__timeTo
) along with timestamp_field filter we need to add 1 more filter in query based on selection of Grafana dashboard variable (say city column; to plot data of selected/all cities).Can you help on the query?
Beta Was this translation helpful? Give feedback.
All reactions