<?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 field from YearMonth field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598648#M221655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;year(date) &amp;amp; num(week(date),00) as YearWeek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 19:38:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-06T19:38:53Z</dc:date>
    <item>
      <title>create date field from YearMonth field</title>
      <link>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598644#M221651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there anyway to create date field from YearMonth Field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearMonth&lt;/P&gt;&lt;P&gt;201301 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date &lt;/P&gt;&lt;P&gt;20130101&lt;/P&gt;&lt;P&gt;20130102&lt;/P&gt;&lt;P&gt;20130103....................................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 07:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598644#M221651</guid>
      <dc:creator />
      <dc:date>2014-03-20T07:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: create date field from YearMonth field</title>
      <link>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598645#M221652</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;You can create date using &lt;/P&gt;&lt;P&gt;=Date(Date#(fieldname,'YYYYMM'))&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, 20 Mar 2014 07:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598645#M221652</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-03-20T07:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: create date field from YearMonth field</title>
      <link>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598646#M221653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create master calendar Link with Yearmonth field&lt;/P&gt;&lt;P&gt;// Calender&lt;/P&gt;&lt;P&gt;LET vDateMin = Num(MakeDate(2013,1,1)); &lt;/P&gt;&lt;P&gt;LET vDateMax = Floor(monthEnd(Today())); &lt;/P&gt;&lt;P&gt; TempCalendar: &lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(vDateMin) + RowNo() - 1 AS DateNumber, &lt;/P&gt;&lt;P&gt;Date($(vDateMin) + RowNo() - 1) AS TempDate &lt;/P&gt;&lt;P&gt;AUTOGENERATE 1 &lt;/P&gt;&lt;P&gt;WHILE $(vDateMin)+IterNo()-1&amp;lt;= $(vDateMax); &lt;/P&gt;&lt;P&gt; Calendar: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD Distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Date(TempDate,'YYYYMMDD' ) AS CalendarDate, &lt;/P&gt;&lt;P&gt;// Standard Date Objects&lt;/P&gt;&lt;P&gt;Day(TempDate) AS CalendarDayOfMonth, &lt;/P&gt;&lt;P&gt;Month(TempDate) AS CalendarMonthName, &lt;/P&gt;&lt;P&gt;'Q' &amp;amp; Ceil(Month(TempDate)/3) AS CalendarQuarter, &lt;/P&gt;&lt;P&gt;Date(MonthName(TempDate),'YYYYMM') as CalendarMonthAndYear&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;RESIDENT TempCalendar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ORDER BY TempDate ASC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;DROP TABLE TempCalendar; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link the CalendarMonthAndYear field with your table of month year field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 07:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598646#M221653</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-03-20T07:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: create date field from YearMonth field</title>
      <link>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598647#M221654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlik, and I was able to get the above Master Calendar to work, but when I use the CalendarMonthAndYear field, it has a number in it like 41275, 41306, ... How do I change the above so I get the representation of the date like 201201? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 19:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598647#M221654</guid>
      <dc:creator />
      <dc:date>2014-11-06T19:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: create date field from YearMonth field</title>
      <link>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598648#M221655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;year(date) &amp;amp; num(week(date),00) as YearWeek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 19:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598648#M221655</guid>
      <dc:creator />
      <dc:date>2014-11-06T19:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: create date field from YearMonth field</title>
      <link>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598649#M221656</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;You are getting date field converted in num field.&lt;/P&gt;&lt;P&gt;So you can get it that field into list box-&amp;gt;Property-&amp;gt;Number-&amp;gt;select Dateformat-&amp;gt;give format which you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or simply give date(dateFieldName,'YYYYMM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 05:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-date-field-from-YearMonth-field/m-p/598649#M221656</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-11-07T05:51:35Z</dc:date>
    </item>
  </channel>
</rss>

