I’ve been struggling with an issue for quite some time now.
Our datasource is connected to Grafana. To validate it against our current system, I extracted a sample with two columns: ‘itemcode’ and ‘pickup_date’ without any specific conditions. Upon opening this data sample in Excel, I found that the count matches perfectly with our system, which was great news.
However, when I proceeded to create a time series visualization and counted it within Grafana, I noticed a discrepancy in the date count compared to what Excel showed me. Despite spending the entire week attempting to validate this issue, I haven’t been able to find a resolution.
this is the query "
SELECT
COUNT(*) AS shipment_count,
CAST([PICKup_Date] AS DATE) AS pickup_date
FROM
[DBMasterUni].[dbo].[C3PROJECT]
GROUP BY
CAST([PICKup_Date] AS DATE); "
and this is the result " i highlight date 04/11/2023 to just validate "
I’ve tried all the methods that I thought would have an effect. I attempted counting with just the PICKup_Date without casting it, with the cast, and with CONVERT , but none of these matched the count in Excel
What time range are you using in grafana time picker?
the time range that i’m using is the filter ’ today so far, or the last 24h ’ i try to apply different range and i try to change the time zone nothing happen also
Browser Time is Antarctica , and the time range