<?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 date range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-date-range/m-p/104834#M603024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue with date range in set analysis. I have checked many an examples on qlikhelp but none seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 columns Amount, Date2 and Date3 and I want to sum the amounts for all Date3 that is between 30 and 15 days before date2.&lt;/P&gt;&lt;P&gt;My expression is following:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date3={"&amp;gt;=$(Date2-30)&amp;lt;=$(Date2-15)"}&amp;gt;} -Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the Dimension is Date2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2018 12:03:06 GMT</pubDate>
    <dc:creator>linhphuong</dc:creator>
    <dc:date>2018-10-15T12:03:06Z</dc:date>
    <item>
      <title>Set analysis date range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-date-range/m-p/104834#M603024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue with date range in set analysis. I have checked many an examples on qlikhelp but none seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 columns Amount, Date2 and Date3 and I want to sum the amounts for all Date3 that is between 30 and 15 days before date2.&lt;/P&gt;&lt;P&gt;My expression is following:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date3={"&amp;gt;=$(Date2-30)&amp;lt;=$(Date2-15)"}&amp;gt;} -Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the Dimension is Date2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 12:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-date-range/m-p/104834#M603024</guid>
      <dc:creator>linhphuong</dc:creator>
      <dc:date>2018-10-15T12:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis date range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-date-range/m-p/104835#M603025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this work (insert an extra = before the Date2)?&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;Date3={"&amp;gt;=$(=Date2-30)&amp;lt;=$(=Date2-15)"}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 17:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-date-range/m-p/104835#M603025</guid>
      <dc:creator>quriouss</dc:creator>
      <dc:date>2018-10-15T17:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis date range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-date-range/m-p/104836#M603026</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;The solution was to convert the date from numeric to date type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 10:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-date-range/m-p/104836#M603026</guid>
      <dc:creator>linhphuong</dc:creator>
      <dc:date>2018-10-16T10:37:37Z</dc:date>
    </item>
  </channel>
</rss>

