Hi
I use the search below in order to display the data in a pie chart
| inputlookup host.csv
| lookup PanaBatteryStatus.csv "Hostname00" as host OUTPUT BatteryTemp00
| where BatteryTemp00 > 30
| stats count as NbHostBattSup30
| appendcols
[| inputlookup host.csv
| stats count as NbIndHost]
| eval NbHostBattInf30 = (NbIndHost - NbHostBattSup30)
| eval NbHostBattSup30=NbHostBattSup30, NbHostBattInf30=NbHostBattInf30
| table NbHostBattSup30 NbHostBattInf30
| transpose
I would like to just display one decimal
So I do this but it doesn't works
| eval NbHostBattSup30=round(NbHostBattSup30, 1), NbHostBattInf30=round(NbHostBattInf30, 1)
I would also have the result in bold and to display the integer value in addition to the percentage
could you help me please??
↧