<?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 total distinct problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579575#M478862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;StoreID&lt;/SPAN&gt;))&lt;BR /&gt;/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count(distinct total&amp;lt;TIME&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;StoreID&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2014 15:21:55 GMT</pubDate>
    <dc:creator>chiru_thota</dc:creator>
    <dc:date>2014-02-27T15:21:55Z</dc:date>
    <item>
      <title>Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579573#M478860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;i'm trying to create a chart that shows to how many stores each product is sold. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;X axis should show "Time" dimension (days / weeks / months) and Y axis should show two expressions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;- Total number of stores to which each product has been sold at least once in a period - for that I'm using function "count(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt;(StoreID))"&amp;nbsp; which works ok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;- What % of the total store base that product was sold to. I was trying with the function below but it doesn't seem to work. Any suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;StoreID&lt;/SPAN&gt;))&lt;BR /&gt;/&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; distinct &lt;STRONG style=": ; color: #ff0000;"&gt;(&lt;/STRONG&gt;&amp;lt;Time&amp;gt; StoreID&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Many thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 15:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579573#M478860</guid>
      <dc:creator />
      <dc:date>2014-02-27T15:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579574#M478861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;time is your cyclic group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes, use like below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;StoreID&lt;/SPAN&gt;))&lt;BR /&gt;/&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;total&lt;/SPAN&gt; distinct &lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(&lt;/STRONG&gt;&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;$(=GetCurrentField(TIME)&lt;/SPAN&gt;&amp;gt; StoreID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 15:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579574#M478861</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-27T15:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579575#M478862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;StoreID&lt;/SPAN&gt;))&lt;BR /&gt;/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count(distinct total&amp;lt;TIME&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;StoreID&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 15:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579575#M478862</guid>
      <dc:creator>chiru_thota</dc:creator>
      <dc:date>2014-02-27T15:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579576#M478863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one gives always 100% result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 15:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579576#M478863</guid>
      <dc:creator />
      <dc:date>2014-02-27T15:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579577#M478864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes its a cyclic group but doesn't seem to work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 15:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579577#M478864</guid>
      <dc:creator />
      <dc:date>2014-02-27T15:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579578#M478865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Have you tried below?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;StoreID&lt;/SPAN&gt;))&lt;BR /&gt;/&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(Distinct&lt;/STRONG&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Total&lt;/SPAN&gt;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(&lt;/STRONG&gt;&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.800000190734863px;"&gt;$(=GetCurrentField(TIME)&lt;/SPAN&gt;&amp;gt; StoreID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 15:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579578#M478865</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-27T15:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579579#M478866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, also no result &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; it just doesn't show anything. Also fields after $ sign are grey. Should they?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 15:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579579#M478866</guid>
      <dc:creator />
      <dc:date>2014-02-27T15:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579580#M478867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The correct syntax is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;StoreID&lt;/SPAN&gt;)&lt;BR /&gt;/&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(Distinct&lt;/STRONG&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Total&lt;/SPAN&gt;&amp;nbsp; &amp;lt;[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.800000190734863px; font-family: inherit;"&gt;$(=GetCurrentField(TIME))]&lt;/SPAN&gt;&amp;gt; StoreID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;In order to troubleshoot your expression, turn your chart into a Straight Table (or a Pivot Table) and leave the expression Label empty. You will be able to see exactly how QlikView renders your expression formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;Oleg Troyansky&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;Come and learn advanced QlikView techniques from the best:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;www.masterssummit.com&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 21:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579580#M478867</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2014-02-27T21:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579581#M478868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the formula you provided indeed has no errors. However - still no results - no data is being displayed. Perhaps there is a different formula to get the same result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CaptainP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 07:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579581#M478868</guid>
      <dc:creator />
      <dc:date>2014-02-28T07:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579582#M478869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another strange problem - perhaps its a bug that results in not showing the formula you provided.&lt;/P&gt;&lt;P&gt;On my bar chart I have a formula &lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;StoreID&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Surpirisingly each product that i click on has different bar colours - this didn't happen before in case of other charts with similar structure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CaptainP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 08:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579582#M478869</guid>
      <dc:creator />
      <dc:date>2014-02-28T08:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579583#M478870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, I think the answer given by OLEG is OK but if it is not working, you need to upload you sample data or qvw file.&lt;/P&gt;&lt;P&gt;This is the best way to get answer in quick fashion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579583#M478870</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-28T09:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579584#M478871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;StoreID&lt;/SPAN&gt;))&lt;BR /&gt;/&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;lt;Time&amp;gt; StoreID&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579584#M478871</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-02-28T09:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579585#M478872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this one always gets result 100%. So no matter what product I click on I always have 100% which is not really the case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579585#M478872</guid>
      <dc:creator />
      <dc:date>2014-02-28T09:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579586#M478873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Captain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we've been trying to solve different issues... In our responses, we tried to show you how to calculate the share of the TOTAL, i.e. disregard the dimension value in the denominator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you are trying to do is to calculate the percentage of the Store count by product, compared to all the stores in general. So, in addition to disregarding the Dimension values, you want to disregard the selection of the Product. The corresponding formula would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;StoreID&lt;/SPAN&gt;)&lt;BR /&gt;/&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;({&amp;lt;Product = &amp;gt;}&amp;nbsp; Distinct&lt;/STRONG&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Total&lt;/SPAN&gt;&amp;nbsp; &amp;lt;[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.800000190734863px; font-family: inherit;"&gt;$(=GetCurrentField(TIME))]&lt;/SPAN&gt;&amp;gt; StoreID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6; color: #800000;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Set Analysis condition will cause the expression to disregard any selections made in the field Product. If you need to disregard any other selections, add them into the list of Modifiers, separated by coma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Site comment to you and Manish:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISTINCT is not a function, but rather a qualifier within an aggregation function. Therefore, it doesn't require a set of parenthesis after it. So, instead of :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;StoreID&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;it's enough to write:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;StoreID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The extra set of parenthesis doesn't break the formula but makes it more cluttered and less readable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;cheers,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;www.masterssummit.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 21:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579586#M478873</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2014-02-28T21:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count total distinct problem</title>
      <link>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579587#M478874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you. Finally an answer that works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-total-distinct-problem/m-p/579587#M478874</guid>
      <dc:creator />
      <dc:date>2014-03-10T18:28:41Z</dc:date>
    </item>
  </channel>
</rss>

