<?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 pie percentage data in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/pie-percentage-data/m-p/292783#M18582</link>
    <description>&lt;P&gt;hello&lt;/P&gt;

&lt;P&gt;I have a pie chart and added the command to show percentage and this is the query that I am using&lt;BR /&gt;
          &lt;QUERY&gt;|inputlookup ICC_activities  | stats count by ITMU | eval ITMU=ITMU.": ".count&lt;/QUERY&gt;&lt;BR /&gt;
the output is that it show ITMU: , &lt;/P&gt;

&lt;P&gt;I would like to know 2 things&lt;BR /&gt;
1. what and how I need to edit the command to show the percentage inside the pie chart and not near.&lt;BR /&gt;
2. how I need to edit the command to round the percentage with 2 numbers or no decimal numbers at all (tried to add | eval percent=round(percent,0) to the end, but not successfully.&lt;BR /&gt;
thank in advance&lt;BR /&gt;
kfir&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2017 07:28:19 GMT</pubDate>
    <dc:creator>kfir</dc:creator>
    <dc:date>2017-05-15T07:28:19Z</dc:date>
    <item>
      <title>pie percentage data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/pie-percentage-data/m-p/292783#M18582</link>
      <description>&lt;P&gt;hello&lt;/P&gt;

&lt;P&gt;I have a pie chart and added the command to show percentage and this is the query that I am using&lt;BR /&gt;
          &lt;QUERY&gt;|inputlookup ICC_activities  | stats count by ITMU | eval ITMU=ITMU.": ".count&lt;/QUERY&gt;&lt;BR /&gt;
the output is that it show ITMU: , &lt;/P&gt;

&lt;P&gt;I would like to know 2 things&lt;BR /&gt;
1. what and how I need to edit the command to show the percentage inside the pie chart and not near.&lt;BR /&gt;
2. how I need to edit the command to round the percentage with 2 numbers or no decimal numbers at all (tried to add | eval percent=round(percent,0) to the end, but not successfully.&lt;BR /&gt;
thank in advance&lt;BR /&gt;
kfir&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 07:28:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/pie-percentage-data/m-p/292783#M18582</guid>
      <dc:creator>kfir</dc:creator>
      <dc:date>2017-05-15T07:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: pie percentage data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/pie-percentage-data/m-p/292784#M18583</link>
      <description>&lt;P&gt;@kfir...&lt;/P&gt;

&lt;P&gt;1) Showing Stats inside might not possible without JS/CSS extension. You can try to Donut Custom Visualization. However, the same is not Built/Supported by Splunk. &lt;A href="https://splunkbase.splunk.com/app/3238/"&gt;https://splunkbase.splunk.com/app/3238/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;2) Refer to my answer on similar question: &lt;A href="https://answers.splunk.com/answers/351010/how-to-round-a-percentage-value-in-a-pie-chart-to.html#answer-440827"&gt;https://answers.splunk.com/answers/351010/how-to-round-a-percentage-value-in-a-pie-chart-to.html#answer-440827&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 14:23:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/pie-percentage-data/m-p/292784#M18583</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-05-15T14:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: pie percentage data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/pie-percentage-data/m-p/292785#M18584</link>
      <description>&lt;P&gt;To make your search "work", do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup ICC_activities | top ITMU | eval ITMU=ITMU . ":" . round(percent,3) . "%" 
| fields - percent
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But this will not do what you are asking.  To get both the count and the percent inside the pie pieces, upgrade to v6.6 where this happens automatically (I do not know when this feature went it but it is in v6.6).&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 02:07:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/pie-percentage-data/m-p/292785#M18584</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-17T02:07:54Z</dc:date>
    </item>
  </channel>
</rss>

