Robert Cain continues a series on KQL:
In my previous post, Fun With KQL – DCountIf, we saw how you could apply a filter to the data directly within the
dcountif
function.You may have been thinking gosh, it sure would be nice if we could do that within the
count
function! (Note, you can read more about count in my Fun With KQL – Count blog post.)Well fear not intrepid Kusto coder, there is just such a function to fit your needs:
countif
.
As always, Robert has examples for us, so check those out.