<?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: Re: Count If in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507905#M1142630</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;Y&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ou need 2 &lt;SPAN style="text-decoration: underline;"&gt;dimensions&lt;/SPAN&gt;: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Site and you add priority as a calculated dimension (normally I would think you can reuse the expression from the straight table as a calculated dimension). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then as an &lt;SPAN style="text-decoration: underline;"&gt;expression&lt;/SPAN&gt; you put the formula of priority between brackets and put count() around it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works in the example I inlcuded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2013 12:22:45 GMT</pubDate>
    <dc:creator>trappersw</dc:creator>
    <dc:date>2013-09-12T12:22:45Z</dc:date>
    <item>
      <title>Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507896#M1142614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance you could help me with a count if expression.&lt;/P&gt;&lt;P&gt;I have a column called Priority which has the following results in it;&lt;/P&gt;&lt;P&gt;0-1 Days&lt;/P&gt;&lt;P&gt;2-6 Days&lt;/P&gt;&lt;P&gt;7+ Days&lt;/P&gt;&lt;P&gt;0-1 Days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for an expression that counts the number of each of the above.&amp;nbsp; So based on the above, count if "0-1 Days" would return a result of 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 06:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507896#M1142614</guid>
      <dc:creator />
      <dc:date>2013-09-11T06:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507897#M1142615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take priority as a dimension of a staright table, and use &lt;STRONG&gt;Count(Priority)&lt;/STRONG&gt;&amp;nbsp; as an expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 07:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507897#M1142615</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-11T07:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507898#M1142616</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 chart Select Priority as Dimension and use Count(Priority) as expression, hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 07:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507898#M1142616</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-11T07:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507899#M1142617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response however, Priority is not available as a dimension because it is the result of an expression in the straight table.&amp;nbsp; Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 07:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507899#M1142617</guid>
      <dc:creator />
      <dc:date>2013-09-11T07:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507900#M1142618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do want the result in a chart or at script level?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 07:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507900#M1142618</guid>
      <dc:creator>vikram_patro</dc:creator>
      <dc:date>2013-09-11T07:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507901#M1142619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 07:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507901#M1142619</guid>
      <dc:creator />
      <dc:date>2013-09-11T07:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507902#M1142625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 07:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507902#M1142625</guid>
      <dc:creator>vikram_patro</dc:creator>
      <dc:date>2013-09-11T07:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507903#M1142628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(If(Aggr(&amp;lt;Your condition to class&amp;gt;,&amp;lt;your dimension in chart&amp;gt;)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 07:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507903#M1142628</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-11T07:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507904#M1142629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all.&lt;/P&gt;&lt;P&gt;The two pictures below represent my;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt; straight table, with the Days column and the Priority columns created using expressions.&lt;/LI&gt;&lt;LI&gt;an excel view of what I am trying to get Qlikview to achieve.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For each site, I want to show the count of each priority.&amp;nbsp; I am really stuck so any help that I can make sense of would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Straight Table.JPG.jpg" class="jive-image" src="/legacyfs/online/46483_Straight Table.JPG.jpg" style="width: 620px; height: 533px;" /&gt;&lt;IMG alt="Priority (By Site) - Excel.JPG.jpg" class="jive-image" src="/legacyfs/online/46484_Priority (By Site) - Excel.JPG.jpg" style="width: 620px; height: 494px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 07:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507904#M1142629</guid>
      <dc:creator />
      <dc:date>2013-09-12T07:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507905#M1142630</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;Y&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ou need 2 &lt;SPAN style="text-decoration: underline;"&gt;dimensions&lt;/SPAN&gt;: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Site and you add priority as a calculated dimension (normally I would think you can reuse the expression from the straight table as a calculated dimension). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then as an &lt;SPAN style="text-decoration: underline;"&gt;expression&lt;/SPAN&gt; you put the formula of priority between brackets and put count() around it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works in the example I inlcuded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 12:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507905#M1142630</guid>
      <dc:creator>trappersw</dc:creator>
      <dc:date>2013-09-12T12:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507906#M1142631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="example.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/46505_example.jpg" style="width: 620px; height: 243px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 12:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507906#M1142631</guid>
      <dc:creator>trappersw</dc:creator>
      <dc:date>2013-09-12T12:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507907#M1142632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wouter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are a legend.&amp;nbsp; That works well.&amp;nbsp; Thankyou very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 02:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507907#M1142632</guid>
      <dc:creator />
      <dc:date>2013-09-13T02:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/507908#M1142633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're welcome. Could you please mark my answer as a correct answer and by doing so close the thread. This way other QlikCommunity-users can see the issue is resolved - and I can build my reputation :-).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wouter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 12:06:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/507908#M1142633</guid>
      <dc:creator>trappersw</dc:creator>
      <dc:date>2013-09-13T12:06:27Z</dc:date>
    </item>
  </channel>
</rss>

