From 326124ec05b6b67b50abe3c8518174cfb17e0c16 Mon Sep 17 00:00:00 2001 From: Bailey Anderson Date: Tue, 5 Nov 2024 11:01:08 -0800 Subject: [PATCH] Update RealTime Dashboard Edit query so spike indicator always shows latest temperature --- samples/dashboard/dashboard-AIOquickstart.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/dashboard/dashboard-AIOquickstart.json b/samples/dashboard/dashboard-AIOquickstart.json index 3dd4efe..2c9731d 100644 --- a/samples/dashboard/dashboard-AIOquickstart.json +++ b/samples/dashboard/dashboard-AIOquickstart.json @@ -310,7 +310,7 @@ "kind": "inline", "dataSourceId": "a2a2a2a2-bbbb-cccc-dddd-e3e3e3e3e3e3" }, - "text": "OPCUA\n| where Timestamp between (_startTime .. _endTime)\n| where AssetId == _asset\n| project Timestamp, Temperature, Spike", + "text": "OPCUA\n| where Timestamp between (_startTime .. _endTime)\n| where AssetId == _asset\n| project Timestamp, Temperature, Spike\n| top 1 by Timestamp desc", "id": "b3b3b3b3-cccc-dddd-eeee-f4f4f4f4f4f4", "usedVariables": [ "_asset", @@ -380,4 +380,4 @@ "usedVariables": [] } ] - } \ No newline at end of file + }