<?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: Visualize fields as percentage in pie chart in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-fields-as-percentage-in-pie-chart/m-p/581632#M47662</link>
    <description>&lt;LI-CODE lang="markup"&gt;| eval totalval=if(type="totalval",total,null())
| eventstats values(totalval) as totalval
| where type!="totalval"
| eval percent=100*total/totalval&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 19 Jan 2022 13:00:53 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-01-19T13:00:53Z</dc:date>
    <item>
      <title>Visualize fields as percentage in pie chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-fields-as-percentage-in-pie-chart/m-p/581619#M47659</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have 3 rows with numeric data, trying to visualize this in a pie chart.&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;The first value (totalval) is the total value&lt;BR /&gt;I want to the other values to be a percentage of the total value and so only show the 2 other values (typeA and typeB)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;type&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;total&lt;BR /&gt;---------------------&lt;BR /&gt;totalval&amp;nbsp; &amp;nbsp; 4151&lt;BR /&gt;typeA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1442&lt;BR /&gt;typeB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 17&lt;/P&gt;&lt;P&gt;Trying for some hours, i am stuck, any help is appreciated&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Harry&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 12:22:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-fields-as-percentage-in-pie-chart/m-p/581619#M47659</guid>
      <dc:creator>harryvdtol</dc:creator>
      <dc:date>2022-01-19T12:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize fields as percentage in pie chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-fields-as-percentage-in-pie-chart/m-p/581632#M47662</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval totalval=if(type="totalval",total,null())
| eventstats values(totalval) as totalval
| where type!="totalval"
| eval percent=100*total/totalval&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Jan 2022 13:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-fields-as-percentage-in-pie-chart/m-p/581632#M47662</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-19T13:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Visualize fields as percentage in pie chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-fields-as-percentage-in-pie-chart/m-p/581637#M47663</link>
      <description>&lt;P&gt;Very impressive and educational.&lt;/P&gt;&lt;P&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Harry&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 13:19:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visualize-fields-as-percentage-in-pie-chart/m-p/581637#M47663</guid>
      <dc:creator>harryvdtol</dc:creator>
      <dc:date>2022-01-19T13:19:23Z</dc:date>
    </item>
  </channel>
</rss>

