<?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: need help in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-help-in-set-analysis/m-p/751528#M267970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;count({&amp;lt;record_id={'=sum(value)=0'}&amp;gt;}distinct record_id)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jan 2015 14:39:43 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-01-22T14:39:43Z</dc:date>
    <item>
      <title>need help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-in-set-analysis/m-p/751526#M267968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to get the count of distinct record id where the sum of values is 0.&lt;/P&gt;&lt;P&gt;like if (sum(value) = 0, count(distinct record_id)&lt;/P&gt;&lt;P&gt;but it is not working.&lt;/P&gt;&lt;P&gt;I was thinking if we can write like this:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;$(=sum(Value)) = {0}&amp;gt;}distinct record_id)&lt;/P&gt;&lt;P&gt;but it is also not working.&lt;/P&gt;&lt;P&gt;Please help me here how we can write this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 14:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-in-set-analysis/m-p/751526#M267968</guid>
      <dc:creator>musketeers</dc:creator>
      <dc:date>2015-01-22T14:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: need help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-in-set-analysis/m-p/751527#M267969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajneesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think inside a set_expression, you can only have a "native field" (not an expression) on the left side of the "=" and an expression on the right.&lt;/P&gt;&lt;P&gt;I guess you have several value_fields in one record? And you want to count those where the sum is 0?&lt;/P&gt;&lt;P&gt;So I guess you'll have to calculate another field with the sum in the script so you can use that (but then, when you're at that, make it a binary field (1 or 0) and you can just sum it up, no need for any set_expression anymore.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 14:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-in-set-analysis/m-p/751527#M267969</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-01-22T14:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: need help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-in-set-analysis/m-p/751528#M267970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;count({&amp;lt;record_id={'=sum(value)=0'}&amp;gt;}distinct record_id)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 14:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-in-set-analysis/m-p/751528#M267970</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-22T14:39:43Z</dc:date>
    </item>
  </channel>
</rss>

