<?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 Creating a count over two fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635639#M678806</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;I am trying to run the following as an expression on a Text Object:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(if(status_name = 'Unassigned' or status_name = 'Unaccepted' or status_name = 'Pending' or status_name = 'On Hold' &lt;/P&gt;&lt;P&gt;or status_name = 'Off Hold' and priority = 'Priority 1', priority))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should pull out 5 items, but it is pulling out 194 items instead.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am looking to do is get the count of all calls that are currently open on our support desk (status_name) and where the Priority also equals Priority 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would someone be able to help me with my coding please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon Ditchfield&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2014 10:12:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-16T10:12:46Z</dc:date>
    <item>
      <title>Creating a count over two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635639#M678806</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;I am trying to run the following as an expression on a Text Object:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(if(status_name = 'Unassigned' or status_name = 'Unaccepted' or status_name = 'Pending' or status_name = 'On Hold' &lt;/P&gt;&lt;P&gt;or status_name = 'Off Hold' and priority = 'Priority 1', priority))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should pull out 5 items, but it is pulling out 194 items instead.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am looking to do is get the count of all calls that are currently open on our support desk (status_name) and where the Priority also equals Priority 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would someone be able to help me with my coding please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon Ditchfield&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 10:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635639#M678806</guid>
      <dc:creator />
      <dc:date>2014-05-16T10:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a count over two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635640#M678807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to balance parenthesis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=count(if((status_name = 'Unassigned' or status_name = 'Unaccepted' or status_name = 'Pending' or status_name = 'On Hold' or status_name = 'Off Hold') and priority = 'Priority 1', priority))&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 10:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635640#M678807</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-16T10:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a count over two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635641#M678808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use set analysis, and try expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;status_name={'Unassigned','Pending','Unaccepted','On Hold'}&amp;gt;*&amp;lt;status_name={'Off Hold'),priority = {'Priority 1'}&amp;gt;}priority)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 10:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635641#M678808</guid>
      <dc:creator />
      <dc:date>2014-05-16T10:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a count over two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635642#M678809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Parentheses are required around the OR statements otherwise all status_names will pass the test.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 10:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635642#M678809</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-05-16T10:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a count over two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635643#M678810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 10:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635643#M678810</guid>
      <dc:creator />
      <dc:date>2014-05-16T10:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a count over two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635644#M678811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jon, Try below expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT( IF(Match(Status_Name,'Unassigned','Pending','Unaccepted','On Hold','Off Hold') AND Priority='Priority 1' , Priority) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Status_Name={'Unassigned','Pending','Unaccepted','On Hold','Off Hold'},Priority={'Priority 1' }&amp;gt;} Priority)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 03:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-count-over-two-fields/m-p/635644#M678811</guid>
      <dc:creator />
      <dc:date>2014-05-18T03:44:46Z</dc:date>
    </item>
  </channel>
</rss>

