<?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 How to write set expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527276#M197052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;How to write set expression for below condition &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;= &lt;SPAN style="font-size: 14pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;BusinessProcessStatus&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"New"&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;"Accepted" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;} &amp;gt;}DISTINCT DepartmentGUID)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jul 2013 13:52:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-01T13:52:03Z</dc:date>
    <item>
      <title>How to write set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527276#M197052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;How to write set expression for below condition &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;= &lt;SPAN style="font-size: 14pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;BusinessProcessStatus&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"New"&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;"Accepted" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;} &amp;gt;}DISTINCT DepartmentGUID)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 13:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527276#M197052</guid>
      <dc:creator />
      <dc:date>2013-07-01T13:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to write set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527277#M197053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changing &lt;SPAN style="color: #800000;"&gt;{"New"&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;"Accepted"} &lt;SPAN style="color: #000000;"&gt;to &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;{'New','&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Accepted'} &lt;SPAN style="color: #000000;"&gt;should make it work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 13:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527277#M197053</guid>
      <dc:creator>omyahamburg</dc:creator>
      <dc:date>2013-07-01T13:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to write set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527278#M197054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;BusinessProcessStatus&lt;/SPAN&gt;={'&lt;SPAN style="color: #800000;"&gt;New'&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;,&lt;/SPAN&gt; '&lt;SPAN style="color: #800000;"&gt;Accepted' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;} &amp;gt;}DISTINCT DepartmentGUID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 13:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527278#M197054</guid>
      <dc:creator />
      <dc:date>2013-07-01T13:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to write set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527279#M197055</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: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;= &lt;SPAN style="font-size: 14pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;BusinessProcessStatus&lt;/SPAN&gt;={'&lt;SPAN style="color: #800000;"&gt;New','&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Accepted'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;} &amp;gt;}DISTINCT DepartmentGUID)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 13:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527279#M197055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-01T13:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to write set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527280#M197056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= &lt;SPAN style="font-size: 14pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;BusinessProcessStatus&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"New"&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;} &lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #800000;"&gt;BusinessProcessStatus&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color: #800000;"&gt;Accepted" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;} &amp;gt;}DISTINCT DepartmentGUID)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 14:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527280#M197056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-01T14:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to write set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527281#M197057</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;/P&gt;&lt;P&gt;if(&lt;SPAN style="background-color: #ffffff; font-size: 19px; font-family: Arial; color: #800000;"&gt;BusinessProcessStatus&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 19px; background-color: #ffffff;"&gt;='&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 19px; font-family: Arial; color: #800000;"&gt;New' and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 19px; font-family: Arial; color: #800000;"&gt;BusinessProcessStatus&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 19px; background-color: #ffffff;"&gt;='accepted&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 19px; font-family: Arial; color: #800000;"&gt;',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 14pt; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 14pt; color: #737373; font-family: Arial;"&gt;DISTINCT DepartmentGUID))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 14:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527281#M197057</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-07-01T14:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to write set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527282#M197058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this hope it helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum(Aggr(If(count({&amp;lt;BusinessProcessStatus={"New", "Accepted" } &amp;gt;}DISTINCT BusinessProcessStatus) = 2, 1, 0)&lt;/P&gt;&lt;P&gt;DepartmentGUID))&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>Mon, 01 Jul 2013 14:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-set-expression/m-p/527282#M197058</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-07-01T14:26:56Z</dc:date>
    </item>
  </channel>
</rss>

