<?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: Script help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/458415#M171134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am a bit confused here so how can you write the one below which is comparing two fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (netw_Secterr =Terr_TerritoryID AND Terr_ChildCount = 0 AND&amp;nbsp; netw_eventfocus = 'Black'&amp;nbsp; And isNull( netw_Deleted), count(netw_NetworkEventID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Nov 2012 13:13:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-22T13:13:40Z</dc:date>
    <item>
      <title>Script help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/458413#M171132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi can someone help me please convert the folloowing into set analysis code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (pers_race LIKE 'Black' AND pers_isowner LIKE 'Y' AND isNull(Comp_Deleted) AND isNull(Terr_Deleted)&amp;nbsp; AND IsNull(Pers_Deleted) AND comp_status = 'WorkingWith' AND Terr_ChildCount = 0, count(PeLi_PersonId))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks alot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 12:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/458413#M171132</guid>
      <dc:creator />
      <dc:date>2012-11-22T12:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/458414#M171133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;count({&amp;lt;pers_race={'Black'},pers_isowner={'Y'}&amp;gt;,Comp_Deleted-={'*'},Terr_Deleted-={'*'},Pers_Deleted-={'*'},comp_status={'WorkingWith'},Terr_ChildCount={0}&amp;gt;} Peli_PersonID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression editor flags -= as wrong (underlined red), but that's a bug in the editor. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 12:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/458414#M171133</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-22T12:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/458415#M171134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am a bit confused here so how can you write the one below which is comparing two fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (netw_Secterr =Terr_TerritoryID AND Terr_ChildCount = 0 AND&amp;nbsp; netw_eventfocus = 'Black'&amp;nbsp; And isNull( netw_Deleted), count(netw_NetworkEventID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 13:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/458415#M171134</guid>
      <dc:creator />
      <dc:date>2012-11-22T13:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/458416#M171135</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;You are aware that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(&amp;nbsp; &amp;lt;cond&amp;gt; ,&amp;nbsp; Sum(....))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is not the same as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(If( &amp;lt;cond&amp;gt;, ....))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first one, as per the orogonal post, does not lend itself to a set expression because the condition is outside the aggregation function...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just my 2c - perhaps the OP meant a sum(if())...&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 13:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/458416#M171135</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-11-22T13:43:54Z</dc:date>
    </item>
  </channel>
</rss>

