Mar 27 2020 05:31 AM
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.
Mar 27 2020 08:04 AM
You can do this another way, when you edit the Column and with Column renderer options. You could also colour code the results column
Apr 01 2020 02:17 AM
Thanks for the reply @CliveWatson
That does work but it's not really what I'm after. Ideally I'd have a stacked chart so we could see the proportion of sign ins that were successful or failed versus the total.
It's very odd that the visualisation works in LA but not in the workbook.
Apr 01 2020 12:53 PM
Solution
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
Apr 02 2020 01:59 AM - edited Apr 02 2020 02:01 AM
That's done it @CliveWatson. Thanks!