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下)也不是标量。但是找不到改变它的方法,或者现在摆脱这项工作。
谢谢