<?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: Charts not displaying distinct count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399705#M1155699</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;&lt;/P&gt;&lt;P&gt;I am not allowed to release the QVW outside the company, is there any advice you can offer without seeing it? do i have to reference the dimension in the expression along with the distinct identifier?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2013 17:41:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-27T17:41:51Z</dc:date>
    <item>
      <title>Charts not displaying distinct count</title>
      <link>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399703#M1155697</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 2 charts 1 for order confirmation volume and the other for 'on time' or 'overdue' order confirmations &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The distinct count expression works on the first chart that just wants overall volume of confirmations (using order ID to define uniqueness)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However in the second chart with the 'on time'/'Overdue' dimension the count distinct doesn't work as it counts duplicate confirmations(sometimes we send multiple confirmations per order id).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimension is If(order date=confirmation date,"On time","Overdue")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 16:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399703#M1155697</guid>
      <dc:creator />
      <dc:date>2013-03-27T16:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Charts not displaying distinct count</title>
      <link>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399704#M1155698</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kindly post the qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 17:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399704#M1155698</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-27T17:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Charts not displaying distinct count</title>
      <link>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399705#M1155699</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;&lt;/P&gt;&lt;P&gt;I am not allowed to release the QVW outside the company, is there any advice you can offer without seeing it? do i have to reference the dimension in the expression along with the distinct identifier?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 17:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399705#M1155699</guid>
      <dc:creator />
      <dc:date>2013-03-27T17:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Charts not displaying distinct count</title>
      <link>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399706#M1155700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are saying, you have a chart, with Overdue / on time as the dimension, and the expression should be a count of orders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression will work would with =count(Distinct Order_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise I think the issue is in the dimension, not the expression. If you have multiple confirmation dates, you are creating potentially multiple rows where one order_ID could have both a row with overdue and on time in it and this is where the double count comes from!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to think about perhaps either creating a flag field in the script&amp;nbsp; in the confirmation table for EG the latest confirmation date (just a 1/0) and filter the table for this "main confirmation" date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good practice would probably dictate that you calculate the overdue / ontime field in your script too, and stick it in the main order table. This would make a lot of things easier for you too.&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;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 22:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399706#M1155700</guid>
      <dc:creator />
      <dc:date>2013-03-27T22:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Charts not displaying distinct count</title>
      <link>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399707#M1155701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic, thanks very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 08:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charts-not-displaying-distinct-count/m-p/399707#M1155701</guid>
      <dc:creator />
      <dc:date>2013-03-28T08:27:50Z</dc:date>
    </item>
  </channel>
</rss>

