<?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: If - Separating fields by its type in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084168#M642758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at Gysbert's code? Looks pretty short and sweet as well. Might want to look at his suggestion as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2016 17:53:33 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-09T17:53:33Z</dc:date>
    <item>
      <title>If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084162#M642752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to separate the IDs based on their type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Type is associated with only Names. So, i wanna separate IDs based on the below logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any of the ID has Type A, then it falls under the A Category even though if it has a second name with B Category in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID falls into the Category B, only if it has name with just Type 'B'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="font-size: 13.3333px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID,&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;abcd,&lt;/TD&gt;&lt;TD&gt;123,&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;abcd,&lt;/TD&gt;&lt;TD&gt;456,&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;efgh,&lt;/TD&gt;&lt;TD&gt;789,&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ijkl,&lt;/TD&gt;&lt;TD&gt;1011, &lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mnop,&lt;/TD&gt;&lt;TD&gt;1213,&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;qrst,&lt;/TD&gt;&lt;TD&gt;1415,&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;O/P:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;A Category IDs:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;abcd,&lt;/P&gt;&lt;P&gt;efgh,&lt;/P&gt;&lt;P&gt;mnop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; text-decoration: underline;"&gt;B Category IDs:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;ijkl,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;qrst&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084162#M642752</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2016-02-09T17:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084163#M642753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID,&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, Type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;abcd, 123, A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;abcd, 456, B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;efgh, 789, A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ijkl, 1011,&amp;nbsp; B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mnop, 1213, A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;qrst, 1415, B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Temp1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Type = 'A';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Temp1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID as [A Category IDs],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Name,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Temp2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ID as [B Category IDs],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Name,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where not Exists([A Category IDs], ID);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Final:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Temp1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate(Final)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Temp2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Temp1, Temp2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/114058_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084163#M642753</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-09T17:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084164#M642754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID, Name, Type,&lt;STRONG&gt; If(Exists(ID), 'A',Type) as Category&lt;/STRONG&gt; INLINE [&lt;/P&gt;&lt;P&gt;ID,&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, Type&lt;/P&gt;&lt;P&gt;abcd, 123, A&lt;/P&gt;&lt;P&gt;abcd, 456, B&lt;/P&gt;&lt;P&gt;efgh, 789, A&lt;/P&gt;&lt;P&gt;ijkl, 1011, B&lt;/P&gt;&lt;P&gt;mnop, 1213, A&lt;/P&gt;&lt;P&gt;qrst, 1415, B&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The inline load is just an example. You can use another type of load just as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084164#M642754</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-09T17:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084165#M642755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this approach.&lt;/P&gt;&lt;P&gt;As the data is huge and this approach is taking very long time, i was looking for some optimized method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u help pls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084165#M642755</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2016-02-09T17:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084166#M642756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just skipped few tables from your code in between.&lt;/P&gt;&lt;P&gt;Does this look good?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ID,&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, Type&lt;/P&gt;&lt;P&gt;abcd, 123, A&lt;/P&gt;&lt;P&gt;abcd, 456, B&lt;/P&gt;&lt;P&gt;efgh, 789, A&lt;/P&gt;&lt;P&gt;ijkl, 1011,&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;mnop, 1213, A&lt;/P&gt;&lt;P&gt;qrst, 1415, B&lt;/P&gt;&lt;P&gt;]&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;LOAD *, If(Type='A', ID) as [A IDs]&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;Table1;&lt;/P&gt;&lt;P&gt;DROP Table Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp2:&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID as [B Category IDs],&lt;/P&gt;&lt;P&gt;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Type&lt;/P&gt;&lt;P&gt;Resident Temp1&lt;/P&gt;&lt;P&gt;Where not Exists([A IDs], ID);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084166#M642756</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2016-02-09T17:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084167#M642757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, if it gets you what you want &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084167#M642757</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-09T17:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084168#M642758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at Gysbert's code? Looks pretty short and sweet as well. Might want to look at his suggestion as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084168#M642758</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-09T17:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084169#M642759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you verymuch brother. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084169#M642759</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2016-02-09T17:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084170#M642760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But its not working....&lt;/P&gt;&lt;P&gt;Let me try it again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084170#M642760</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2016-02-09T17:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084171#M642761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't tried it, so don't know, but he might be able to fine tune it if you seek his advice &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084171#M642761</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-09T17:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: If - Separating fields by its type</title>
      <link>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084172#M642762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the above code as it is very optimized. But not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me in getting the code optimized. as the below code is too long.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * Inline&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ID,&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, Type&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;abcd, 123, A&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;abcd, 456, B&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;efgh, 789, A&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ijkl, 1011,&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;mnop, 1213, A&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;qrst, 1415, B&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;]&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *, If(Type='A', ID) as [A IDs]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP Table Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp2:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; ID as [B Category IDs],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Name,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Type&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Temp1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where not Exists([A IDs], ID);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 17:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Separating-fields-by-its-type/m-p/1084172#M642762</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2016-02-09T17:59:10Z</dc:date>
    </item>
  </channel>
</rss>

