<?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 Analysis using Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492706#M184301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this to change format&lt;/P&gt;&lt;P&gt;date(date#(Datefield,'YYYY-MM-DD'),'DD/MM/YYYY') AS Date,&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;Date(Datefield,'DD/MM/YYYY') as Date&lt;/P&gt;&lt;P&gt;hope it helps &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jun 2013 06:38:10 GMT</pubDate>
    <dc:creator>er_mohit</dc:creator>
    <dc:date>2013-06-21T06:38:10Z</dc:date>
    <item>
      <title>Set Analysis using Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492700#M184295</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'm haing a problem using dates in my set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Included is a sample to illustrate the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really just need to be able to sum the values related to a period going back from the current date i.e. last 3 months, or last 12 months etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joao.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 11:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492700#M184295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-20T11:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492701#M184296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 11:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492701#M184296</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-06-20T11:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492702#M184297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just share some data which u r using&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 12:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492702#M184297</guid>
      <dc:creator />
      <dc:date>2013-06-20T12:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492703#M184298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi check below Last3month sum script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;Create date as &lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; color: maroon; font-family: 'Arial','sans-serif';"&gt;TRANDATE&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;(DD/MM/YYYY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;SET &lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'Courier New';"&gt;vLTMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt; =&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Arial','sans-serif';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Arial','sans-serif';"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Arial','sans-serif';"&gt;TRANDATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;),'DD/MM/YYYYY') ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'Courier New';"&gt; vLastThreeMonth=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt; =&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Arial','sans-serif';"&gt;monthstart&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Arial','sans-serif';"&gt;vLTMonth&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: blue; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: blue; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: blue; font-family: 'Courier New';"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'Courier New';"&gt;( {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: maroon; font-family: 'Courier New';"&gt;TRANDATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'Courier New';"&gt;={'&amp;gt;=$(vLastThreeMonth)&amp;lt;=$(vLTMonth)'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: maroon; font-family: 'Courier New';"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'Courier New';"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: maroon; font-family: 'Courier New';"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'Courier New';"&gt;= &amp;gt;}Value) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'Courier New';"&gt;Hope it will help u&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'Courier New';"&gt;Regards-Bika&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 12:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492703#M184298</guid>
      <dc:creator />
      <dc:date>2013-06-20T12:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492704#M184299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this. It is very useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you confirm that what you are telling me, is that I can't achieve what I want to with the date format that I currently use, which is YYYY-MM-DD i.e. I have to change this to DD-MM-YYYY or DD/MM/YYYY?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 06:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492704#M184299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-21T06:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492705#M184300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but please confirm that I can't do this with the date format I am using (QlikView model attached). Both suggestions imply that I must change this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joao.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 06:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492705#M184300</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-21T06:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492706#M184301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this to change format&lt;/P&gt;&lt;P&gt;date(date#(Datefield,'YYYY-MM-DD'),'DD/MM/YYYY') AS Date,&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;Date(Datefield,'DD/MM/YYYY') as Date&lt;/P&gt;&lt;P&gt;hope it helps &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 06:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492706#M184301</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-06-21T06:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492707#M184302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi it will help u...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="43081" class="jive-image" alt="Term analysis.bmp" src="/legacyfs/online/43081_Term analysis.bmp" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards-Bika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 12:14:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492707#M184302</guid>
      <dc:creator />
      <dc:date>2013-06-21T12:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492708#M184303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your problem resolved then to close thi thread mark it as correct or helpful answer so that it might be helpful for other developer&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mahit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 05:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492708#M184303</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-06-24T05:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492709#M184304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I am not there yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how / where to try implementing the above. I would prefer the option of not having to change my date formats (if this is an option). If it isn't, do I change it at time of import, or can I leave everything as is, and implement this change only where I do the set analysis (which will be extensive)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will play around with this to check what works, and close the call when I am happy with the solution. I will at the very least mark it as helpful once I have confirmed that it resolves the issue (even if it doesn't exactly address what I am trying to achieve).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joao.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 05:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-Dates/m-p/492709#M184304</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-24T05:54:07Z</dc:date>
    </item>
  </channel>
</rss>

