<?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: HELP! Can't subtract days from between dates in set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12502#M909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny this works like a charm, thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is now giving me the correct ranges &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Between Correct.png" class="jive-image image-1" src="/legacyfs/online/202047_Between Correct.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2018 03:31:53 GMT</pubDate>
    <dc:creator>ederleelefon_gt</dc:creator>
    <dc:date>2018-05-10T03:31:53Z</dc:date>
    <item>
      <title>HELP! Can't subtract days from between dates in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12499#M906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me I was stuck on this for quite so many weeks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to get the range of Sales using Between in Set Analysis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;Date={"&amp;gt;=$(=max(Date)-7)&amp;lt;$(=max(Date))"}&amp;gt;}Sales)&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Table which looks like this, ideally If I was to get only those Items from &lt;STRONG&gt;1/24/2008&lt;/STRONG&gt; to &lt;STRONG&gt;1/17/2008&lt;/STRONG&gt; but it is still aggregating based on the last available date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected Output should be: 4624+480=&amp;nbsp; &lt;STRONG&gt;5104 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Between.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202046_Between.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 01:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12499#M906</guid>
      <dc:creator>ederleelefon_gt</dc:creator>
      <dc:date>2018-05-10T01:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: HELP! Can't subtract days from between dates in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12500#M907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you change your Date to being a numeric value (either directly in the table it belongs to, or indirectly in a Calendar table) in your load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. Num(Date) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the set analysis works because it uses a numeric comparison. Your expression is correct, although I think you need &amp;lt;= rather than &amp;lt;&lt;/P&gt;&lt;P&gt;ie.&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Date= {"&amp;gt;=$(=max(Date)-7)&lt;STRONG style=": ; color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt;$(=max(Date))"}&amp;gt; } Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think Qlik has recognised your Dates as dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 02:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12500#M907</guid>
      <dc:creator>duncanblaine</dc:creator>
      <dc:date>2018-05-10T02:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: HELP! Can't subtract days from between dates in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12501#M908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;Date = {"&amp;gt;=$(=Date(Max(Date) - 7, 'M/D/YYYY'))&amp;lt;=$(=Date(Max(Date), 'M/D/YYYY'))"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 02:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12501#M908</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-10T02:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: HELP! Can't subtract days from between dates in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12502#M909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny this works like a charm, thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is now giving me the correct ranges &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Between Correct.png" class="jive-image image-1" src="/legacyfs/online/202047_Between Correct.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 03:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12502#M909</guid>
      <dc:creator>ederleelefon_gt</dc:creator>
      <dc:date>2018-05-10T03:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: HELP! Can't subtract days from between dates in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12503#M910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, also take this in mind, appreciate all your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 03:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HELP-Can-t-subtract-days-from-between-dates-in-set-analysis/m-p/12503#M910</guid>
      <dc:creator>ederleelefon_gt</dc:creator>
      <dc:date>2018-05-10T03:32:35Z</dc:date>
    </item>
  </channel>
</rss>

