<?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: Having a space  as the thousands separator, and be able to order when you click on the column in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681839#M18937</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I did this ant it worked in replacing the comma, thank you.&amp;nbsp;&lt;BR /&gt;The N/A is in case i'ts empty.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;| eval value= if(value!="N/A", replace(tostring(value,"commas"),","," "),value)&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;But the thing is, I can't order it correctly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 10:27:31 GMT</pubDate>
    <dc:creator>alvesri</dc:creator>
    <dc:date>2024-03-25T10:27:31Z</dc:date>
    <item>
      <title>Having a space  as the thousands separator, and be able to order when you click on the column</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681713#M18927</link>
      <description>&lt;P&gt;Hi guys can you please help me ?&lt;BR /&gt;&lt;BR /&gt;I'm trying to use a space as thousands separator and I can't, the max that I could it's a comma with this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; eval value= if(value!="N/A",printf("%'d",value),value)
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Result = 123,456&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;so I guess I can change it with a replace maybe,&lt;BR /&gt;&lt;BR /&gt;But then we have &lt;STRONG&gt;problem number 2&lt;/STRONG&gt; ,&lt;BR /&gt;&lt;BR /&gt;When I try to sort the by value in the arrow of the column, the sort it isn't correct, and the bigger numbers are considerate as strings.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you guys help me solve this please ?&lt;BR /&gt;&lt;BR /&gt;Tell me if you need more things&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 18:44:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681713#M18927</guid>
      <dc:creator>alvesri</dc:creator>
      <dc:date>2024-03-22T18:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Having a space  as the thousands separator, and be able to order when you click on the column</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681716#M18928</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you should look&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;fieldformat&lt;/LI&gt;&lt;LI&gt;tostring(var,”commas”)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;which fulfills your requirement.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 17:58:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681716#M18928</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-22T17:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Having a space  as the thousands separator, and be able to order when you click on the column</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681831#M18935</link>
      <description>&lt;P&gt;Hi thank you for the reply,&lt;BR /&gt;&lt;BR /&gt;I tried that, and it works replacing the comma with a space, but the issue it's next when i click on the column to sort in a descending order, and the numbers are not sorted correctly, because some of them are string and others are numbers, and I tried the conversion "tonumber()"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 09:38:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681831#M18935</guid>
      <dc:creator>alvesri</dc:creator>
      <dc:date>2024-03-25T09:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Having a space  as the thousands separator, and be able to order when you click on the column</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681833#M18936</link>
      <description>&lt;LI-CODE lang="markup"&gt;| fieldformat value=replace(tostring(value,"commas"),","," ")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 25 Mar 2024 09:49:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681833#M18936</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-25T09:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Having a space  as the thousands separator, and be able to order when you click on the column</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681839#M18937</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I did this ant it worked in replacing the comma, thank you.&amp;nbsp;&lt;BR /&gt;The N/A is in case i'ts empty.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;| eval value= if(value!="N/A", replace(tostring(value,"commas"),","," "),value)&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;But the thing is, I can't order it correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 10:27:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681839#M18937</guid>
      <dc:creator>alvesri</dc:creator>
      <dc:date>2024-03-25T10:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Having a space  as the thousands separator, and be able to order when you click on the column</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681850#M18938</link>
      <description>Fieldformat is just to keep those values as numbers instead of covert those to string as happened with eval.</description>
      <pubDate>Mon, 25 Mar 2024 12:15:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Having-a-space-as-the-thousands-separator-and-be-able-to-order/m-p/681850#M18938</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-25T12:15:35Z</dc:date>
    </item>
  </channel>
</rss>

