0
我在應用程序的見解分析聚集在應用洞察分析的標量處理
let total = exceptions
| where timestamp >= ago(7d)
| where problemId contains "Microsoft.ServiceBus"
| summarize sum(itemCount);
let nullContext = exceptions
| where timestamp >= ago(7d)
| where problemId contains "Microsoft.ServiceBus"
| where customDimensions.["SpecificTelemetry.Message"] == "HttpContext.Current is null"
| summarize sum(itemCount);
let result = iff(total == nullContext, "same", "different");
result
此查詢,但我得到這個錯誤
無效的關係運算符
我很驚訝,因爲昨天用相同的代碼(據我記得),我得到一個不同的錯誤,說支票的兩面都需要標量,但我的理解是聚合即使它顯示一個值(在sum_countItem下)也不是標量。但是找不到改變它的方法,或者現在擺脫這項工作。
謝謝