<?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 Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date/m-p/1057541#M935618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date in the format of YYYYMMDD, i need to create 2 variables, one with the max date (easy), and the next with the day before, i cannot simply calculate it because the 1st will always end up with zero's, eg: 20160201 would be present day and 20160200 would end up as previous day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in my mind convert the number to a date and then do the calculation but there is no date add functionality (similar to month add)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone please assist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Feb 2016 08:29:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-18T08:29:52Z</dc:date>
    <item>
      <title>Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date/m-p/1057541#M935618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date in the format of YYYYMMDD, i need to create 2 variables, one with the max date (easy), and the next with the day before, i cannot simply calculate it because the 1st will always end up with zero's, eg: 20160201 would be present day and 20160200 would end up as previous day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in my mind convert the number to a date and then do the calculation but there is no date add functionality (similar to month add)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone please assist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 08:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date/m-p/1057541#M935618</guid>
      <dc:creator />
      <dc:date>2016-02-18T08:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date/m-p/1057542#M935619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date#( DateField, 'YYYYMMDD') as DateField&lt;/P&gt;&lt;P&gt;FROM ....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can just write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date( Max( DateField),'YYYYMMDD')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Date( Max( DateField)-1 ,'YYYYMMDD')&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date/m-p/1057542#M935619</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-18T16:57:02Z</dc:date>
    </item>
  </channel>
</rss>

