<?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 Autogenerate calendar and data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Autogenerate-calendar-and-data/m-p/188600#M51790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an auto generated master calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;date(date#(20100509,'YYYYMMDD') + (recno() * 7),'MM/DD/YY') as "start_of_week"&lt;/P&gt;&lt;P&gt;AUTOGENERATE (MakeDate(2011, 12, 31) - MakeDate(2010,5, 9) + 1)/7;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;What I'd also like to do is generate some data on each date. I have a field called target that I would like to generate a 0 value for on each of these dates and have it associated with that date. I'd also like to associate the value with a field called project for a constant value. So for each date for project = 'A' and project = 'B' have target = 0. How might I accomplish this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jan 2011 15:04:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-27T15:04:33Z</dc:date>
    <item>
      <title>Autogenerate calendar and data</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerate-calendar-and-data/m-p/188600#M51790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an auto generated master calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;date(date#(20100509,'YYYYMMDD') + (recno() * 7),'MM/DD/YY') as "start_of_week"&lt;/P&gt;&lt;P&gt;AUTOGENERATE (MakeDate(2011, 12, 31) - MakeDate(2010,5, 9) + 1)/7;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;What I'd also like to do is generate some data on each date. I have a field called target that I would like to generate a 0 value for on each of these dates and have it associated with that date. I'd also like to associate the value with a field called project for a constant value. So for each date for project = 'A' and project = 'B' have target = 0. How might I accomplish this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 15:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerate-calendar-and-data/m-p/188600#M51790</guid>
      <dc:creator />
      <dc:date>2011-01-27T15:04:33Z</dc:date>
    </item>
  </channel>
</rss>

