<?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: Comparing QVD Dates using Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-QVD-Dates-using-Set-Analysis/m-p/14531#M605496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasidhar,&lt;/P&gt;&lt;P&gt;That is great and has rectified my first set analysis question! &lt;BR /&gt;The OrderDate field is DD/MM/YYYY - which now explains why my original formula was not working with DD-MM-YYYY!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you know of a method of not specifying a date but adding "today()-5" for example? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2018 15:00:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-10T15:00:11Z</dc:date>
    <item>
      <title>Comparing QVD Dates using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-QVD-Dates-using-Set-Analysis/m-p/14529#M605494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a technique to use set analysis to compare dates - loaded from QVD files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load the QVD data using the following script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;filename() as FileName,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;date(date#(mid(filename(), 12, 10), 'DD-MM-YYYY'), 'DD-MM-YYYY') as OrderDate,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[...Qlik Historic\Bookmaster_*.QVD]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;My first formula I wrote is: &lt;STRONG&gt;sum({$&amp;lt;OrderDate={"04-05-2018"}&amp;gt;}[Loan Value(USD)]) - &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;this is not working&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I want to get to a point where the date is &lt;SPAN style="text-decoration: underline;"&gt;'Today()-7'&lt;/SPAN&gt; so that the data constantly rolls everyday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this feasible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your assistance is much appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 09:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-QVD-Dates-using-Set-Analysis/m-p/14529#M605494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-10T09:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing QVD Dates using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-QVD-Dates-using-Set-Analysis/m-p/14530#M605495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;May be try&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;sum({$&amp;lt;OrderDate={"$(=MakeDate(2018,5,4))"}&amp;gt;}[Loan Value(USD)])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what format of date do you see if you put OrderDate Field in a list box? number? or text &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 14:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-QVD-Dates-using-Set-Analysis/m-p/14530#M605495</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-05-10T14:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing QVD Dates using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-QVD-Dates-using-Set-Analysis/m-p/14531#M605496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasidhar,&lt;/P&gt;&lt;P&gt;That is great and has rectified my first set analysis question! &lt;BR /&gt;The OrderDate field is DD/MM/YYYY - which now explains why my original formula was not working with DD-MM-YYYY!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you know of a method of not specifying a date but adding "today()-5" for example? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 15:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-QVD-Dates-using-Set-Analysis/m-p/14531#M605496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-10T15:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing QVD Dates using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-QVD-Dates-using-Set-Analysis/m-p/14532#M605497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background-color: #f2f2f2;"&gt;{"$(=Date(Today()-5,'DD/MM/YYYY'))"}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 15:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-QVD-Dates-using-Set-Analysis/m-p/14532#M605497</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-05-10T15:02:59Z</dc:date>
    </item>
  </channel>
</rss>

