我有一個AI儀表板,其中有許多查詢顯示上次運行結果。每個查詢都會這樣做: let lastRun = customMetrics
| where session_Id != ''
| top 1 by timestamp desc
| project session_Id;
customMetrics
| where session_Id in (lastRun)
...
如前所
在我的一些報告中,我想排除週末發生的事件,因爲我們的應用程序是週末未運行的業務應用程序,但我們會執行代碼更新並生成結果在週末進行可能會歪曲數據的測試。 我已經試過: and toint(dayofweek(timestamp)) >= 1 and toint(dayofweek(timestamp)) >= 5 //between Monday and Friday 但dayofweek返回一個時