<?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: How do you format a table row as currency but not the column field only a specific row? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-format-a-table-row-as-currency-but-not-the-column/m-p/425525#M121982</link>
    <description>&lt;P&gt;@EmEdwards,&lt;/P&gt;

&lt;P&gt;Does this help?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval CurrentYear=if(Category=="Money","£".CurrentYear,CurrentYear)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You may add &lt;CODE&gt;"£".tostring(CurrentYear,"commas")&lt;/CODE&gt; as well &lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 13:59:32 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2019-01-23T13:59:32Z</dc:date>
    <item>
      <title>How do you format a table row as currency but not the column field only a specific row?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-format-a-table-row-as-currency-but-not-the-column/m-p/425524#M121981</link>
      <description>&lt;P&gt;I have a table that has various columns of Totals. However, the CurrentYear can represent different information.&lt;/P&gt;

&lt;P&gt;I only want to Format the row  Category = Money as a currency value = £100000&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EG

Category                          CurrentYear
Money                              100000
Cases                                    10
Visits                                     20
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm unsure how to format a row without formatting the entire column of CurrentYear.&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 13:53:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-format-a-table-row-as-currency-but-not-the-column/m-p/425524#M121981</guid>
      <dc:creator>EmEdwards</dc:creator>
      <dc:date>2019-01-23T13:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you format a table row as currency but not the column field only a specific row?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-format-a-table-row-as-currency-but-not-the-column/m-p/425525#M121982</link>
      <description>&lt;P&gt;@EmEdwards,&lt;/P&gt;

&lt;P&gt;Does this help?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval CurrentYear=if(Category=="Money","£".CurrentYear,CurrentYear)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You may add &lt;CODE&gt;"£".tostring(CurrentYear,"commas")&lt;/CODE&gt; as well &lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 13:59:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-format-a-table-row-as-currency-but-not-the-column/m-p/425525#M121982</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-01-23T13:59:32Z</dc:date>
    </item>
  </channel>
</rss>

