<?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 + Agg in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699551#M672358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I thought this was the right answer. My bar graph after adding in different users gives my only a value of 6. Looking at the records for A1c's, under a single user I can see at least 15 values over 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;NAME = {'A1c'}, OBSVALUE = {'&amp;gt;7'}&amp;gt;}NAME)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="Bar qlik.JPG.jpg" class="jive-image" src="/legacyfs/online/67671_Bar qlik.JPG.jpg" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2014 18:37:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-25T18:37:49Z</dc:date>
    <item>
      <title>Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699548#M672355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to get a count of how many A1c's with a value greater than 7 using an expression within a bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have thus far...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(NAME = 'A1c') and if(OBSVALUE &amp;gt; 7,OBSVALUE) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course this did not work for me. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 16:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699548#M672355</guid>
      <dc:creator />
      <dc:date>2014-09-25T16:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699549#M672356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;NAME = {'A1c'}, OBSVALUE = {'&amp;gt;7'}&amp;gt;}NAME)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or to count only distinct names:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;NAME = {'A1c'}, OBSVALUE = {'&amp;gt;7'}&amp;gt;} distinct NAME)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 16:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699549#M672356</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-09-25T16:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699550#M672357</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;Try this Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NAME = 'A1c'&amp;nbsp; and &lt;/SPAN&gt;OBSVALUE &amp;gt; 7,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NAME&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 17:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699550#M672357</guid>
      <dc:creator>muniyandi</dc:creator>
      <dc:date>2014-09-25T17:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699551#M672358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I thought this was the right answer. My bar graph after adding in different users gives my only a value of 6. Looking at the records for A1c's, under a single user I can see at least 15 values over 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;NAME = {'A1c'}, OBSVALUE = {'&amp;gt;7'}&amp;gt;}NAME)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="Bar qlik.JPG.jpg" class="jive-image" src="/legacyfs/online/67671_Bar qlik.JPG.jpg" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 18:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699551#M672358</guid>
      <dc:creator />
      <dc:date>2014-09-25T18:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699552#M672359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression gave me a count of over 250.... Way over 15.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 18:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699552#M672359</guid>
      <dc:creator />
      <dc:date>2014-09-25T18:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699553#M672360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will conditionally count NAMES that have a NAME='A1c' and a summarized OBSVAUE (summing all detail records) greater than 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your data only has 1 OBSVALUE per NAME entry, this is no different than before. But if your data has multiple records an you need to do a subtotal of OBSVALUE and compare if the subtotal is greater than 7, then this does that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(&amp;nbsp;&amp;nbsp; if (&amp;nbsp; aggr( sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OBSVALUE&lt;/SPAN&gt;), NAME) &amp;gt; 7 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NAME = 'A1c',&lt;/SPAN&gt; , NAME) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 19:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699553#M672360</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-25T19:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699554#M672361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a name of a record called "A1c" which has a different value per date of service, per patient, per ordering provider. I'm trying to figure out how many patient's per provider have an A1c of &amp;gt;7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name Table = "A1c"&lt;/P&gt;&lt;P&gt;OBSVALUE table = "the value"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried you expression it only gave me a count of one for a single provider. That provider actually has 11.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="graph.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/67672_graph.JPG.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 19:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699554#M672361</guid>
      <dc:creator />
      <dc:date>2014-09-25T19:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699555#M672362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the expression used in the screenshot for 'Patients' ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 19:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699555#M672362</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-25T19:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699556#M672363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(OBSVALUE &amp;gt; 7, OBSVALUE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 19:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699556#M672363</guid>
      <dc:creator />
      <dc:date>2014-09-25T19:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699557#M672364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hmm... i'd prefer not to guess . Can you upload some dummy data or a sample QVW ? There is a twist in there that a sample will clear up.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 19:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699557#M672364</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-25T19:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699558#M672365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="1" class="jiveBorder" height="174" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid #000000; width: 790px; height: 163px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;User&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;NAME&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Amy&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A1c&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Bryan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A1c&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Guy&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;LDL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Carol&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A1c&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Sarah&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;LDL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Brenda&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Smoke Cessation&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I can't send what I have do to HIPAA (medical law) but, I put this example together which I hope helps. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 19:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699558#M672365</guid>
      <dc:creator />
      <dc:date>2014-09-25T19:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699559#M672366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; was afraid of that.&amp;nbsp; Here is used this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count (if( NAME = 'A1c' and Value &amp;gt; 5, NAME))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the app for your reference. its an inline load so you can change the data if you need to replicate the issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know your thoughts&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67685_Capture.PNG.png" style="font-size: 10pt; line-height: 1.5em; width: 620px; height: 294px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 19:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699559#M672366</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-25T19:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699560#M672367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The statement makes sense to me however, my results are "no data." I've been lost on this one for some time. I appreciate all your help!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 20:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699560#M672367</guid>
      <dc:creator />
      <dc:date>2014-09-25T20:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699561#M672368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are your results 'no data' with my sample or your QVW ?&amp;nbsp;&amp;nbsp; I believe the sample works for you just wanted to check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to share your QVW ? or some reduced or scrambled version ?&amp;nbsp;&amp;nbsp; There is a scramble feature on the document properties and you could load much reduced data by altering hte load script and removing fields and adding where filters... ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 20:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699561#M672368</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-25T20:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699562#M672369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried going this route (see below) and it looked closer to what I was after however, the count is not correct. The table chart is the total number of actual records where the bar chart is .... well.... a much higher number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the value into the dimension list and used the expression below. &lt;/P&gt;&lt;P&gt;expression: count({&amp;lt;NAME = {'A1c'}, OBSVALUE = {'&amp;gt;7'}&amp;gt;}NAME) &lt;/P&gt;&lt;P&gt;&lt;IMG alt="graph2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/67694_graph2.JPG.jpg" style="width: 620px; height: 378px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 20:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699562#M672369</guid>
      <dc:creator />
      <dc:date>2014-09-25T20:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699563#M672370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm... i wonder if its double or triple counting the records. Whichever way you try&amp;nbsp; whether its a count(if () ) or a count( {SET} )&amp;nbsp; ,&amp;nbsp; try adding a DISTINCT in there and possible concatenating the NAME with the VALUE:&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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Test 1:&amp;nbsp; count( distinct&amp;nbsp; {&amp;lt;NAME = {'A1c'}, OBSVALUE = {'&amp;gt;7'}&amp;gt;}NAME)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Test 2:&amp;nbsp; count( distinct&amp;nbsp; {&amp;lt;NAME = {'A1c'}, OBSVALUE = {'&amp;gt;7'}&amp;gt;}&amp;nbsp; NAME&amp;amp;OBSVALUE )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 00:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699563#M672370</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-26T00:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699564#M672371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Genius! Test 2 worked like a charm. All the records are matching up! Thank you so much for help me on this! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 13:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699564#M672371</guid>
      <dc:creator />
      <dc:date>2014-09-26T13:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699565#M672372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok. thats going to count each unique combination of name and obsvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you ever need to count a single combination of NAME and OBSVALUE more than once ?&amp;nbsp; If the answer is no, then you should be good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;glad we made progress.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 13:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699565#M672372</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-26T13:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count + Agg</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699566#M672373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. This is perfect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 14:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Agg/m-p/699566#M672373</guid>
      <dc:creator />
      <dc:date>2014-09-26T14:25:22Z</dc:date>
    </item>
  </channel>
</rss>

