<?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 min and if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/min-and-if/m-p/641343#M234960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to sum qty for a range date . the following expression is wrong:&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum( {&amp;lt;dealdate={"&amp;gt;=min({&amp;lt;data_origin={'purchase'},dealdate={'&amp;lt;=$(=$(var_date1))&amp;gt;=$(=$(var_date2))'}&amp;gt;} dealdate)"} &amp;gt;} qty)&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&amp;nbsp; sum(if(dealdate &amp;gt;=min({&amp;lt;data_origin={'purchase'},dealdate={'&amp;lt;=$(=$(var_date1))&amp;gt;=$(=$(var_date2))'}&amp;gt;} dealdate),qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I must find a the min date for type of&amp;nbsp; 'purchase'&amp;nbsp; , and sum the sales's&amp;nbsp; qty from that date. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 09:41:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-21T09:41:20Z</dc:date>
    <item>
      <title>min and if</title>
      <link>https://community.qlik.com/t5/QlikView/min-and-if/m-p/641343#M234960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to sum qty for a range date . the following expression is wrong:&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum( {&amp;lt;dealdate={"&amp;gt;=min({&amp;lt;data_origin={'purchase'},dealdate={'&amp;lt;=$(=$(var_date1))&amp;gt;=$(=$(var_date2))'}&amp;gt;} dealdate)"} &amp;gt;} qty)&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&amp;nbsp; sum(if(dealdate &amp;gt;=min({&amp;lt;data_origin={'purchase'},dealdate={'&amp;lt;=$(=$(var_date1))&amp;gt;=$(=$(var_date2))'}&amp;gt;} dealdate),qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I must find a the min date for type of&amp;nbsp; 'purchase'&amp;nbsp; , and sum the sales's&amp;nbsp; qty from that date. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 09:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-and-if/m-p/641343#M234960</guid>
      <dc:creator />
      <dc:date>2014-05-21T09:41:20Z</dc:date>
    </item>
  </channel>
</rss>

