<?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: Duplicate Items are coming ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618245#M227859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunil,&lt;/P&gt;&lt;P&gt;Probably, it's no more single threaded/cored, please have a look here: &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/10/22/a-myth-about-countdistinct" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/10/22/a-myth-about-countdistinct"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/10/22/a-myth-about-countdistinct&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping it is similar at script as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 07:29:01 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-03-10T07:29:01Z</dc:date>
    <item>
      <title>Duplicate Items are coming ?</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618240#M227854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Calibri','sans-serif'; color: black;"&gt;HI All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Calibri','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Calibri','sans-serif'; color: black;"&gt;I am getting Duplicate Items are coming for some Invoice Numbers , how to correct getting a unique invoice Number ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Calibri','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Calibri','sans-serif'; color: black;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Calibri','sans-serif'; color: black;"&gt;Helen&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 07:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618240#M227854</guid>
      <dc:creator />
      <dc:date>2014-03-10T07:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Items are coming ?</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618241#M227855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;STRONG&gt;DISTINCT&lt;/STRONG&gt; keyword, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Distinct *&amp;nbsp; From &amp;lt;&amp;gt; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use EXISTS() function like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Invoice, A, B&lt;/P&gt;&lt;P&gt;From &amp;lt;&amp;gt; Where &lt;STRONG&gt;Exists&lt;/STRONG&gt;(Invoice) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 07:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618241#M227855</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-10T07:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Items are coming ?</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618242#M227856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If only you are extracting the invoice numbers then use Distinct function for unique invoice number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 07:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618242#M227856</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-03-10T07:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Items are coming ?</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618243#M227857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; background-color: #fefdfa;"&gt;Hi helen,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; background-color: #fefdfa;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; background-color: #fefdfa;"&gt;In script make you filed name as like below reload and check&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; background-color: #fefdfa;"&gt;(DISTINCT [Invoice]) as Invovice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; background-color: #fefdfa;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; background-color: #fefdfa;"&gt;let me know any changes &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; background-color: #fefdfa;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; background-color: #fefdfa;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; background-color: #fefdfa;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 07:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618243#M227857</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-10T07:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Items are coming ?</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618244#M227858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; background-color: #fefdfa;"&gt;Count distinct "Count( Distinct &amp;lt;Field Name&amp;gt;&lt;/SPAN&gt;)" is an expensive expresssion in Qlikview. Whenever used, it turns Qlikview to use single core instead of multi-cores resulting in slow performance of the app.&lt;BR /&gt;By making a small change in data model we can replace COUNT DISSTINCT with SUM function and improve the app performance marginally and increase app response time to users actions.&lt;/P&gt;&lt;P&gt;To achive this add another field in Qlikview table having value 1 along with the field you need to count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Bookings:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Member Id], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Booked Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Transaction Id],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Booking Amount]&lt;/P&gt;&lt;P&gt;FROM Bookings.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"Member Count":&lt;BR /&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Member Id], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 AS "Unique Members"&lt;BR /&gt;Resident Bookings;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To count distinct members&lt;BR /&gt;COUNT(DISTINCT [Member Id]) can be replaced with SUM([Unique Members]).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 07:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618244#M227858</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-10T07:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Items are coming ?</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618245#M227859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunil,&lt;/P&gt;&lt;P&gt;Probably, it's no more single threaded/cored, please have a look here: &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/10/22/a-myth-about-countdistinct" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/10/22/a-myth-about-countdistinct"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/10/22/a-myth-about-countdistinct&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping it is similar at script as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 07:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Items-are-coming/m-p/618245#M227859</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-10T07:29:01Z</dc:date>
    </item>
  </channel>
</rss>

