<?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 Count Unique Field in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300067#M111133</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;maybe something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;TempData2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(peek(Key)=Key, peek(Check)+1, 0&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon;"&gt;Check&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; TempData1&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;by&lt;/SPAN&gt; Key&lt;SPAN style="color: maroon;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt;"&gt;Drop&lt;/STRONG&gt; &lt;SPAN style="color: blue;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; TempData1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Idea is to sort table by Key, if Key in previous row equals Key in current row, increase Check by 1, else set to 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;so I would expect e.g. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Key, Check&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;A , 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;B, 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;B, 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;B, 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;C, 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I have not understand what you want to do with the group by, I understood you wanted to check for global uniqueness within your table. If not, please clarify.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Stefan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jul 2011 11:30:10 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-07-22T11:30:10Z</dc:date>
    <item>
      <title>Count Unique Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300066#M111132</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 want to count the number of distinct times my unique key is found in my table in a particular row and for it to indicate this by means of a '1' if more then 1 field is found and '0' if only 1 is found. I've tried this but get the following error&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;TempData1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; Courier New&amp;amp;quot: ; color: blue; font-size: 9pt; font-family: &amp;amp;quot;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;TempName&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;WkEndDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;TimesheetNo&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;CategoryDesc&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Fabs&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;ChargeValue&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;)&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Fabs&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Hours&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; Invoicing;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; Courier New&amp;amp;quot: ; color: blue; font-size: 9pt; font-family: &amp;amp;quot;"&gt;Drop&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; Invoicing;&lt;BR /&gt; &lt;BR /&gt; TempData2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; Courier New&amp;amp;quot: ; color: blue; font-size: 9pt; font-family: &amp;amp;quot;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Check&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; TempData1&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;TempName&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;WkEndDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;TimesheetNo&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;CategoryDesc&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; Courier New&amp;amp;quot: ; color: blue; font-size: 9pt; font-family: &amp;amp;quot;"&gt;Drop&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; TempData1; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The error i get is this "Invalid Expression: TempData2:......" So I assume it is crashing because of the count. I'm not sure what fields I need to have in my group by to fix this so kinda lost. I've also tried the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;TempData1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 115%; Courier New&amp;amp;quot: ; color: blue; font-size: 9pt; mso-ansi-language: EN-ZA; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;TempName&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;WkEndDate&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;TimesheetNo&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;CategoryDesc&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Fabs&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;ChargeValue&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;)&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Fabs&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Hours&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; Invoicing;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 115%; Courier New&amp;amp;quot: ; color: blue; font-size: 9pt; mso-ansi-language: EN-ZA; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;Drop&lt;/STRONG&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; Invoicing;&lt;BR /&gt; &lt;BR /&gt; TempData2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 115%; Courier New&amp;amp;quot: ; color: blue; font-size: 9pt; mso-ansi-language: EN-ZA; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;FieldValueCount&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;('Key')&amp;gt;1,1,0) &lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Check&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; TempData1&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;TempName&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;WkEndDate&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;TimesheetNo&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;CategoryDesc&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; : ; line-height: 115%; Courier New&amp;amp;quot: ; color: blue; font-size: 9pt; mso-ansi-language: EN-ZA; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;Drop&lt;/STRONG&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; TempData1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This doesnt give me what I require either. Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 11:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300066#M111132</guid>
      <dc:creator />
      <dc:date>2011-07-22T11:05:54Z</dc:date>
    </item>
    <item>
      <title>Count Unique Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300067#M111133</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;maybe something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;TempData2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(peek(Key)=Key, peek(Check)+1, 0&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon;"&gt;Check&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; TempData1&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;by&lt;/SPAN&gt; Key&lt;SPAN style="color: maroon;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt;"&gt;Drop&lt;/STRONG&gt; &lt;SPAN style="color: blue;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; TempData1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Idea is to sort table by Key, if Key in previous row equals Key in current row, increase Check by 1, else set to 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;so I would expect e.g. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Key, Check&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;A , 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;B, 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;B, 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;B, 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;C, 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I have not understand what you want to do with the group by, I understood you wanted to check for global uniqueness within your table. If not, please clarify.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Stefan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 11:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300067#M111133</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-22T11:30:10Z</dc:date>
    </item>
    <item>
      <title>Count Unique Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300068#M111134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;me again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you want to do only kind of sanity check that your Keys are really unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that, you might also just compare count (Key) with count (distinct Key) or even easier, use a listbox of field Key with frequency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 11:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300068#M111134</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-22T11:54:43Z</dc:date>
    </item>
    <item>
      <title>Count Unique Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300069#M111135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That has given me some ideas. Ultimately what I want is for 'B = 0 through to B = 2' to all come up as B = 1 each. The reason for this is that I actually want to remove these fields from my table when I do my expression. If they all equal 1 it should be pretty easy to remove &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;THANKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 12:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300069#M111135</guid>
      <dc:creator />
      <dc:date>2011-07-22T12:10:20Z</dc:date>
    </item>
    <item>
      <title>Count Unique Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300070#M111136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm yes, but do you want to remove the duplicate Keys completely from the table during load or just check in a &lt;/P&gt;&lt;P&gt;chart expression if the Key is not unique?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For latter,&lt;/P&gt;&lt;P&gt;you could use a simple condtion in expression, I think&lt;/P&gt;&lt;P&gt;like (when using dimension Key)&lt;/P&gt;&lt;P&gt;= if(sum(Check)=0, EXPRESSION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 13:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300070#M111136</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-22T13:02:04Z</dc:date>
    </item>
    <item>
      <title>Count Unique Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300071#M111137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for your help with this stefan. My data is pretty messy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; so have some sorting and ordering by to get right and then the above will work perfectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2011 18:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Unique-Field-in-Script/m-p/300071#M111137</guid>
      <dc:creator />
      <dc:date>2011-07-23T18:31:08Z</dc:date>
    </item>
  </channel>
</rss>

