Forum Discussion

endakelly's avatar
endakelly
Brass Contributor
Mar 27, 2020
Solved

Split visualisation in workbook

I'm working on a workbook/dashboard and I have this query which should show in a bar or area chart successful and failed logins by client app.   SigninLogs | where TimeGenerated > ago(7d) | wher...
  • CliveWatson's avatar
    CliveWatson
    Apr 01, 2020

    endakelly 

     

    How about splitting the count() ?

    SigninLogs
    | where TimeGenerated > ago(30d)
    | where isnotempty(ClientAppUsed)
    | extend Result= iff(ResultType ==0 ,"failure" ,"success" )
    | summarize fail=countif(Result=="failure") , success=countif(Result=="success") by   ClientAppUsed

     

Resources