<?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: create a single field of values using Not Exists in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330361#M617912</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 tried the same in original req. it didn't work.&lt;/P&gt;&lt;P&gt;Sorry for the confusion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Apr 2017 13:10:09 GMT</pubDate>
    <dc:creator>markgraham123</dc:creator>
    <dc:date>2017-04-27T13:10:09Z</dc:date>
    <item>
      <title>create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330354#M617905</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 have created a document using where not exists to get distinct categories of records. But it creates 3 field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me create all three categories in a single field instead of three individual fields?&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current situation:&amp;nbsp; Catogory A, B, and C are in differernt fields,&lt;/P&gt;&lt;P&gt;It woul dbe great to see it in a single field.&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, 27 Apr 2017 12:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330354#M617905</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-04-27T12:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330355#M617906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you want your final table to look like? Currently it looks like this after your reload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161464_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you expect to see differently in the above image?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 12:34:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330355#M617906</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-27T12:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330356#M617907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;EM style="text-decoration-line: underline;"&gt;Req. O/P:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Category SKU&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 12:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330356#M617907</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-04-27T12:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330357#M617908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just this?&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;SKU, Category&lt;/P&gt;&lt;P&gt;1, A&lt;/P&gt;&lt;P&gt;1, B&lt;/P&gt;&lt;P&gt;1, C&lt;/P&gt;&lt;P&gt;2, A&lt;/P&gt;&lt;P&gt;2, B&lt;/P&gt;&lt;P&gt;3, A&lt;/P&gt;&lt;P&gt;3, B&lt;/P&gt;&lt;P&gt;3, C&lt;/P&gt;&lt;P&gt;4, B&lt;/P&gt;&lt;P&gt;5, C&lt;/P&gt;&lt;P&gt;]&amp;nbsp; WHERE NOT EXISTS(SKU);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 12:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330357#M617908</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-04-27T12:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330358#M617909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 12:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330358#M617909</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-27T12:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330359#M617910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I'm exactyl looking for Sunny.&lt;/P&gt;&lt;P&gt;But as @stefanWuhl mentioned, can't we just use Not Exists (SKU) in the where statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 12:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330359#M617910</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-04-27T12:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330360#M617911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried Stefan's script? It isn't working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 13:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330360#M617911</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-27T13:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330361#M617912</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 tried the same in original req. it didn't work.&lt;/P&gt;&lt;P&gt;Sorry for the confusion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 13:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330361#M617912</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-04-27T13:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330362#M617913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It is not working. Let me put the result what i'm seeing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 13:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330362#M617913</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-04-27T13:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330363#M617914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To make my script work, you shouldn't load SKU field before running my table load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you know how exists() work? Checking an input value against a symbol table containing all field values encountered so far in your load script run?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 13:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330363#M617914</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-04-27T13:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330364#M617915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to sort the data before you can do this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 13:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330364#M617915</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-27T13:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330365#M617916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, if you load your table as input and you want to keep it unchanged, you need to rename SKU when performing a resident load and check using exists() with two argument version:&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;SKU, Category&lt;/P&gt;&lt;P&gt;1, A&lt;/P&gt;&lt;P&gt;1, B&lt;/P&gt;&lt;P&gt;1, C&lt;/P&gt;&lt;P&gt;2, A&lt;/P&gt;&lt;P&gt;2, B&lt;/P&gt;&lt;P&gt;3, A&lt;/P&gt;&lt;P&gt;3, B&lt;/P&gt;&lt;P&gt;3, C&lt;/P&gt;&lt;P&gt;4, B&lt;/P&gt;&lt;P&gt;5, C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD Category, SKU as Dummy RESIDENT Table1&lt;/P&gt;&lt;P&gt;WHERE NOT EXISTS(Dummy,SKU);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exit script;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 13:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330365#M617916</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-04-27T13:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330366#M617917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not a high skilled programmer.&lt;/P&gt;&lt;P&gt;I learnt a thing from this discussion about Exists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 13:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330366#M617917</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-04-27T13:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330367#M617918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2848"&gt;Symbol Tables and Bit-Stuffed Pointers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's important to know that symbol tables are created adding symbols when they first appear in your data source, i.e. in so called load order (so Sunny is right, that the order of your input records determine the resulting table with your distinct SKU).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it work now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 13:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330367#M617918</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-04-27T13:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330368#M617919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;This worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i'm trying to order it by Category B, C, and A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the SKU first gets filtered by Category B if it is present in Category A or Category C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do this by using Order by in the previous load right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 14:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330368#M617919</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-04-27T14:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: create a single field of values using Not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330369#M617920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand your requirement correctly, but yes, the input table needs to be sorted properly to make this approach work. If your sort order is a little uncommon (i.e. default ORDER BY FIELD ASC/DESC does not work), you may need to map a sort order to Category and sort by this field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 14:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-single-field-of-values-using-Not-Exists/m-p/1330369#M617920</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-04-27T14:22:08Z</dc:date>
    </item>
  </channel>
</rss>

