<?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: Create date from year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-date-from-year/m-p/1420262#M810949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you describe your expected result?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Oct 2017 21:02:19 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2017-10-09T21:02:19Z</dc:date>
    <item>
      <title>Create date from year</title>
      <link>https://community.qlik.com/t5/QlikView/Create-date-from-year/m-p/1420260#M810947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have year field contains 2014,2015,2016,2017 from which i want to create date,month and monthname. how can I do it.&lt;/P&gt;&lt;P&gt;give any suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-date-from-year/m-p/1420260#M810947</guid>
      <dc:creator>dhavalvyas</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create date from year</title>
      <link>https://community.qlik.com/t5/QlikView/Create-date-from-year/m-p/1420261#M810948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this from any year field create first date and then yearstart dates and year ends based on the dates then create year,month,monthname etc fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TempTab:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *,MakeDate(Year) as TempDate;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Inline&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Year&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2015&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2017&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dates:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD YearStart(TempDate) as MinDate,YearEnd(TempDate) as MaxDate Resident &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TempTab;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vMinDate =Floor(Peek('MinDate',0,'Dates')); &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vMaxDate =Floor(Peek('MaxDate',-1,'Dates')); &lt;/EM&gt;&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;Date($(vMinDate) + IterNo() -1) as DateField,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Year($(vMinDate) + IterNo() -1) as Year,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Month($(vMinDate) + IterNo() -1) as Month,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MonthName($(vMinDate) + IterNo() -1) as MonthName&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AutoGenerate 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;While ($(vMinDate) + IterNo() -1) &amp;lt;= NUM($(vMaxDate));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG alt="OP2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179064_OP2.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 17:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-date-from-year/m-p/1420261#M810948</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-09T17:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create date from year</title>
      <link>https://community.qlik.com/t5/QlikView/Create-date-from-year/m-p/1420262#M810949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you describe your expected result?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 21:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-date-from-year/m-p/1420262#M810949</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-10-09T21:02:19Z</dc:date>
    </item>
  </channel>
</rss>

