<?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 to format large number to display millions? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/598823#M49122</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;somehow this does not work ! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2022 05:40:41 GMT</pubDate>
    <dc:creator>mihir_hardas</dc:creator>
    <dc:date>2022-05-23T05:40:41Z</dc:date>
    <item>
      <title>How to format large number to display millions?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/598342#M49061</link>
      <description>&lt;P&gt;I created a table visualization in dashboard studio. Search query has large numbers. How to format that number to display millions as 1.28M i.e with letter M&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not a mini-program with eval please. Need a good function, format specifer&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 16:53:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/598342#M49061</guid>
      <dc:creator>mihir_hardas</dc:creator>
      <dc:date>2022-05-18T16:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to format large number to display millions?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/598350#M49062</link>
      <description>&lt;P&gt;There's no Dashboard Studio option or function that do what you ask.&amp;nbsp; Consider asking for it at&amp;nbsp;&lt;A href="https://ideas.splunk.com" target="_blank"&gt;https://ideas.splunk.com&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;In the meantime, you can get the same effect with a little more SPL.&amp;nbsp; Use fieldformat to convert millions into a smaller number.&amp;nbsp; Use &lt;FONT face="courier new,courier"&gt;fieldformat&lt;/FONT&gt; instead of &lt;FONT face="courier new,courier"&gt;eval&lt;/FONT&gt; to preserve the original field value.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| fieldformat value = value / 1000000&lt;/LI-CODE&gt;&lt;P&gt;Then set these visualization options (as well as any others you need):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"options": {
        "unit": "M",
        "numberPrecision": 3
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 17:24:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/598350#M49062</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-18T17:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to format large number to display millions?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/598823#M49122</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;somehow this does not work ! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 05:40:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/598823#M49122</guid>
      <dc:creator>mihir_hardas</dc:creator>
      <dc:date>2022-05-23T05:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to format large number to display millions?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/598930#M49125</link>
      <description>&lt;P&gt;Tell us more, please.&amp;nbsp; What results do you get?&amp;nbsp; Can you share the XML for that part of the dashboard?&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 15:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/598930#M49125</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-23T15:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to format large number to display millions?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/599747#M49209</link>
      <description>&lt;P&gt;If I get number as output, 163,282,548 then a function should be able to convert it to International units of millions, billions by a symbol = M. So the above should read as 163.3 M&amp;nbsp;&lt;/P&gt;&lt;P&gt;There should be arguments for number of digits for rounding etc&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 13:45:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/599747#M49209</guid>
      <dc:creator>mihir_hardas</dc:creator>
      <dc:date>2022-05-30T13:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to format large number to display millions?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/599748#M49210</link>
      <description>&lt;P&gt;Example :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;index=log-13120-nonprod-c laas_appId=qbmp.prediction-engine ("current predicted as" OR "predicted as Prediction")&lt;/P&gt;&lt;P&gt;| lookup freq_used_jobs_bmp_3months.csv jobname output jobname local=true&lt;BR /&gt;| stats count(predictionStatus) | fieldformat count=tostring(count,"commas")&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This results into a large number of 163,071,022.&amp;nbsp;&lt;BR /&gt;If we have a good function for converting into million, billion dynamically as per the result. Also a format specifier if we want the result in million or billion.&lt;/P&gt;&lt;P&gt;Eg above can be 163.1 M or 0.1B like that.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 13:50:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/599748#M49210</guid>
      <dc:creator>mihir_hardas</dc:creator>
      <dc:date>2022-05-30T13:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to format large number to display millions?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/599752#M49211</link>
      <description>&lt;P&gt;There is no function that does what you describe.&amp;nbsp; Feel free to write one or suggest it at&amp;nbsp;&lt;A href="https://ideas.splunk.com" target="_blank"&gt;https://ideas.splunk.com&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;You still haven't explained what you meant by "&lt;SPAN&gt;somehow this does not work" in response to my first answer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 14:59:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/599752#M49211</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-30T14:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to format large number to display millions?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/629591#M51639</link>
      <description>&lt;P&gt;Perhaps this could be a solution.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to convert a large number to string with expressions of long and short scales, or neither.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-large-number-to-string-with-expressions-of-long/m-p/629383" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/How-to-convert-a-large-number-to-string-with-expressions-of-long/m-p/629383&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Numeral system macros for Splunk&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/6595" target="_blank"&gt;https://splunkbase.splunk.com/app/6595&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 01:36:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-format-large-number-to-display-millions/m-p/629591#M51639</guid>
      <dc:creator>tfujita_splunk</dc:creator>
      <dc:date>2023-02-04T01:36:52Z</dc:date>
    </item>
  </channel>
</rss>

