<?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 if countif expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108264#M605077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone help? Trying to create an expression in QlikView that works like the following excel formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(COUNTIF($AE$2:AE2,AE2)&amp;gt;1,"Add On","Stop")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2018 17:11:30 GMT</pubDate>
    <dc:creator>l_palacios</dc:creator>
    <dc:date>2018-07-19T17:11:30Z</dc:date>
    <item>
      <title>if countif expression help</title>
      <link>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108264#M605077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone help? Trying to create an expression in QlikView that works like the following excel formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(COUNTIF($AE$2:AE2,AE2)&amp;gt;1,"Add On","Stop")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 17:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108264#M605077</guid>
      <dc:creator>l_palacios</dc:creator>
      <dc:date>2018-07-19T17:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: if countif expression help</title>
      <link>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108265#M605078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be - &lt;/P&gt;&lt;P&gt;If(Count(Field)&amp;gt;1, 'Add On', 'Stop')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying to do it in script or front end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 17:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108265#M605078</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-07-19T17:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: if countif expression help</title>
      <link>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108266#M605079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yes, originally, i tried using the following in my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Count([StopID])&amp;gt;1,'Add On','Stop')&amp;nbsp;&amp;nbsp;&amp;nbsp; as Stops, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i keep getting "Invalid Expression" error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 16:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108266#M605079</guid>
      <dc:creator>l_palacios</dc:creator>
      <dc:date>2018-07-24T16:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: if countif expression help</title>
      <link>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108267#M605080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using Count or any other aggregation function in your load statement then you need to use 'group by' clause. May be that's the reason for your invalid expression error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 17:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108267#M605080</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-07-24T17:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: if countif expression help</title>
      <link>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108268#M605081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i will try that...otherwise, i may just convert the output to a chart table and just use a set analysis count function. Appreciate the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 18:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108268#M605081</guid>
      <dc:creator>l_palacios</dc:creator>
      <dc:date>2018-07-24T18:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: if countif expression help</title>
      <link>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108269#M605082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; StopId,&lt;/P&gt;&lt;P&gt;B,&lt;/P&gt;&lt;P&gt;C;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;If(Count(StopID)&amp;gt;1,'Add on','Stop') as Stops,&lt;/P&gt;&lt;P&gt;B,&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;resident Table1 Group by StopId;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 05:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108269#M605082</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-25T05:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: if countif expression help</title>
      <link>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108270#M605083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala, I think the 'group by' clause need to include all the fields in the Load statement. I would suggest to load only StopId and the if statement in the table2 and skip dropping the table1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 12:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-countif-expression-help/m-p/108270#M605083</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-07-25T12:43:47Z</dc:date>
    </item>
  </channel>
</rss>

