<?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: Catx and Group by  in QB in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Catx-and-Group-by-in-QB/m-p/332631#M22116</link>
    <description>&lt;P&gt;Query builder is SQL, so that is not the best tool for the job - if it is at all possible in the tool. &amp;nbsp;You can add code nodes into your EG project can you not, i.e. process the data before you go to your Query Builder? &amp;nbsp;Personally I avoid front ends for coding, they are limited at the best of times, and downright pain in the regions in others.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2017 14:47:15 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-02-14T14:47:15Z</dc:date>
    <item>
      <title>Catx and Group by  in QB</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Catx-and-Group-by-in-QB/m-p/332599#M22108</link>
      <description>&lt;P&gt;Hi Guru,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help with this question, do you know how to&amp;nbsp; catx&amp;nbsp; group by in Query builder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dataset :&lt;/P&gt;&lt;P&gt;Apple&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;Apple&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P&lt;/P&gt;&lt;P&gt;Orange&amp;nbsp; O&lt;/P&gt;&lt;P&gt;Orange&amp;nbsp; R&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected output&lt;/P&gt;&lt;P&gt;Apple A,P&lt;/P&gt;&lt;P&gt;Orange O,R&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 13:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Catx-and-Group-by-in-QB/m-p/332599#M22108</guid>
      <dc:creator>SASNE</dc:creator>
      <dc:date>2017-02-14T13:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Catx and Group by  in QB</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Catx-and-Group-by-in-QB/m-p/332618#M22114</link>
      <description>&lt;P&gt;Its not a simple task in SQL, wrong type of output data structure. &amp;nbsp;Simple in a datastep however:&lt;/P&gt;
&lt;PRE&gt;data want;
  set have;
  length fruit_list $2000;
  retain fruit_list $;
  by fruit;
  fruit_list=ifc(first.fruit,list,catx(',',fruit_list,list);
run;&lt;/PRE&gt;
&lt;P&gt;Now I have assumed fruit is the first column and is character, list is the second and is character - this is because you have not provided test data in the form of a datastep.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 14:10:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Catx-and-Group-by-in-QB/m-p/332618#M22114</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-02-14T14:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Catx and Group by  in QB</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Catx-and-Group-by-in-QB/m-p/332619#M22115</link>
      <description>&lt;P&gt;Hi RW9,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks, do you know how to do that in Enterprise guide under query builder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 14:12:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Catx-and-Group-by-in-QB/m-p/332619#M22115</guid>
      <dc:creator>SASNE</dc:creator>
      <dc:date>2017-02-14T14:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Catx and Group by  in QB</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Catx-and-Group-by-in-QB/m-p/332631#M22116</link>
      <description>&lt;P&gt;Query builder is SQL, so that is not the best tool for the job - if it is at all possible in the tool. &amp;nbsp;You can add code nodes into your EG project can you not, i.e. process the data before you go to your Query Builder? &amp;nbsp;Personally I avoid front ends for coding, they are limited at the best of times, and downright pain in the regions in others.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 14:47:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Catx-and-Group-by-in-QB/m-p/332631#M22116</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-02-14T14:47:15Z</dc:date>
    </item>
  </channel>
</rss>

