Transformation, group by Date

My datasource is InfluxDb and the query is “SELECT ELAPSED(“value”)/-1000000000 FROM “tvstat” where $timeFilter ORDER BY time DESC”

Same issue with a more simple query SELECT “value” FROM “tvstat” WHERE (“device” = ‘Tele’) AND $timeFilter