这段代码:
let myvar = Usage| where IsBillable == true| distinct DataType;
抛出错误
no tabular expression found
最佳答案
let
用于查询范围内的临时定义。
您的代码不包含查询,仅包含 let
语句。
您可以按如下方式使用它:
let myvar = Usage | where IsBillable | distinct DataType;
myvar
附注
IsBillable == true
可以缩写为 IsBillable
关于azure - 如何将 KQL 查询的输出存储在变量中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75195663/