<?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 Creating one record per Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-one-record-per-Month/m-p/591062#M685295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the approach defined by &lt;A href="https://community.qlik.com/people/hic"&gt;hic&lt;/A&gt; in his "Generating Missing Data" resource.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image 11.png" class="jive-image" src="/legacyfs/online/52376_Image 11.png" /&gt;&lt;/P&gt;&lt;P&gt;In the example above it is filling in the missing records per day.&amp;nbsp; However, I need to fill in the missing records per month not per day.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For example, FromDate = 1/1/2013 and ToDate = 1/1/2014 so I need 12 records one for each month (1/1/2013, 2/1/2013, 3/1/2013, etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the below solution which seems to work but is not very straightforward.&amp;nbsp; Is there a more straightforward solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image 12.png" class="jive-image" src="/legacyfs/online/52377_Image 12.png" style="width: 620px; height: 141px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2014 21:02:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-30T21:02:43Z</dc:date>
    <item>
      <title>Creating one record per Month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-one-record-per-Month/m-p/591062#M685295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the approach defined by &lt;A href="https://community.qlik.com/people/hic"&gt;hic&lt;/A&gt; in his "Generating Missing Data" resource.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image 11.png" class="jive-image" src="/legacyfs/online/52376_Image 11.png" /&gt;&lt;/P&gt;&lt;P&gt;In the example above it is filling in the missing records per day.&amp;nbsp; However, I need to fill in the missing records per month not per day.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For example, FromDate = 1/1/2013 and ToDate = 1/1/2014 so I need 12 records one for each month (1/1/2013, 2/1/2013, 3/1/2013, etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the below solution which seems to work but is not very straightforward.&amp;nbsp; Is there a more straightforward solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image 12.png" class="jive-image" src="/legacyfs/online/52377_Image 12.png" style="width: 620px; height: 141px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 21:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-one-record-per-Month/m-p/591062#M685295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-30T21:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating one record per Month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-one-record-per-Month/m-p/591063#M685296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, Can you please share the source data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 21:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-one-record-per-Month/m-p/591063#M685296</guid>
      <dc:creator />
      <dc:date>2014-01-30T21:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating one record per Month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-one-record-per-Month/m-p/591064#M685297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Dathu,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Not sure if I'm allowed to share the data even if it is scrambled, so I would rather not.&amp;nbsp; However, if you assume the source data is near identical to what Henric is using than it should be close enough.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, it appears my solution is working but I tend to make things more complicated than they need to be and run into problems further into the development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 22:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-one-record-per-Month/m-p/591064#M685297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-30T22:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating one record per Month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-one-record-per-Month/m-p/591065#M685298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems clear. I would have coded differently the last WHERE clause, but it is certainly not&amp;nbsp; so good (it depends on the date you may have)&lt;/P&gt;&lt;P&gt;WHERE addmonths([Start Date], IterNo()-1) &amp;lt;= [End Date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I understand that the loop is done until the End Date. And no need to compute the MonthDiff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 22:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-one-record-per-Month/m-p/591065#M685298</guid>
      <dc:creator />
      <dc:date>2014-01-30T22:38:21Z</dc:date>
    </item>
  </channel>
</rss>

