Forum Discussion
Steven_Su
Feb 27, 2022Copper Contributor
Barchart when the returned result is zero
Hi, we want to create a barchart for the severity of the incident. However, we only have High incident now. The result could not show the zero for the medium and low. Is there any other alternative a...
- Feb 28, 2022
This will create a entry for any named Severity of Zero
let Sev_ = dynamic(['High','Medium','Low','Informational']); SecurityIncident |mv-expand NewSev=Sev_ |summarize Count = countif(NewSev==Severity) by Severity=tostring(NewSev)
Clive_Watson
Feb 28, 2022Bronze Contributor
This will create a entry for any named Severity of Zero
let Sev_ = dynamic(['High','Medium','Low','Informational']);
SecurityIncident
|mv-expand NewSev=Sev_
|summarize Count = countif(NewSev==Severity) by Severity=tostring(NewSev)
- Steven_SuMar 01, 2022Copper ContributorThanks for the reply and it is indeed the answer I want!