<?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: Help need with expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378220#M814694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response hari krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2017 21:46:19 GMT</pubDate>
    <dc:creator>ramyasaiqv</dc:creator>
    <dc:date>2017-09-20T21:46:19Z</dc:date>
    <item>
      <title>Help need with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378211#M814685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I’m trying to count the number of orders which have&amp;nbsp;&amp;nbsp; Type= ‘BCT’ and Status=’Accepted’ (no ECT status at all) and&amp;nbsp;&amp;nbsp; Type=’ECT’ and Status=’Open’ or&amp;nbsp;&amp;nbsp; ‘-‘.&lt;/P&gt;&lt;P&gt;Please can someone help me in writing the expression?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Attached sample qvw and excel for reference.&lt;/P&gt;&lt;P&gt;Expected Result:&lt;/P&gt;&lt;P&gt;Count 3(BUS, DESC and PTZ)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramya&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/Help-need-with-expression/m-p/1378211#M814685</guid>
      <dc:creator>ramyasaiqv</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378212#M814686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Type = {'BCT', 'ECT'}, Status = {'Open','Accepted'}&amp;gt;} Order)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 04:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378212#M814686</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-20T04:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378213#M814687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Order&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;P&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Type&lt;/SPAN&gt;={'BCT'},&lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={Accepted}&amp;gt;})*&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;P&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Type&lt;/SPAN&gt;={'ECT'},&lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={Open}&amp;gt;+&amp;lt;&lt;SPAN style="color: #800000;"&gt;Order&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"=Count(Order) = 1"&lt;/SPAN&gt;},&lt;SPAN style="color: #800000;"&gt;Type&lt;/SPAN&gt;={'BCT'},&lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={Accepted}&amp;gt;})&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Order&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378213#M814687</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-09-20T06:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378214#M814688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Count({&amp;lt;Type = {'BCT'}, Status = {'Accepted'}&amp;gt; +&amp;nbsp; &amp;lt;Type = {'ECT'}, Status = {'Open'}&amp;gt;}&amp;nbsp; Order)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By '-', you mean null, I assume. Then maybe this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;EM&gt;Count({&amp;lt;Type = {'BCT'}, Status = {'Accepted'}&amp;gt; + &amp;lt;Type = {'ECT'}, Status = {'Open'}&amp;gt; + &amp;lt;Type = {'ECT'}, Status -= {'*'}&amp;gt;} Order)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(You have no null statuses in your data, so I could not test this)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378214#M814688</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-09-20T06:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378215#M814689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Order&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;P&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Type&lt;/SPAN&gt;={'BCT'},&lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={Accepted}&amp;gt;})*&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;P&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Type&lt;/SPAN&gt;={'ECT'},&lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={Open}&amp;gt;+&amp;lt;&lt;SPAN style="color: #800000;"&gt;Order&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"=Count(Order) = 1"&lt;/SPAN&gt;},&lt;SPAN style="color: #800000;"&gt;Type&lt;/SPAN&gt;={'BCT'},&lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={Accepted}&amp;gt;})&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Order&lt;/SPAN&gt;)&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;Chr&lt;/SPAN&gt;(10)&amp;amp;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Concat&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Order&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;P&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Type&lt;/SPAN&gt;={'BCT'},&lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={Accepted}&amp;gt;})*&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;P&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Type&lt;/SPAN&gt;={'ECT'},&lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={Open}&amp;gt;+&amp;lt;&lt;SPAN style="color: #800000;"&gt;Order&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"=Count(Order) = 1"&lt;/SPAN&gt;},&lt;SPAN style="color: #800000;"&gt;Type&lt;/SPAN&gt;={'BCT'},&lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={Accepted}&amp;gt;})&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Order&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,'-')&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177133_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 07:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378215#M814689</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-09-20T07:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378216#M814690</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.&lt;/P&gt;&lt;P&gt;count(if(Order='BUS'or Order='DESC'or Order='PTZ', if(Type='BCT' and Status='Accepted',Order))) + &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(Order='BUS'or Order='DESC'or Order='PTZ', if(Type='ECT' and Status='Open',Order)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 08:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378216#M814690</guid>
      <dc:creator>hari8088</dc:creator>
      <dc:date>2017-09-20T08:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378217#M814691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Antonio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 21:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378217#M814691</guid>
      <dc:creator>ramyasaiqv</dc:creator>
      <dc:date>2017-09-20T21:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378218#M814692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 21:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378218#M814692</guid>
      <dc:creator>ramyasaiqv</dc:creator>
      <dc:date>2017-09-20T21:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378219#M814693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response Jonathan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 21:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378219#M814693</guid>
      <dc:creator>ramyasaiqv</dc:creator>
      <dc:date>2017-09-20T21:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378220#M814694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response hari krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 21:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-expression/m-p/1378220#M814694</guid>
      <dc:creator>ramyasaiqv</dc:creator>
      <dc:date>2017-09-20T21:46:19Z</dc:date>
    </item>
  </channel>
</rss>

