<?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: Exclude Fields from Distinct in Qlik Learning Discussions</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797203#M2399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I now tried to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where not exist (field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i enter combinations of fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like where not exist (field1+field2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2015 14:00:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-17T14:00:40Z</dc:date>
    <item>
      <title>Exclude Fields from Distinct</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797200#M2396</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;Is it possible to exclude certain fields when using Load Distinct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table and i want to remove duplicates which are the same except for 3 fields can i exclude them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Julian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 16:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797200#M2396</guid>
      <dc:creator />
      <dc:date>2015-02-12T16:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Fields from Distinct</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797201#M2397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your field values are for instance A,B,C for the field FLD then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load distinct FLD&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Resident ....&lt;/P&gt;&lt;P&gt;Where FLD &amp;lt;&amp;gt; A and FLD &amp;lt;&amp;gt; B and FLD &amp;lt;&amp;gt; C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Load FLD&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;...&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Resident ....&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Where FLD =A or FLD = B or FLD = C&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 16:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797201#M2397</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-02-12T16:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Fields from Distinct</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797202#M2398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the fast answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I probably didnt explain myself right, so heres an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD 1 , FIELD 2, FIELD 3, FIELD 4, FIELD 4, FIELD 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i do now is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;FIELD 1 as FIELD_1_X (that has other reasons)&lt;/P&gt;&lt;P&gt;FIELD 2 as FIELD_2_X&lt;/P&gt;&lt;P&gt;FIELD 3 as FIELD_3_X&lt;/P&gt;&lt;P&gt;FIELD 4 as FIELD_4_X&lt;/P&gt;&lt;P&gt;FIELD 5 as FIELD_5_X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for example it is possible i have an entry where all fields are the same except FIELD3, since it isnt the same entry overall it will be loaded. When i remove FIELD3 from the expression it works obviously.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want it loaded but excluded in the distinct expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 16:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797202#M2398</guid>
      <dc:creator />
      <dc:date>2015-02-12T16:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Fields from Distinct</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797203#M2399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I now tried to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where not exist (field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i enter combinations of fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like where not exist (field1+field2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 14:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797203#M2399</guid>
      <dc:creator />
      <dc:date>2015-02-17T14:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Fields from Distinct</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797204#M2400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe if you try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where not exists(field) and not exists(field2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of your expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 14:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797204#M2400</guid>
      <dc:creator>Agis-Kalogiannis</dc:creator>
      <dc:date>2015-02-17T14:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Fields from Distinct</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797205#M2401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if I understand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; *, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; FIELD1 &amp;amp; '|' &amp;amp; FIELD2 &amp;amp; '|' &amp;amp; FIELD4 &amp;amp; '|' &amp;amp; FIELD5&amp;nbsp; as checkfield&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;// field used for check distinct &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FIELD1,FIELD2,FIELD3,FIELD4,FIELD5&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1,1,x,1,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2,2,y,2,2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1,1,z,1,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2,2,w,2,2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1,2,a,3,4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1,2,b,3,5&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;STORE t into t.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table t;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load *&amp;nbsp; From t.qvd (qvd)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where not exists (checkfield);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; // only load distinct FIELD1..2..4..5&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//DROP Field checkfield;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 19:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797205#M2401</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-17T19:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Fields from Distinct</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797206#M2402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I had a very similar idea yesterday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doesn't work in my case yet. Why do you drop the first table beforehand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t_2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load *&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident t&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where not exists (checkfield);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without dropping t first. Doesnt work though. I just get nothing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 11:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797206#M2402</guid>
      <dc:creator />
      <dc:date>2015-02-19T11:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Fields from Distinct</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797207#M2403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That would probably exclude everything with either FIELD 1 OR FIELD 2 right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 11:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797207#M2403</guid>
      <dc:creator />
      <dc:date>2015-02-19T11:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Fields from Distinct</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797208#M2404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the result of the script I posted&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78529_1.jpg" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't drop the table the t&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where not exists (checkfield)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;doesn't work because there are the values 1|1|1|1 , .... in table t&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 11:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797208#M2404</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-19T11:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Fields from Distinct</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797209#M2405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i did it your way and now it seems to work. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 11:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Exclude-Fields-from-Distinct/m-p/797209#M2405</guid>
      <dc:creator />
      <dc:date>2015-02-19T11:38:33Z</dc:date>
    </item>
  </channel>
</rss>

