Dashboards & Visualizations

Overlay in column chart not showing

jvmerilla
Path Finder

Hi,

I'm trying to create a column chart with overlay but when I set the overlay it is not showing in the chart.

Here's my query:

index="sample_data" sourcetype="management_sampledata.csv" date_month=* Status=* "Ticket Type"=* Priority=*
| eval _time = strptime(Date, "%m/%d/%y")
| eval Month = strftime(_time, "%b")
| stats count(Ticket_No) as Total by Month
| appendcols
    [search index="sample_data" sourcetype="management_sampledata.csv" SLAResolution=Met
    | eval _time = strptime(Date, "%m/%d/%y")
    | eval Month = strftime(_time, "%b")
    | stats count(Ticket_No) as On_time by Month]
| eval percentage = round((On_time/Total)*100)."%"
| table Month, On_time, Total, percentage

And here's the result:

alt text

The percentage is the overlay but it does not show anything.

What could be the problem with this?

Best regards!

0 Karma
1 Solution

renjith_nair
Legend

Try removing the character "%" from your percentage field and let it as int/float.

---
What goes around comes around. If it helps, hit it with Karma 🙂

View solution in original post

renjith_nair
Legend

Try removing the character "%" from your percentage field and let it as int/float.

---
What goes around comes around. If it helps, hit it with Karma 🙂

jvmerilla
Path Finder

It works!

I didn't realize that I just have to remove the "%" character.

Thank you! 🙂

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...