<?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: Count Distinct is painfully slow, please help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795661#M281120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sure is a thoughtful idea.&amp;nbsp; I could create a link table and then I would have a unique value assigned to all of the&amp;nbsp; records with my key.&amp;nbsp; I will give it a try. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Feb 2015 17:48:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-26T17:48:40Z</dc:date>
    <item>
      <title>Count Distinct is painfully slow, please help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795653#M281112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table that has &lt;STRONG&gt;62 million&lt;/STRONG&gt; records.&amp;nbsp; I created a concatenated field, Member Months Counter.&amp;nbsp; See column A below so that I could total the number of members per each enrollment period in a chart.&amp;nbsp; Each Member can have as many as 48 enrollment periods going all the way back to Jan 2012.&amp;nbsp; So, I might have a total of 200 distinct members in one of my groups but there would be as many as 9600 enrollment records.&amp;nbsp; I have to use Count(distinct) because of column C.&amp;nbsp; Each member may have up to 5 different Claims_BenTypeCd.&amp;nbsp; Previously, I had a filter to only show the Claims_BenTypeCd=M and I only needed to use the count function..&amp;nbsp; However, there are some members that do not have M, but only have 9.&amp;nbsp; So, I am now using Count(Distinct) to get an accurate total of the members per month.&amp;nbsp; It is taking 45 secs to 2 minutes to render the chart now that I have made the change to Count(Distinct)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is just to get an expression total so that it can be used to calculate an average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a shortened version of my expression and a sample of the top 25 rows of my chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;=(count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Dec-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Nov-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Oct-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Sep-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Aug-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Jul-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Jun-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'May-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Apr-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Mar-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Feb-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Jan-2014' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Member Months Counter]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample Enrollment 2-26.jpg" class="image-1 jive-image" src="/legacyfs/online/79321_Sample Enrollment 2-26.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data is health care data and I unfortunately can not post an app.&amp;nbsp; Hope someone has a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks is advance for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 13:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795653#M281112</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-26T13:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct is painfully slow, please help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795654#M281113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps like this: sum(aggr(count(distinct([Member Months Counter]),[Enrollment Period]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or perhaps you can create a summary table in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MemberCountSummary:&lt;/P&gt;&lt;P&gt;LOAD [Enrollment Period], count(distinct [Member Months Counter]) as MemberCount&lt;/P&gt;&lt;P&gt;FROM ...source&lt;/P&gt;&lt;P&gt;GROUP BY &lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Enrollment Period]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 13:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795654#M281113</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-02-26T13:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct is painfully slow, please help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795655#M281114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. The second solution would be static and unfortunately not updated as my users made selections in the data model.&amp;nbsp; So, we do need a solution that counts or sums.&amp;nbsp; I could see making a master table with a counter field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried your aggr command and can not get it to work.&amp;nbsp; It returns no result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 14:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795655#M281114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-26T14:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct is painfully slow, please help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795656#M281115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The aggr function needs real field names as the second argument. Make sure to use the correct case sensitive field names in the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 14:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795656#M281115</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-02-26T14:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct is painfully slow, please help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795657#M281116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, so now I get the&lt;STRONG&gt; total&lt;/STRONG&gt; for MemberMonthCounts and it renders much faster.&amp;nbsp; However, in my straight table, I only get the first month in my enrollment period.&amp;nbsp; Is there a quick way to get an aggregate by Enrollment period which will add up to the total on the top row?&amp;nbsp; Say Enrollment Period is now the dimension in the straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 14:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795657#M281116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-26T14:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct is painfully slow, please help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795658#M281117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If Enrollment Period is your dimension then you only need count(distinct [Member Months Counter]) as expression. You can set the Total mode of the expression to Sum of Rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 14:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795658#M281117</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-02-26T14:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct is painfully slow, please help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795659#M281118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; You helped me think outside the box and I was able to implement a form of your solution.&amp;nbsp; My rendering is down to 5 seconds on average, which is tolerable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 17:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795659#M281118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-26T17:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct is painfully slow, please help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795660#M281119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you may also want to think about using an autonumber function on the concatenated key field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 17:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795660#M281119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-26T17:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct is painfully slow, please help</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795661#M281120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sure is a thoughtful idea.&amp;nbsp; I could create a link table and then I would have a unique value assigned to all of the&amp;nbsp; records with my key.&amp;nbsp; I will give it a try. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 17:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-is-painfully-slow-please-help/m-p/795661#M281120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-26T17:48:40Z</dc:date>
    </item>
  </channel>
</rss>

