<?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: Dates comparision not filtering exactly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-comparision-not-filtering-exactly/m-p/807481#M285112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only Load data based on MonthStart and see the things once.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;Monthstart&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;('$(venddate)') &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;Monthstart&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;('$(vstartdate)')&amp;lt;--- &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;or let me know how you are deriving MonthStart and MonthEnd columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Nov 2014 20:00:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-24T20:00:48Z</dc:date>
    <item>
      <title>Dates comparision not filtering exactly</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-comparision-not-filtering-exactly/m-p/807480#M285111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help on Dates and Format which are complicating my days with out any error&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/71945_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Previous Thread:&lt;A _jive_internal="true" href="https://community.qlik.com/thread/142685"&gt;http://community.qlik.com/thread/142685&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I need to display past 12 month of data from current date if suppose today is Nov we have Oct data like that created variables in Oct(10/31/2014) to (10/1/2013) data in between above should load and remaining data to be filtered not to load in App.&lt;/P&gt;&lt;P&gt;Accounting Period has 'YYYYMM' based on this created start and end date&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;SET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;TimeFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;='h:mm:ss TT';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;SET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;='M/D/YYYY';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;SET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;TimestampFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;='M/D/YYYY h:mm:ss[.fff] TT';&lt;BR /&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vstartdate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;MonthEnd&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;MONTHSTART&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;TODAY&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;())-1),'MM/DD/YYYY');&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;venddate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;MONTHSTART&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;()),-13),'MM/DD/YYYY');&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt; text-decoration: underline;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt; text-decoration: underline;"&gt;Monthstart&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt; text-decoration: underline;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt; text-decoration: underline;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt; text-decoration: underline;"&gt;('$(venddate)') &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt; text-decoration: underline;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt; text-decoration: underline;"&gt;Monthend&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt; text-decoration: underline;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt; text-decoration: underline;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt; text-decoration: underline;"&gt;('$(vstartdate)')&amp;lt;--- &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;here it is not filtering exactliy&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-size: 9pt; font-family: 'Courier New';"&gt;//Monthend(date(&amp;nbsp; right(Date#( AccPrdOGIS,6), 'YYYYMM'))) &amp;lt;=&amp;nbsp; Monthend( Today())&lt;SPAN style="color: green; font-size: 9pt; font-family: 'Courier New';"&gt;//where Monthstart(date(Date#(right( AccPrdOGIS,6), 'YYYYMM')))&amp;nbsp; &amp;gt;=Monthstart( addmonths( Today(),-12))&lt;BR /&gt;//and&lt;BR /&gt;//Monthend(date(&amp;nbsp; right(Date#( AccPrdOGIS,6), 'YYYYMM'))) &amp;lt;=&amp;nbsp; Monthend( Today())&lt;SPAN style="color: green; font-size: 9pt; font-family: 'Courier New';"&gt;//where Monthstart&amp;gt;=Date($(venddate),'MM/DD/YYYY')&lt;BR /&gt;//and Monthend&amp;lt;=Date($(vstartdate),'MM/DD/YYYY');&lt;BR /&gt;//&lt;BR /&gt;////where Monthstart&amp;gt;=date#($(venddate),'')&lt;BR /&gt;//and Monthstart&amp;lt;=$(vstartdate);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 12:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-comparision-not-filtering-exactly/m-p/807480#M285111</guid>
      <dc:creator />
      <dc:date>2014-11-24T12:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dates comparision not filtering exactly</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-comparision-not-filtering-exactly/m-p/807481#M285112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only Load data based on MonthStart and see the things once.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;Monthstart&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;('$(venddate)') &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;Monthstart&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; text-decoration: underline;"&gt;('$(vstartdate)')&amp;lt;--- &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;or let me know how you are deriving MonthStart and MonthEnd columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 20:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-comparision-not-filtering-exactly/m-p/807481#M285112</guid>
      <dc:creator />
      <dc:date>2014-11-24T20:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dates comparision not filtering exactly</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-comparision-not-filtering-exactly/m-p/807482#M285113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where Monthstart&amp;gt;=date('$(venddate)') and Monthend&amp;lt;=date('$(vstartdate)')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx For solution missed date format now working fine.&lt;/P&gt;&lt;P&gt;Have you done this type of scenario before&lt;/P&gt;&lt;P&gt;Let say for each Financial Period a12 monhs of data in 1- QVD,&lt;/P&gt;&lt;P&gt;Having a.qvd,b.qvd,c.qvd&amp;lt;----2014&lt;/P&gt;&lt;P&gt;same for a.qvd,b.qvd,c.qvd&amp;lt;---2013&lt;/P&gt;&lt;P&gt;same for a.qvd,b.qvd,c.qvd&amp;lt;---2012&lt;/P&gt;&lt;P&gt;Now I need to compare or Load into App while Looping All years&lt;/P&gt;&lt;P&gt;Accounting Period:2014-November need to have 2014-Oct-31 to 2013-Oct-1&lt;/P&gt;&lt;P&gt;Above need to check 2014 &amp;amp; 2013 Folders any Idea and Sugesstions&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 07:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-comparision-not-filtering-exactly/m-p/807482#M285113</guid>
      <dc:creator />
      <dc:date>2014-11-25T07:06:05Z</dc:date>
    </item>
  </channel>
</rss>

