<?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 Generate calendar dates for a different field. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generate-calendar-dates-for-a-different-field/m-p/1099125#M364894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one field in a QVD , &lt;/P&gt;&lt;P&gt;And i want to generate a calendar for each value in different field &lt;/P&gt;&lt;P&gt;Example : Suppose i have one field in QDV as Region and region has 2 values A and B &lt;/P&gt;&lt;P&gt;Now i want ot create all dates for A and B for 2 years.&lt;/P&gt;&lt;P&gt;and its should other table as REGION and DATE with two column.&lt;/P&gt;&lt;P&gt;How can i do this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 May 2016 17:25:07 GMT</pubDate>
    <dc:creator>agni_gold</dc:creator>
    <dc:date>2016-05-07T17:25:07Z</dc:date>
    <item>
      <title>Generate calendar dates for a different field.</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-calendar-dates-for-a-different-field/m-p/1099125#M364894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one field in a QVD , &lt;/P&gt;&lt;P&gt;And i want to generate a calendar for each value in different field &lt;/P&gt;&lt;P&gt;Example : Suppose i have one field in QDV as Region and region has 2 values A and B &lt;/P&gt;&lt;P&gt;Now i want ot create all dates for A and B for 2 years.&lt;/P&gt;&lt;P&gt;and its should other table as REGION and DATE with two column.&lt;/P&gt;&lt;P&gt;How can i do this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2016 17:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-calendar-dates-for-a-different-field/m-p/1099125#M364894</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-07T17:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Generate calendar dates for a different field.</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-calendar-dates-for-a-different-field/m-p/1099126#M364895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Let vStartDate = num(Today()); // or whatever defines the start of the two year period&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewTable:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD DISTINCT Region as REGION &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM YourQVD.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;JOIN (NewTable)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Date( $(vStartDate) +Recno()-1) as DATE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Autogenerate Addyears($(vStartDate),2) - $(vStartDate) ;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2016 21:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-calendar-dates-for-a-different-field/m-p/1099126#M364895</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-07T21:18:57Z</dc:date>
    </item>
  </channel>
</rss>

