<?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: set Set Analysis between dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508223#M1131653</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This might not have worked because the date format will be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Meaning the format for the field Datetime and the value which you are checking (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;{"&amp;lt;$(date(max({1}Datetime)-1))&amp;nbsp; &amp;gt;$(date(max(Datetime)-15))"}&lt;/SPAN&gt;) should be same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kindly check that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Nov 2013 08:46:19 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2013-11-12T08:46:19Z</dc:date>
    <item>
      <title>set Set Analysis between dates</title>
      <link>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508219#M1131649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey guys &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ive been trying to make this set analysis work but i just keep on getting 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Datetime ={"$(&amp;lt;(date(max({1}Datetime)-1)))&amp;nbsp;&amp;nbsp;&amp;nbsp; $(&amp;gt;(date(max({Datetime)-15)))"}&amp;gt;}tests)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what am i doing wrong????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 17:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508219#M1131649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-11T17:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: set Set Analysis between dates</title>
      <link>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508220#M1131650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use something like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;=Sum({$&amp;lt;closeDate = {"&amp;gt;=$(=vstartdate)&amp;lt;=$(=venddate) "}&amp;gt;} sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Instead of &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vstartdate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; and &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;venddate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, you can use expression to derive your date also.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Datetime &lt;/SPAN&gt;= {"&amp;gt;=$(=date(max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Datetime &lt;/SPAN&gt;)-15)) &amp;lt;=$(=date(max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Datetime &lt;/SPAN&gt;)-1)) "}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;tests&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 17:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508220#M1131650</guid>
      <dc:creator />
      <dc:date>2013-11-11T17:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: set Set Analysis between dates</title>
      <link>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508221#M1131651</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({$&amp;lt;Datetime ={"&amp;lt;$(date(max({1}Datetime)-1))&amp;nbsp; &amp;gt;$(date(max(Datetime)-15))"}&amp;gt;}tests)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;For set analysis&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-2895"&gt;http://community.qlik.com/docs/DOC-2895&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3872"&gt;http://community.qlik.com/docs/DOC-3872&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 17:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508221#M1131651</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-11-11T17:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: set Set Analysis between dates</title>
      <link>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508222#M1131652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey &lt;/P&gt;&lt;P&gt;i cant use Var &lt;/P&gt;&lt;P&gt;and sadly this to &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;sum({$&amp;lt;Datetime ={"&amp;lt;$(date(max({1}Datetime)-1))&amp;nbsp; &amp;gt;$(date(max(Datetime)-15))"}&amp;gt;}tests)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;didnt work thanks guys &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;any other ideas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 08:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508222#M1131652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-12T08:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: set Set Analysis between dates</title>
      <link>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508223#M1131653</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This might not have worked because the date format will be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Meaning the format for the field Datetime and the value which you are checking (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;{"&amp;lt;$(date(max({1}Datetime)-1))&amp;nbsp; &amp;gt;$(date(max(Datetime)-15))"}&lt;/SPAN&gt;) should be same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kindly check that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 08:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508223#M1131653</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-11-12T08:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: set Set Analysis between dates</title>
      <link>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508224#M1131655</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;Give this a try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Datetime ={"&amp;lt;$(=date(max({1} Datetime) - 1)) &amp;gt;$(=date(max({1} Datetime) - 15))"}&amp;gt;}tests)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 08:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508224#M1131655</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-11-12T08:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: set Set Analysis between dates</title>
      <link>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508225#M1131658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Jonathan. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some of the QlikTech courses it is recommended to convert dates to numbers in order to be used in Set Analysis, since sometimes it does not work properly using a date value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Being aware of this issue, whenever I need to use dates in set analysis I create additional fields with the num(field) value, and I work only with numeric format for dates, and they always work properly.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 10:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-Set-Analysis-between-dates/m-p/508225#M1131658</guid>
      <dc:creator>jldengra</dc:creator>
      <dc:date>2013-11-12T10:29:09Z</dc:date>
    </item>
  </channel>
</rss>

