<?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: sas union value missing in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339288#M22536</link>
    <description>&lt;P&gt;thanks a lot&lt;/P&gt;&lt;P&gt;my weekly dataset was missing columns&lt;/P&gt;&lt;P&gt;now its all good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2017 16:07:14 GMT</pubDate>
    <dc:creator>amar8580</dc:creator>
    <dc:date>2017-03-08T16:07:14Z</dc:date>
    <item>
      <title>sas union value missing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339273#M22531</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;i am using the following code&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;BR /&gt;CREATE TABLE PI AS&lt;BR /&gt;SELECT A.* FROM WORK.VRPT_PI_DAILY A&lt;BR /&gt;UNION&lt;BR /&gt;SELECT B.* FROM WORK.VRPT_PI_WEEKLY_FINAL B&lt;BR /&gt;UNION&lt;BR /&gt;SELECT C.* FROM WORK.VRPT_PI_MONTHLY C&lt;BR /&gt;UNION&lt;BR /&gt;SELECT D.* FROM WORK.VRPT_PI_QTR D;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now strange thing is happening....some of the values are missing for various numeric columns when i open the pi table&lt;/P&gt;&lt;P&gt;eg: revenue&lt;/P&gt;&lt;P&gt;but if i open the tables individually, i do see values in all 4 tables.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 15:24:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339273#M22531</guid>
      <dc:creator>amar8580</dc:creator>
      <dc:date>2017-03-08T15:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: sas union value missing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339275#M22532</link>
      <description>&lt;P&gt;Are all your columns that you want to concatenate in the same position, same name? Have you tried "UNION CORR"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without seeing your data, it's hard to diagnose what's going on, but SAS is almost certainly doing what it's supposed to do.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 15:30:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339275#M22532</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-03-08T15:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: sas union value missing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339280#M22533</link>
      <description>&lt;P&gt;yes they are the same columns and position is correct.&lt;/P&gt;&lt;P&gt;see attached screenshot&lt;/P&gt;&lt;P&gt;when i look at the weekly dataset, it shows value for TCA column&lt;/P&gt;&lt;P&gt;the moment i merge it, i see data for daily, monthly and quartely but for weekly TCA cell, the value is missing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13534i737CDE2336646C29/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="union_table.PNG" title="union_table.PNG" /&gt;</description>
      <pubDate>Wed, 08 Mar 2017 15:47:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339280#M22533</guid>
      <dc:creator>amar8580</dc:creator>
      <dc:date>2017-03-08T15:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: sas union value missing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339286#M22535</link>
      <description>&lt;P&gt;In the image you attached, I see "...SER_CAR" before "TCA" in the top data and "..W_BPS" before "TCA" in the lower data. To me that suggests these columns are not aligned identically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What if you use "UNION CORR"?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 16:01:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339286#M22535</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-03-08T16:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: sas union value missing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339288#M22536</link>
      <description>&lt;P&gt;thanks a lot&lt;/P&gt;&lt;P&gt;my weekly dataset was missing columns&lt;/P&gt;&lt;P&gt;now its all good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 16:07:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339288#M22536</guid>
      <dc:creator>amar8580</dc:creator>
      <dc:date>2017-03-08T16:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: sas union value missing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339294#M22539</link>
      <description>&lt;P&gt;Happy to help.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 16:11:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339294#M22539</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-03-08T16:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: sas union value missing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339297#M22540</link>
      <description>&lt;P&gt;I noticed that in your screenshot that there is a column to the left of [&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;EM&gt;TCA&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;] in the&amp;nbsp;&lt;STRONG&gt;VRPT_PI_WEEKLY_FINAL&amp;nbsp;&lt;/STRONG&gt;table that is something like [&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;EM&gt;...W_BPS&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;]; but in the constructed SQL table, it is [&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;EM&gt;...SER_CAR&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could that be an issue? Maybe i missed something about the order of the columns. But i see that you've selected (&lt;STRONG&gt;*&lt;/STRONG&gt;) on all of your tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would be my best guess??&lt;/P&gt;&lt;P&gt;Try a subset of specific columns, just to see if you get the appropriate records in there. And yeah, definitely use &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;UNION CORR&lt;FONT color="#333333"&gt;,&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#333333"&gt;seems to clear things up for me.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 16:12:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-union-value-missing/m-p/339297#M22540</guid>
      <dc:creator>lkeyes</dc:creator>
      <dc:date>2017-03-08T16:12:21Z</dc:date>
    </item>
  </channel>
</rss>

