<?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: Distinct Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314447#M408237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Jayant!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 May 2017 16:46:05 GMT</pubDate>
    <dc:creator>Sergey_Shuklin</dc:creator>
    <dc:date>2017-05-22T16:46:05Z</dc:date>
    <item>
      <title>Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314446#M408236</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;In the attached example I want to show a chart based on DISTINCT Count of Profiles.&lt;/P&gt;&lt;P&gt;My requirement is along with Country, I want Status as well however, the status should be&amp;nbsp; MAX(Value) per Profile.&lt;/P&gt;&lt;P&gt;i.e. When nothing selected&amp;nbsp; for country&amp;nbsp; it should show -&amp;nbsp; 'Open'&amp;nbsp; (for value = 20)&lt;/P&gt;&lt;P&gt;when Country&amp;nbsp; = US&amp;nbsp; - &lt;SPAN style="font-size: 13.3333px;"&gt;it should show -&amp;nbsp; 'Closed'&amp;nbsp; (for value = 15)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;when Country&amp;nbsp; = Canada&amp;nbsp; - &lt;SPAN style="font-size: 13.3333px;"&gt;it should show -&amp;nbsp; 'Open'&amp;nbsp; (for value = 20).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In any case it should not interfere with the ProfileCount.&amp;nbsp; Profile is at lower Granularity than Country&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Note : 1 Profile is May be shared across the countries --- So when I use Country Dim --&amp;nbsp; Distinct Count should be 1 .... it should not count twice. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please have a look in.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 16:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314446#M408236</guid>
      <dc:creator>jayanttibhe</dc:creator>
      <dc:date>2017-05-22T16:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314447#M408237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Jayant!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 16:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314447#M408237</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-05-22T16:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314448#M408238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to name 'Open'/'Close' but it's can be easily solved in calculated dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 16:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314448#M408238</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-05-22T16:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314449#M408239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When nothing is selected you want Open? for both Canada and US? also why would you see 1 for distinct profile when one country is selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 16:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314449#M408239</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-22T16:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314450#M408240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sergey - I wanted corresponding status&amp;nbsp; as dimension as well for Max value ...&amp;nbsp; Idea is Status is at lower Granular level than Profile... Here, I dont want Distinct Count of Profile = 2 because of the multiple status per profile..... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 17:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314450#M408240</guid>
      <dc:creator>jayanttibhe</dc:creator>
      <dc:date>2017-05-22T17:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314451#M408241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Sunny -&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;as responded to Sergey - I wanted corresponding status&amp;nbsp; as second dimension as well for Max value per Profile / per country ...&amp;nbsp; Idea is Status is at lower Granular level than Profile... Here, I dont want Distinct Count of Profile = 2 because of the multiple status per profile..... &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 17:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314451#M408241</guid>
      <dc:creator>jayanttibhe</dc:creator>
      <dc:date>2017-05-22T17:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314452#M408242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this the point?&lt;/P&gt;&lt;P&gt;I let myself to create a variable, hope you don't mind!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 17:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314452#M408242</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-05-22T17:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314453#M408243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached - I would like to explain again.&amp;nbsp; Basically this requirement is weird and may not make much sense.&lt;/P&gt;&lt;P&gt;But we basically want to show the Count on the chart for Distinct Profile&amp;nbsp; = Total Distinct Profile. Which often fails as we have Status which is at lower granularity. If you see in the attachment,&lt;/P&gt;&lt;P&gt;For Country Selected&amp;nbsp; = Canada&amp;nbsp; we have following data,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="223"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="59"&gt;Country&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="88"&gt;Profile&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="40"&gt;Status&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="36"&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Canada&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Closed&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Canada&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Closed&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Canada&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Open&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Count of Distinct Prof = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But due to status it shows&amp;nbsp; 1 for Open and 2 for Closed&amp;nbsp; ; hence total as 3 however it's not matching the overall DISTINCT Count of profile which is 2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, I want to show only those STATUS Where&amp;nbsp; Value Per Profile is MAX .... i.e. in this case it should show status as&amp;nbsp; Open for Profile 2 as we have value&amp;nbsp; = 20&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 17:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count/m-p/1314453#M408243</guid>
      <dc:creator>jayanttibhe</dc:creator>
      <dc:date>2017-05-22T17:54:21Z</dc:date>
    </item>
  </channel>
</rss>

