<?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: PROC GCHART to display OTHER option in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GCHART-to-display-OTHER-option/m-p/524310#M73493</link>
    <description>&lt;P&gt;The simplest approach would be to add a record with the amount of space. That would be to subtract the total actually used from the known space. A couple of steps such as Proc summary to get the total used and a data step to the "other" Or a subquery to do the same. Append to your existing graph data set with an appropriate label and not use the&amp;nbsp;OTHERLABEL &amp;nbsp;option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any pie chart, and most others, will require an actual value as the graphing procedures can not guess what the total available should be to calculate an other value.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jan 2019 16:17:43 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-01-03T16:17:43Z</dc:date>
    <item>
      <title>PROC GCHART to display OTHER option</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GCHART-to-display-OTHER-option/m-p/524294#M73492</link>
      <description>&lt;P&gt;I am creating a pie chart to display the space utilized in each of the libraries in GB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, I have created a query to get the list of all libraries and space utilized by each of them. By using proc gchart, I am creating a pie chart as well. But the pie chart only gives me the slices of space utilized , How do I get "Others" slice to display the space not utilised.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if the total space available is 500GB, I want the pie chart to display space utilised by A, B, C, D and others.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we display the "Other" utilisation when my sql query will not have that detail. I know the total space available 500GB, do I need to calculate the other utilization manually. Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc gchart data=work.space_used_by_users;&lt;/P&gt;&lt;P&gt;PIE libvar/&lt;/P&gt;&lt;P&gt;SUMVAR =space_used&lt;/P&gt;&lt;P&gt;TYPE=SUM&lt;/P&gt;&lt;P&gt;NOLEGEND&lt;/P&gt;&lt;P&gt;PERCENT=OUTSIDE&lt;/P&gt;&lt;P&gt;VALUE=NONE&lt;/P&gt;&lt;P&gt;OTHER=4&lt;/P&gt;&lt;P&gt;OTHERLABEL="Other"&lt;/P&gt;&lt;P&gt;COUTLINE=BLACK&lt;/P&gt;&lt;P&gt;NOHEADING;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;QUIT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chart created is attached. Here the total of all the slices sums upto 100%. But the others is missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 15:32:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GCHART-to-display-OTHER-option/m-p/524294#M73492</guid>
      <dc:creator>UshaLatha</dc:creator>
      <dc:date>2019-01-03T15:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GCHART to display OTHER option</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GCHART-to-display-OTHER-option/m-p/524310#M73493</link>
      <description>&lt;P&gt;The simplest approach would be to add a record with the amount of space. That would be to subtract the total actually used from the known space. A couple of steps such as Proc summary to get the total used and a data step to the "other" Or a subquery to do the same. Append to your existing graph data set with an appropriate label and not use the&amp;nbsp;OTHERLABEL &amp;nbsp;option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any pie chart, and most others, will require an actual value as the graphing procedures can not guess what the total available should be to calculate an other value.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 16:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GCHART-to-display-OTHER-option/m-p/524310#M73493</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-03T16:17:43Z</dc:date>
    </item>
  </channel>
</rss>

