<?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 Create Monthly QVD's in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529646#M197980</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 a qvd file that contains 3 years of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to store the 3 years data into 36 monthly files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently my file is called TrxHist.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to store them as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TrxHist201001.qvd&lt;/P&gt;&lt;P&gt;TrxHist201002.qvd&lt;/P&gt;&lt;P&gt;TrxHist201003.qvd&lt;/P&gt;&lt;P&gt;TrxHist201004.qvd&lt;/P&gt;&lt;P&gt;TrxHist201005.qvd&lt;/P&gt;&lt;P&gt;TrxHist201006.qvd&lt;/P&gt;&lt;P&gt;TrxHist201007.qvd&lt;/P&gt;&lt;P&gt;TrxHist201008.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so on!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 15:40:49 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2013-10-08T15:40:49Z</dc:date>
    <item>
      <title>Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529646#M197980</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 a qvd file that contains 3 years of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to store the 3 years data into 36 monthly files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently my file is called TrxHist.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to store them as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TrxHist201001.qvd&lt;/P&gt;&lt;P&gt;TrxHist201002.qvd&lt;/P&gt;&lt;P&gt;TrxHist201003.qvd&lt;/P&gt;&lt;P&gt;TrxHist201004.qvd&lt;/P&gt;&lt;P&gt;TrxHist201005.qvd&lt;/P&gt;&lt;P&gt;TrxHist201006.qvd&lt;/P&gt;&lt;P&gt;TrxHist201007.qvd&lt;/P&gt;&lt;P&gt;TrxHist201008.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so on!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529646#M197980</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-10-08T15:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529647#M197981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, you can use this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;FOR year = 2010 to 2013&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&amp;nbsp; FOR month = 1 to 12&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;MyTable:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;yourQVDFile (qvd)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;where YEAR = $(year) and MONTH(MONTH) = $(month);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;STORE MyTable INTO yourfolder\TrxHist$(year)$(month).qvd;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&amp;nbsp; NEXT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YEAR is a field in your QVD called YEAR. If&amp;nbsp; you don't have this field, use Year(yourDateField). The same for month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529647#M197981</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2013-10-08T15:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529648#M197982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; you could create a table TB1 with the 36 months, YYYYMM.&lt;/P&gt;&lt;P&gt;then you could use&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;LET v_rowTemp = NoOfRows('TB1'); // get the total number of rows in table&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i=1 to $(v_rowTemp) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET v_month = peek('YYYYMM',$(i)-1,'TB1');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;load in a tmp table fromTrxHist.qvd with a filter based on v_month&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;store using the variable for name&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529648#M197982</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2013-10-08T15:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529649#M197983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for i=1 to 36&lt;/P&gt;&lt;P&gt;let vMinDate= Num(Monthstart(addmonths(today(),-37 + $(i))));&lt;/P&gt;&lt;P&gt;temp1:&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;where date&amp;lt;= $(vmindate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store temp1 into TrxHist$(vmindate).qvd (qvd);&lt;/P&gt;&lt;P&gt;drop temp1;&lt;/P&gt;&lt;P&gt;next i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.. and let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529649#M197983</guid>
      <dc:creator />
      <dc:date>2013-10-08T15:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529650#M197984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/65623"&gt;Q L&lt;/A&gt;, just a little tip, you must drop MyTable into that loop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 16:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529650#M197984</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-08T16:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529651#M197985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clever, that's a clever answer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; This is just part of the code. By no means this is meant to be the finished scripts. I was trying to provide a quick response. Variables should use a better naming convension like vYear and also I would not set the years as hardcoded but use functions to make them flexible. &lt;/P&gt;&lt;P&gt;Thanks for the tip though &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 16:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529651#M197985</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2013-10-08T16:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529652#M197986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that, it does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One final question, don't have data for 2013-11 and 2013-12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I still get an outputted file for both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I change the code to only out put the monthly qvd's if those months exist in the main qvd?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 11:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529652#M197986</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-10-10T11:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529653#M197987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try something like the code below. In it I first build up a list of year/month combinations that are present in the data, then output only the relevant files. In addition I have code in here to allow you to concatenate to existing qvd's, in case you want to do an incremental load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearMonthsFound:&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;LOAD concat(distinct YearMonthFound, ',') as YearMonthsFound;&lt;BR /&gt;LOAD Year &amp;amp; '-' &amp;amp; Month as YearMonthFound&lt;BR /&gt;RESIDENT WhateverTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vYearMonthsFound = peek('YearMonthsFound', -1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE YearMonthsFound;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR EACH vYearMonthFound IN $(vYearMonthsFound)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE $(vYearMonthFound);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WhateverTable_$(vYearMonthFound):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOCONCATENATE LOAD *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESIDENT WhateverTable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE Year = num(left($(vYearMonthFound), 4))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND Month = num(right($(vYearMonthFound), 2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF vFullReload &amp;lt;&amp;gt; 1 THEN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF NOT ISNULL(QvdCreateTime('qvd\WhateverTable_$(vYearMonthFound).qvd')) THEN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONCATENATE (WhateverTable_$(vYearMonthFound))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD * FROM 'qvd\WhateverTable_$(vYearMonthFound).qvd' (qvd)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE NOT EXISTS (KeyField);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE WhateverTable_$(vYearMonthFound) INTO 'qvd\WhateverTable_$(vYearMonthFound).qvd';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DROP TABLE WhateverTable_$(vYearMonthFound);&lt;BR /&gt;NEXT vYearMonthFound&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 11:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529653#M197987</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2013-10-10T11:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529654#M197988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried your suggestion but it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I replaced WhateverTable with Transactions, which is the name of my main table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 11:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529654#M197988</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-10-10T11:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529655#M197989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to set up the variables in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does it say in the log file generated by your load? If one is not being generated, go to Settings, Document Properties, and select 'Generate Logfile' on the General tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 11:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529655#M197989</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2013-10-10T11:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529656#M197990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The log file wont run for some reason I get this error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2013-10-10_1257.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/47467_2013-10-10_1257.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF vFullReload &amp;lt;&amp;gt; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I 'm assuming I need to set a variable called vFullReload?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 12:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529656#M197990</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-10-10T12:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529657#M197991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first issue - the load statement after the TRACE needs to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WhateverTable_$(vYearMonthFound):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOCONCATENATE LOAD *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESIDENT WhateverTable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE Year = num(left($(vYearMonthFound), 4))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND Month = num(right($(vYearMonthFound), 2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second issue - vYearMonthsFound doesn't look to be being populated. Can you look at it in your variables and see if it contains a value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 12:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529657#M197991</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2013-10-10T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529658#M197992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have a look now thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 12:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529658#M197992</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-10-10T12:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529659#M197993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have now and its not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2013-10-10_1324.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/47474_2013-10-10_1324.png" style="width: 620px; height: 461px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 12:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529659#M197993</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-10-10T12:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529660#M197994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you're getting the same error as before? That was indicating that the vYearMonthFound variable was not being populated, which also probably means that vYearMonthsFound is also not being populated. Can you check in your variables that these have been created, and if so could you let me know what values they contain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If vYearMonths is not being populated, this indicates an issue with the initial load into the YearMonthsFound table. This is probably the line LOAD Year &amp;amp; '-' &amp;amp; Month as YearMonthFound. Do you have fields named Year and Month in your source data? If not you need to substitute in appropriate fields, or apply Year(FieldName) &amp;amp; '-' &amp;amp; Month(FieldName). You'll also need to make a similar change further down the script when doing the RESIDENT load from Transactions into Transactions_$(vYearMonthFound).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, do you need the capability to merge this data in with data in existing YearMonth QVD's? If not, you can simply remove the IF vFullReload block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 12:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529660#M197994</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2013-10-10T12:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529661#M197995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I have Fields called Year and Month in my Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have removed the block for the full reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will keep trying with it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 13:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529661#M197995</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-10-10T13:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create Monthly QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529662#M197996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;persist and I'm sure you'll be rewarded!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be looking at the two variables vYearMonthFound and vYearMonthsFound.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps also try putting an exit script after the initial load into YearMonthsFound and examine the data in there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 13:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Monthly-QVD-s/m-p/529662#M197996</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2013-10-10T13:21:05Z</dc:date>
    </item>
  </channel>
</rss>

