我想在Azure工作簿中创建一个可选的下拉参数。创建下拉参数用这个指南是直接的
然后,该参数可以在KQL 如本例所示中引用
requests | where name == '{RequestName}'
到目前为止,我希望这个参数是可选的,如果在下拉列表中没有选择一个值来获得所有未经过滤的结果,就像|where部分根本不在那里一样。现在,如果没有设置这个参数,我就会得到一个Query could not be parsed error。
|where
Query could not be parsed error
这个是可能的吗?
发布于 2022-03-29 07:34:13
requests | where isempty('{RequestName}') or (name == '{RequestName}')
https://stackoverflow.com/questions/71657990
相似问题