diff --git a/grafana/dashboards/internal/drive-details.json b/grafana/dashboards/internal/drive-details.json index f66fb92b5f..5b75729b19 100644 --- a/grafana/dashboards/internal/drive-details.json +++ b/grafana/dashboards/internal/drive-details.json @@ -913,7 +913,7 @@ "group": [], "metricColumn": "none", "rawQuery": true, - "rawSql": "SELECT CONCAT_WS(' - ', round(convert_km(start_km, 'km')), round(convert_km(end_km, 'km')))\nFROM drives d\nWHERE d.id = $drive_id", + "rawSql": "SELECT CONCAT_WS(' - ', round(convert_km(start_km, '$length_unit')), round(convert_km(end_km, '$length_unit')))\nFROM drives d\nWHERE d.id = $drive_id", "refId": "A", "select": [ [