<?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 Aggregation and Count Distinct Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Count-Distinct-Function/m-p/403375#M484243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like a textbox in the presentation layer to count distinct employees present in both time period. The text that says 4 I need to get the answer as 2, as you can see from the table only 2 employees overlap in the time period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The time periods are given as input box providing the users the flexibility to change time periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 22:37:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-23T22:37:47Z</dc:date>
    <item>
      <title>Aggregation and Count Distinct Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Count-Distinct-Function/m-p/403375#M484243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like a textbox in the presentation layer to count distinct employees present in both time period. The text that says 4 I need to get the answer as 2, as you can see from the table only 2 employees overlap in the time period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The time periods are given as input box providing the users the flexibility to change time periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 22:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Count-Distinct-Function/m-p/403375#M484243</guid>
      <dc:creator />
      <dc:date>2013-05-23T22:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation and Count Distinct Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Count-Distinct-Function/m-p/403376#M484244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 06:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Count-Distinct-Function/m-p/403376#M484244</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-24T06:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation and Count Distinct Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Count-Distinct-Function/m-p/403377#M484245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. This greatly helps. As a followup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual question I had was to add a third dimension called grade and incorporate the same in the expression.I have attached the file for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need two text boxes -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;First Expression - &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;I want to count the employees present in both time periods with same grade in both periods - The result should be 1 as you can see EmpID 2 is the only one that fits this criteria.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Second Expression - I want to count the employees present in both time periods and with only positive increase in grade points - The result should be 1 as you can see EmpID1 is the only one that fits this criteria as the grade points for ID -1 increased from 10 in 2009 to 20 in 2010. In my context it essentially calculates promotions in my dataset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks a lot for your help!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 18:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Count-Distinct-Function/m-p/403377#M484245</guid>
      <dc:creator />
      <dc:date>2013-05-24T18:59:38Z</dc:date>
    </item>
  </channel>
</rss>

