<?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 Customer Intelligence Studio 6.6: Alternative to SQL MINUS on Campaign Diagram in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Customer-Intelligence-Studio-6-6-Alternative-to-SQL-MINUS-on/m-p/774874#M1762</link>
    <description>&lt;P&gt;Hey,&lt;BR /&gt;&lt;BR /&gt;This topic's for an implementer, so there must be no SAS code involved:&lt;/P&gt;
&lt;P&gt;As seen in the following picture, I have two select blocks. One containing populations X1 and X2, and another containing a sub group of X1.&lt;BR /&gt;Eventually, I need to hold X2 and the sub group of X1 in the same block.&lt;BR /&gt;I have no way to distinguish between X1 and X2 (they are just a list of ID's).&lt;BR /&gt;Is there a way to remove the population of sub X1?&lt;/P&gt;
&lt;P&gt;Generally, in SQL I'd write:&lt;BR /&gt;select ID from X1&lt;BR /&gt;union&lt;BR /&gt;select ID from X2&lt;BR /&gt;minus&lt;BR /&gt;select ID from subX1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eitan123_0-1634561850260.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64815i8B3A6FBDAEBE6CC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eitan123_0-1634561850260.png" alt="Eitan123_0-1634561850260.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Oct 2021 13:09:20 GMT</pubDate>
    <dc:creator>Eitan123</dc:creator>
    <dc:date>2021-10-18T13:09:20Z</dc:date>
    <item>
      <title>Customer Intelligence Studio 6.6: Alternative to SQL MINUS on Campaign Diagram</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Customer-Intelligence-Studio-6-6-Alternative-to-SQL-MINUS-on/m-p/774874#M1762</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;&lt;BR /&gt;This topic's for an implementer, so there must be no SAS code involved:&lt;/P&gt;
&lt;P&gt;As seen in the following picture, I have two select blocks. One containing populations X1 and X2, and another containing a sub group of X1.&lt;BR /&gt;Eventually, I need to hold X2 and the sub group of X1 in the same block.&lt;BR /&gt;I have no way to distinguish between X1 and X2 (they are just a list of ID's).&lt;BR /&gt;Is there a way to remove the population of sub X1?&lt;/P&gt;
&lt;P&gt;Generally, in SQL I'd write:&lt;BR /&gt;select ID from X1&lt;BR /&gt;union&lt;BR /&gt;select ID from X2&lt;BR /&gt;minus&lt;BR /&gt;select ID from subX1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eitan123_0-1634561850260.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64815i8B3A6FBDAEBE6CC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eitan123_0-1634561850260.png" alt="Eitan123_0-1634561850260.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 13:09:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Customer-Intelligence-Studio-6-6-Alternative-to-SQL-MINUS-on/m-p/774874#M1762</guid>
      <dc:creator>Eitan123</dc:creator>
      <dc:date>2021-10-18T13:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Customer Intelligence Studio 6.6: Alternative to SQL MINUS on Campaign Diagram</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Customer-Intelligence-Studio-6-6-Alternative-to-SQL-MINUS-on/m-p/775017#M1763</link>
      <description>&lt;P&gt;Hi Eitan123,&lt;/P&gt;
&lt;P&gt;If I understand your question correctly (you want to remove subX1 from X1plusX2) then you can use the Prioritize Node for this. Add a Prioritize Node to the diagram, connect "subX1" then connect "X1+X2". Done. When you run the prioritize node subjectIds that exist in both groups will first be placed into subX1 and not into "X1+X2". What remains of "X1+X2" are only those subjectIDs that were not in your "subX1".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 00:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Customer-Intelligence-Studio-6-6-Alternative-to-SQL-MINUS-on/m-p/775017#M1763</guid>
      <dc:creator>JamesAnderson</dc:creator>
      <dc:date>2021-10-19T00:10:37Z</dc:date>
    </item>
  </channel>
</rss>

