<?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: How to count this? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count-this/m-p/1376373#M821904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashnil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For number of employees please use the below formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(Distinct Employee Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if the value for fines are repetitive then use &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Count(Distinct Fine ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;else &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Count(Fine ID)&lt;/SPAN&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;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Many Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Karthik&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2017 08:21:47 GMT</pubDate>
    <dc:creator>karthikoffi27se</dc:creator>
    <dc:date>2017-08-10T08:21:47Z</dc:date>
    <item>
      <title>How to count this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-this/m-p/1376372#M821903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very new to Qlikview. I have got a raw data file with over 2 million rows of data (sample extract attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173017_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt; I would like to do some simple counts in a straight table as follows: What will the expression statements be like?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/173018_pastedImage_5.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Please assist. Thank you in advance.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-this/m-p/1376372#M821903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to count this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-this/m-p/1376373#M821904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashnil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For number of employees please use the below formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(Distinct Employee Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if the value for fines are repetitive then use &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Count(Distinct Fine ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;else &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Count(Fine ID)&lt;/SPAN&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;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Many Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Karthik&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 08:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-this/m-p/1376373#M821904</guid>
      <dc:creator>karthikoffi27se</dc:creator>
      <dc:date>2017-08-10T08:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to count this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-this/m-p/1376374#M821905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashnil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a straight table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Num of Fines&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;count(DISTINCT [Employee Name])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the first column is a calculated dimension:&lt;/P&gt;&lt;P&gt;=Aggr(Count([Fine ID]),[Employee Name]) which I labelled Num of Fines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 08:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-this/m-p/1376374#M821905</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-08-10T08:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to count this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-this/m-p/1376375#M821906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like Below?&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;Employee Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Exp1:No of Emp &lt;/P&gt;&lt;P&gt;count( [Employee Name])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Exp2: No OF Fines&lt;/P&gt;&lt;P&gt;Count(Distinct [Fine ID])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 08:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-this/m-p/1376375#M821906</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-08-10T08:54:50Z</dc:date>
    </item>
  </channel>
</rss>

