我有一个list of results,其中包含一段持续时间。我想排除持续时间为零的任何行。我尝试了以下但没有成功。
'class': option.class, to 'class': option['class'],
not M contains '00:00:00.000'
M > 0
我怀疑它与not M contains '12:00:00 AM'
表单中格式化持续时间的方式有关。这是有问题的公式和spreadsheet in question。
uploadData!A:M
答案 0 :(得分:0)
想出来!我只是使用FILTER函数来删除零持续时间,然后用查询包装它。您会注意到我必须将列引用从字母更改为数字才能使其正常工作。
=query(FILTER(uploadData!A:M,uploadData!M:M>0),"Select Col2, Col3, Col8, Col9, Col13 where not Col3 contains '"&JOIN("' and not Col3 contains '",filter(filter!A2:A,filter!A2:A<>""))&"' and Col2 contains 'Incoming' and not Col2 is null and not Col9 is null Order by Col13",1)