<?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: Count and Sum function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726496#M722992</link>
    <description>&lt;P&gt;Thank you Zaara . It's perfectly working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't mind , Can you please let me know how to apply the same in script side. with yes or no condition.&lt;/P&gt;&lt;P&gt;if(match(Stage,'Promised', 'Booked') and (match(Status, 'Lost') = 0) , if(&lt;BR /&gt;aggr(sum(Amount),ID)&amp;lt;=500,ID),'Yes','No')&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2020 12:42:30 GMT</pubDate>
    <dc:creator>deepakkrish</dc:creator>
    <dc:date>2020-07-09T12:42:30Z</dc:date>
    <item>
      <title>Count and Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726420#M722985</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to write an expression where I want to calculate the number of ID's with Amount less than or equal to 500.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;Amount={"$(='&amp;lt;=500')"},&lt;BR /&gt;Status -= {'Lost'}, Stage = {'Booked', 'promised'}&amp;gt;}ID).&lt;/P&gt;&lt;P&gt;it should not check the ID line by line. so,the Amount should be sum up , Sum(amount)&amp;lt;=500.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'd appreciate if I could get the best method/syntax to produce this result?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;BR /&gt;Deepak.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726420#M722985</guid>
      <dc:creator>deepakkrish</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726424#M722986</link>
      <description>&lt;P&gt;Maye be :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=Count({$&amp;lt;ID={"=Sum(amount)&amp;lt;=500"},
Status -= {'Lost'}, Stage = {'Booked', 'promised'}&amp;gt;}ID)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Jul 2020 10:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726424#M722986</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-07-09T10:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726430#M722987</link>
      <description>&lt;P&gt;Thanks for the quick reply .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is not working .. same results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 11:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726430#M722987</guid>
      <dc:creator>deepakkrish</dc:creator>
      <dc:date>2020-07-09T11:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726441#M722988</link>
      <description>&lt;P&gt;Qlik is case sensitive, did you try to use Amount instead of amount?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count({$&amp;lt;ID = {"=Sum(Amount) &amp;lt;= 500"}, Status -= {'Lost'}, Stage = {'Booked', 'promised'}&amp;gt;} ID)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Jul 2020 11:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726441#M722988</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-07-09T11:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726467#M722989</link>
      <description>&lt;P&gt;yes ., Seems its working now..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please guide me how to apply the same expression function in Straight table.&lt;/P&gt;&lt;P&gt;=if(match(Stage,'Promised', 'Booked') and (match(Status, 'Lost') = 0) , if(sum(Amount)&amp;lt;=500 , ID))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 12:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726467#M722989</guid>
      <dc:creator>deepakkrish</dc:creator>
      <dc:date>2020-07-09T12:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726469#M722990</link>
      <description>&lt;P&gt;I have to apply this in calculated dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=if(match(Stage,'Promised', 'Booked') and (match(Status, 'Lost') = 0) , if(sum(Amount)&amp;lt;=500 , ID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Deepak.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 12:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726469#M722990</guid>
      <dc:creator>deepakkrish</dc:creator>
      <dc:date>2020-07-09T12:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726473#M722991</link>
      <description>&lt;P&gt;Maye be :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=if(match(Stage,'Promised', 'Booked') and (match(Status, 'Lost') = 0) , if(
aggr(sum(Amount),ID)&amp;lt;=500,ID))
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and check Supress when value is Null&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 12:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726473#M722991</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-07-09T12:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726496#M722992</link>
      <description>&lt;P&gt;Thank you Zaara . It's perfectly working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't mind , Can you please let me know how to apply the same in script side. with yes or no condition.&lt;/P&gt;&lt;P&gt;if(match(Stage,'Promised', 'Booked') and (match(Status, 'Lost') = 0) , if(&lt;BR /&gt;aggr(sum(Amount),ID)&amp;lt;=500,ID),'Yes','No')&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 12:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726496#M722992</guid>
      <dc:creator>deepakkrish</dc:creator>
      <dc:date>2020-07-09T12:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Sum function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726511#M722993</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/13771"&gt;@deepakkrish&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(match(Stage,'Promised', 'Booked') and (match(Status, 'Lost') = 0) , if(&lt;BR /&gt;aggr(sum(Amount),ID)&amp;lt;=500,ID),'Yes','No') is correct&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you mean in Load Script ? If yes, can you share a sample data?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 13:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Sum-function/m-p/1726511#M722993</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-07-09T13:02:21Z</dc:date>
    </item>
  </channel>
</rss>

