<?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 with date params in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-date-params/m-p/367480#M136652</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 have an issue with using Min, Max and Only in sets.&amp;nbsp; The following expression doesn't calculate the correct values: -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num(Sum(&lt;/P&gt;&lt;P&gt;{$&amp;lt;DATA_QUALITY = {1}, ORDER_STATUS -= {'refund'}, TEST_ORDER = {0}, VALID_ORDER = {1}, ITEM_TYPE-={'delivery','offer','delivery_surcharge'}, $(=Num([First Order Date])) = {"&amp;gt;=$(=Min(Standard_Date))&amp;lt;=$(=Max(Standard_Date))"}&amp;gt; } $(=Only(Prefix))_$(=Only(Suffix))),$(=Only(Format)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the objective of the above script is to Sum items where the "First Order Date" is between the selected "Calendar Start and End Dates"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2012 13:00:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-24T13:00:45Z</dc:date>
    <item>
      <title>Set Analysis with date params</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-date-params/m-p/367480#M136652</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 have an issue with using Min, Max and Only in sets.&amp;nbsp; The following expression doesn't calculate the correct values: -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num(Sum(&lt;/P&gt;&lt;P&gt;{$&amp;lt;DATA_QUALITY = {1}, ORDER_STATUS -= {'refund'}, TEST_ORDER = {0}, VALID_ORDER = {1}, ITEM_TYPE-={'delivery','offer','delivery_surcharge'}, $(=Num([First Order Date])) = {"&amp;gt;=$(=Min(Standard_Date))&amp;lt;=$(=Max(Standard_Date))"}&amp;gt; } $(=Only(Prefix))_$(=Only(Suffix))),$(=Only(Format)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the objective of the above script is to Sum items where the "First Order Date" is between the selected "Calendar Start and End Dates"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 13:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-date-params/m-p/367480#M136652</guid>
      <dc:creator />
      <dc:date>2012-05-24T13:00:45Z</dc:date>
    </item>
  </channel>
</rss>

