<?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 ERROR: Date variable out of sequence for observation. Proc x11 for graph in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ERROR-Date-variable-out-of-sequence-for-observation-Proc-x11-for/m-p/711852#M20913</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I was able to produce the graph I wanted but now its' not working. I want to create a sgpanel eventually. I tried proc x11 but I get the following error after the procx11 section.&amp;nbsp;&lt;/P&gt;&lt;P&gt;````&lt;/P&gt;&lt;P&gt;proc sort data=causerie_t_total_mean_all;&lt;BR /&gt;by date district;&lt;BR /&gt;run;&lt;BR /&gt;proc x11 data = causerie_t_total_mean_all noprint;&lt;BR /&gt;monthly additive date = date;&lt;BR /&gt;id district;&lt;BR /&gt;var mean_coldcough_rate;&lt;BR /&gt;tables a1 d12;&lt;BR /&gt;output out = test_all_cold a1 = mean_coldcough_rate d12 = adj;run;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;````&lt;/P&gt;&lt;P&gt;ERROR: Date variable out of sequence for observation 45. Previous date: AUG2020; current date JAN2016.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 101. Previous date: AUG2020; current date&lt;BR /&gt;OCT2016.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 148. Previous date: AUG2020; current date&lt;BR /&gt;JAN2017.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 192. Previous date: AUG2020; current date&lt;BR /&gt;JAN2018.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 224. Previous date: AUG2020; current date&lt;BR /&gt;JAN2017.&lt;/P&gt;&lt;P&gt;````&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does this error mean and how can it be fixed?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Jan 2021 12:36:15 GMT</pubDate>
    <dc:creator>pearson101</dc:creator>
    <dc:date>2021-01-16T12:36:15Z</dc:date>
    <item>
      <title>ERROR: Date variable out of sequence for observation. Proc x11 for graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ERROR-Date-variable-out-of-sequence-for-observation-Proc-x11-for/m-p/711852#M20913</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I was able to produce the graph I wanted but now its' not working. I want to create a sgpanel eventually. I tried proc x11 but I get the following error after the procx11 section.&amp;nbsp;&lt;/P&gt;&lt;P&gt;````&lt;/P&gt;&lt;P&gt;proc sort data=causerie_t_total_mean_all;&lt;BR /&gt;by date district;&lt;BR /&gt;run;&lt;BR /&gt;proc x11 data = causerie_t_total_mean_all noprint;&lt;BR /&gt;monthly additive date = date;&lt;BR /&gt;id district;&lt;BR /&gt;var mean_coldcough_rate;&lt;BR /&gt;tables a1 d12;&lt;BR /&gt;output out = test_all_cold a1 = mean_coldcough_rate d12 = adj;run;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;````&lt;/P&gt;&lt;P&gt;ERROR: Date variable out of sequence for observation 45. Previous date: AUG2020; current date JAN2016.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 101. Previous date: AUG2020; current date&lt;BR /&gt;OCT2016.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 148. Previous date: AUG2020; current date&lt;BR /&gt;JAN2017.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 192. Previous date: AUG2020; current date&lt;BR /&gt;JAN2018.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 224. Previous date: AUG2020; current date&lt;BR /&gt;JAN2017.&lt;/P&gt;&lt;P&gt;````&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does this error mean and how can it be fixed?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 12:36:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ERROR-Date-variable-out-of-sequence-for-observation-Proc-x11-for/m-p/711852#M20913</guid>
      <dc:creator>pearson101</dc:creator>
      <dc:date>2021-01-16T12:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Date variable out of sequence for observation. Proc x11 for graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ERROR-Date-variable-out-of-sequence-for-observation-Proc-x11-for/m-p/711855#M20914</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/363706"&gt;@pearson101&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I was able to produce the graph I wanted but now its' not working. I want to create a sgpanel eventually. I tried proc x11 but I get the following error after the procx11 section.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;````&lt;/P&gt;
&lt;P&gt;proc sort data=causerie_t_total_mean_all;&lt;BR /&gt;by date district;&lt;BR /&gt;run;&lt;BR /&gt;proc x11 data = causerie_t_total_mean_all noprint;&lt;BR /&gt;monthly additive date = date;&lt;BR /&gt;id district;&lt;BR /&gt;var mean_coldcough_rate;&lt;BR /&gt;tables a1 d12;&lt;BR /&gt;output out = test_all_cold a1 = mean_coldcough_rate d12 = adj;run;&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;````&lt;/P&gt;
&lt;P&gt;ERROR: Date variable out of sequence for observation 45. Previous date: AUG2020; current date JAN2016.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 101. Previous date: AUG2020; current date&lt;BR /&gt;OCT2016.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 148. Previous date: AUG2020; current date&lt;BR /&gt;JAN2017.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 192. Previous date: AUG2020; current date&lt;BR /&gt;JAN2018.&lt;BR /&gt;ERROR: Date variable out of sequence for observation 224. Previous date: AUG2020; current date&lt;BR /&gt;JAN2017.&lt;/P&gt;
&lt;P&gt;````&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does this error mean and how can it be fixed?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If means that the sequence of dates is out of order for the way the procedure expects to use them&lt;/P&gt;
&lt;P&gt;Examine the data around those records generating the error. Does District change?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 14:45:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ERROR-Date-variable-out-of-sequence-for-observation-Proc-x11-for/m-p/711855#M20914</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-16T14:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Date variable out of sequence for observation. Proc x11 for graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ERROR-Date-variable-out-of-sequence-for-observation-Proc-x11-for/m-p/711857#M20915</link>
      <description>&lt;P&gt;Yes the district changes, I want to be able to do a sgpanel by district using this code, so i thought it needed to have dates per district.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgpanel data=test_all_mal_con;&lt;BR /&gt;panelby district / novarname ;&lt;BR /&gt;rowaxis label='Number of malaria cases per 1000';&lt;BR /&gt;vline date / response=mean_malaria_rate legendlabel= "Number of malaria cases per 1000";&lt;BR /&gt;vline date / response=adj markers markerattrs=(color=blue symbol='circle') lineattrs=(color=blue) legendlabel="trend cycle";&lt;BR /&gt;colaxis fitpolicy=thin Values=('01JAN2017'd to '01AUG020'd by month);&lt;BR /&gt;run;&lt;BR /&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 14:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ERROR-Date-variable-out-of-sequence-for-observation-Proc-x11-for/m-p/711857#M20915</guid>
      <dc:creator>pearson101</dc:creator>
      <dc:date>2021-01-16T14:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Date variable out of sequence for observation. Proc x11 for graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ERROR-Date-variable-out-of-sequence-for-observation-Proc-x11-for/m-p/711860#M20916</link>
      <description>&lt;P&gt;So it appears that the input data set to Proc X11 wants one sort order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sort the OUTPUT of the proc before the SGPanel as needed.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 16:28:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ERROR-Date-variable-out-of-sequence-for-observation-Proc-x11-for/m-p/711860#M20916</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-16T16:28:06Z</dc:date>
    </item>
  </channel>
</rss>

