<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error in 'EvalCommand': Type checking failed. '/' only takes numbers. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-in-EvalCommand-Type-checking-failed-only-takes-numbers/m-p/684243#M233575</link>
    <description>&lt;P&gt;Thank you so much! That worked!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 13:23:12 GMT</pubDate>
    <dc:creator>sumarri</dc:creator>
    <dc:date>2024-04-15T13:23:12Z</dc:date>
    <item>
      <title>Error in 'EvalCommand': Type checking failed. '/' only takes numbers.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-EvalCommand-Type-checking-failed-only-takes-numbers/m-p/684241#M233573</link>
      <description>&lt;P&gt;I am getting this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error in 'EvalCommand': Type checking failed. '/' only takes numbers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is lines of SPL:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| stats count as "Count of Balances", sum(BALANCECHANGE) as "SumBalances" by balance_bin&lt;BR /&gt;| eventstats sum("SumBalances") as total_balance&lt;BR /&gt;| eval percentage_in_bin = round(("SumBalances" / total_balance) *100, 2)&lt;BR /&gt;&lt;BR /&gt;What could be causing this? Is there a way to olve this without the / symbol?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 13:07:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-EvalCommand-Type-checking-failed-only-takes-numbers/m-p/684241#M233573</guid>
      <dc:creator>sumarri</dc:creator>
      <dc:date>2024-04-15T13:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'EvalCommand': Type checking failed. '/' only takes numbers.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-EvalCommand-Type-checking-failed-only-takes-numbers/m-p/684242#M233574</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;eval&lt;/FONT&gt; is trying to divide a string literal ("SumBalances") by a field, which won't work.&amp;nbsp; Replace the double quotes with single quotes or remote the double quotes.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 13:17:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-EvalCommand-Type-checking-failed-only-takes-numbers/m-p/684242#M233574</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-04-15T13:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'EvalCommand': Type checking failed. '/' only takes numbers.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-EvalCommand-Type-checking-failed-only-takes-numbers/m-p/684243#M233575</link>
      <description>&lt;P&gt;Thank you so much! That worked!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 13:23:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-EvalCommand-Type-checking-failed-only-takes-numbers/m-p/684243#M233575</guid>
      <dc:creator>sumarri</dc:creator>
      <dc:date>2024-04-15T13:23:12Z</dc:date>
    </item>
  </channel>
</rss>

