<?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: Bar Plot With Specified Bar Values in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bar-Plot-With-Specified-Bar-Values/m-p/235947#M17023</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could find the code that generates issue below. Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC SQL;&lt;BR /&gt;&amp;nbsp;CREATE VIEW WORK.SORTTempTableSorted AS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;SELECT T.days, T.amount&lt;BR /&gt;&amp;nbsp;FROM WRK.ding_bar_temp as T&lt;BR /&gt;;&lt;BR /&gt;QUIT;&lt;BR /&gt;Axis1&lt;BR /&gt;&amp;nbsp;STYLE=1&lt;BR /&gt;&amp;nbsp;WIDTH=1&lt;BR /&gt;&amp;nbsp;MINOR=NONE&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;;&lt;BR /&gt;Axis2&lt;BR /&gt;&amp;nbsp;STYLE=1&lt;BR /&gt;&amp;nbsp;WIDTH=1&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;;&lt;BR /&gt;TITLE;&lt;BR /&gt;TITLE1 "Bar Chart";&lt;BR /&gt;FOOTNOTE;&lt;BR /&gt;FOOTNOTE1 "Generated by the SAS System (&amp;amp;_SASSERVERNAME, &amp;amp;SYSSCPL) on %TRIM(%QSYSFUNC(DATE(), NLDATE20.)) at %TRIM(%SYSFUNC(TIME(), TIMEAMPM12.))";&lt;BR /&gt;PROC GCHART DATA=WORK.SORTTempTableSorted&lt;BR /&gt;;&lt;BR /&gt;&amp;nbsp;VBAR &lt;BR /&gt;&amp;nbsp; days&lt;BR /&gt;&amp;nbsp;/&lt;BR /&gt;&amp;nbsp;SUMVAR=amount&lt;BR /&gt;&amp;nbsp;CLIPREF&lt;BR /&gt;FRAME&amp;nbsp;MIDPOINTS=30 TO 60 BY 30&lt;BR /&gt;&amp;nbsp;TYPE=SUM&lt;BR /&gt;&amp;nbsp;COUTLINE=BLACK&lt;BR /&gt;&amp;nbsp;RAXIS=AXIS1&lt;BR /&gt;&amp;nbsp;MAXIS=AXIS2&lt;BR /&gt;;&lt;BR /&gt;/* -------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&amp;nbsp; End of task code.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ------------------------------------------------------------------- */&lt;BR /&gt;RUN; QUIT;&lt;BR /&gt;%_eg_conditional_dropds(WORK.SORTTempTableSorted);&lt;BR /&gt;TITLE; FOOTNOTE;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2015 09:09:10 GMT</pubDate>
    <dc:creator>gorkemkilic</dc:creator>
    <dc:date>2015-11-23T09:09:10Z</dc:date>
    <item>
      <title>Bar Plot With Specified Bar Values</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bar-Plot-With-Specified-Bar-Values/m-p/235637#M17013</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of my colleagues has the following question regarding to the Bar plot in SAS Enterprise guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"See the following table:&lt;/P&gt;
&lt;P&gt;days&amp;nbsp;&amp;nbsp;&amp;nbsp; amount&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;
&lt;P&gt;31&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;20&lt;/P&gt;
&lt;P&gt;60&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I generate the bar plot to sum up the amount based on different days, with bar values specified to be 30 and 60. The bar plot has two bars, one is at value 30 which has an amount of 10+20=30, the other bar is at value 60, and has value 5. Why is the first bar value (i.e., 30) also includes the second row? Shouldn't the bar chart value be 10 and 25 in this case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is the categorization done? Isn't it days&amp;lt;=30, and days between 30 and 60?&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 10:36:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bar-Plot-With-Specified-Bar-Values/m-p/235637#M17013</guid>
      <dc:creator>gorkemkilic</dc:creator>
      <dc:date>2015-11-20T10:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Plot With Specified Bar Values</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bar-Plot-With-Specified-Bar-Values/m-p/235714#M17014</link>
      <description>&lt;P&gt;Post the code that generates the issue. There are enough options we don't want to guess. Also are any custom formats involved?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:09:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bar-Plot-With-Specified-Bar-Values/m-p/235714#M17014</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-11-20T16:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Plot With Specified Bar Values</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bar-Plot-With-Specified-Bar-Values/m-p/235947#M17023</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could find the code that generates issue below. Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC SQL;&lt;BR /&gt;&amp;nbsp;CREATE VIEW WORK.SORTTempTableSorted AS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;SELECT T.days, T.amount&lt;BR /&gt;&amp;nbsp;FROM WRK.ding_bar_temp as T&lt;BR /&gt;;&lt;BR /&gt;QUIT;&lt;BR /&gt;Axis1&lt;BR /&gt;&amp;nbsp;STYLE=1&lt;BR /&gt;&amp;nbsp;WIDTH=1&lt;BR /&gt;&amp;nbsp;MINOR=NONE&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;;&lt;BR /&gt;Axis2&lt;BR /&gt;&amp;nbsp;STYLE=1&lt;BR /&gt;&amp;nbsp;WIDTH=1&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;;&lt;BR /&gt;TITLE;&lt;BR /&gt;TITLE1 "Bar Chart";&lt;BR /&gt;FOOTNOTE;&lt;BR /&gt;FOOTNOTE1 "Generated by the SAS System (&amp;amp;_SASSERVERNAME, &amp;amp;SYSSCPL) on %TRIM(%QSYSFUNC(DATE(), NLDATE20.)) at %TRIM(%SYSFUNC(TIME(), TIMEAMPM12.))";&lt;BR /&gt;PROC GCHART DATA=WORK.SORTTempTableSorted&lt;BR /&gt;;&lt;BR /&gt;&amp;nbsp;VBAR &lt;BR /&gt;&amp;nbsp; days&lt;BR /&gt;&amp;nbsp;/&lt;BR /&gt;&amp;nbsp;SUMVAR=amount&lt;BR /&gt;&amp;nbsp;CLIPREF&lt;BR /&gt;FRAME&amp;nbsp;MIDPOINTS=30 TO 60 BY 30&lt;BR /&gt;&amp;nbsp;TYPE=SUM&lt;BR /&gt;&amp;nbsp;COUTLINE=BLACK&lt;BR /&gt;&amp;nbsp;RAXIS=AXIS1&lt;BR /&gt;&amp;nbsp;MAXIS=AXIS2&lt;BR /&gt;;&lt;BR /&gt;/* -------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&amp;nbsp; End of task code.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ------------------------------------------------------------------- */&lt;BR /&gt;RUN; QUIT;&lt;BR /&gt;%_eg_conditional_dropds(WORK.SORTTempTableSorted);&lt;BR /&gt;TITLE; FOOTNOTE;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 09:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bar-Plot-With-Specified-Bar-Values/m-p/235947#M17023</guid>
      <dc:creator>gorkemkilic</dc:creator>
      <dc:date>2015-11-23T09:09:10Z</dc:date>
    </item>
  </channel>
</rss>

