<?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 set analysis help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/449606#M167781</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;I'm triyng to create a set analysis to disregard selections in the model, except selections in 3 fields, the set analysis also needs to apply only to part of the records based on sum(qnty)&amp;gt;=1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({1&amp;lt; attribute_field= {1}, Store=$::Store, Date= {'&amp;gt;=$(=date(vDate1) &amp;lt;=$(=date(vDate2))'}, trans= {"=sum(qnty)&amp;gt;=1"} &amp;gt;} distinct trns)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to only count trans with qnty&amp;gt;=1, when the date is between the variables, attribute is 1 and to regard the current store selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is, i get 0, which i know is wrong.&lt;/P&gt;&lt;P&gt;When applying the set analysis with the attribute, store and either date or qnty conditions i get results, but when i put both date and qnty conditions it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has any idea to what the problem is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2013 11:22:23 GMT</pubDate>
    <dc:creator>raz-datamind</dc:creator>
    <dc:date>2013-03-18T11:22:23Z</dc:date>
    <item>
      <title>set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/449606#M167781</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;I'm triyng to create a set analysis to disregard selections in the model, except selections in 3 fields, the set analysis also needs to apply only to part of the records based on sum(qnty)&amp;gt;=1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({1&amp;lt; attribute_field= {1}, Store=$::Store, Date= {'&amp;gt;=$(=date(vDate1) &amp;lt;=$(=date(vDate2))'}, trans= {"=sum(qnty)&amp;gt;=1"} &amp;gt;} distinct trns)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to only count trans with qnty&amp;gt;=1, when the date is between the variables, attribute is 1 and to regard the current store selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is, i get 0, which i know is wrong.&lt;/P&gt;&lt;P&gt;When applying the set analysis with the attribute, store and either date or qnty conditions i get results, but when i put both date and qnty conditions it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has any idea to what the problem is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 11:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/449606#M167781</guid>
      <dc:creator>raz-datamind</dc:creator>
      <dc:date>2013-03-18T11:22:23Z</dc:date>
    </item>
  </channel>
</rss>

