<?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: Split the qvd file and generate partition qvd files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351824#M130499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks to Share KT to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2012 12:14:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-14T12:14:39Z</dc:date>
    <item>
      <title>Split the qvd file and generate partition qvd files</title>
      <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351815#M130490</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;I've 6 months of data in my qvd file. Now i want to generate qvd file per month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i've Jan, Feb, March, April, May, June months of data in qvd file. I want to generate one qvd file for Jan month, one for Feb, one for March ..... one for june in one application itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my qvd file i've Date field with shows the data in the below format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;&amp;nbsp; DateColumn&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 122px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" width="122"&gt;&lt;STRONG&gt;05-01-2012 00:12&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;&lt;STRONG&gt;06-01-2012 00:12&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;&lt;STRONG&gt;07-01-2012 00:12&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31-06-2012&amp;nbsp; 12:12:40&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 08:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351815#M130490</guid>
      <dc:creator />
      <dc:date>2012-03-14T08:37:27Z</dc:date>
    </item>
    <item>
      <title>Split the qvd file and generate partition qvd files</title>
      <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351816#M130491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, put this on your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = 1 to 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt; LOAD * FROM file.qvd(qvd)&lt;/P&gt;&lt;P&gt;where num(Month(DateColumn)) = i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE table INTO myfile.qvd;&lt;/P&gt;&lt;P&gt;drop table table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 08:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351816#M130491</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-03-14T08:50:09Z</dc:date>
    </item>
    <item>
      <title>Split the qvd file and generate partition qvd files</title>
      <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351817#M130492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FOR i=1 to 12&lt;/P&gt;&lt;P&gt;let vTableName=Month(MakeDate(2011,$(i)));&lt;/P&gt;&lt;P&gt;$(vTableName):&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*&lt;/P&gt;&lt;P&gt;Resident TableName where Month(DateField)=$(i);&lt;/P&gt;&lt;P&gt;Store $(vTableName) into ..\QVD\$(vTableName).qvd;&lt;/P&gt;&lt;P&gt;DROP Table $(vTableName);&lt;/P&gt;&lt;P&gt;NEXT i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 08:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351817#M130492</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-14T08:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Split the qvd file and generate partition qvd files</title>
      <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351818#M130493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Your idea is good. But for loop will repeat for 12 times even if those months are not existing. If you see below code it works perfectly but how can i get the existed count of months in a variable. B'coz i don't know how many months are existed in my qvd file. Right now it is 6 later it will be 3 or 4 or 9 or 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD Distinct Month(CaptureDateTime) AS MonthName&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;QVD\RT_Full.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR i=0 to 6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LET vMonth = Peek('MonthName',$(i),'Temp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthWise:&lt;/P&gt;&lt;P&gt;LOAD Month(CaptureDateTime) AS MonthName1&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;QVD\RT_Full.qvd&lt;/P&gt;&lt;P&gt;(qvd) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Month(CaptureDateTime) = '$(vMonth)'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;STORE MonthWise into Month\$(vMonth).qvd;&lt;/P&gt;&lt;P&gt;DROP Table MonthWise;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 09:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351818#M130493</guid>
      <dc:creator />
      <dc:date>2012-03-14T09:49:26Z</dc:date>
    </item>
    <item>
      <title>Split the qvd file and generate partition qvd files</title>
      <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351819#M130494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD Distinct Month(CaptureDateTime)*1 AS MonthName&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;QVD\RT_Full.qvd&lt;/P&gt;&lt;P&gt;(qvd) Order by Month(CaptureDateTime) asc;&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt;"&gt; Let vMin=Peek('MonthName',0);&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt;"&gt;Let vMax=Peek('MonthName')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;FOR i=$(vMin) to $(vMax)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LET vMonth = Peek('MonthName',$(i),'Temp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthWise:&lt;/P&gt;&lt;P&gt;LOAD Month(CaptureDateTime) AS MonthName1&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;QVD\RT_Full.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Month(CaptureDateTime) = '$(vMonth)'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;STORE MonthWise into Month\$(vMonth).qvd;&lt;/P&gt;&lt;P&gt;DROP Table MonthWise;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 10:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351819#M130494</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-14T10:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Split the qvd file and generate partition qvd files</title>
      <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351820#M130495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. I also got the solution with below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; Distinct Month(CaptureDateTime) AS MonthName&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;RTQMain_Full.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vCount=NoOfRows('Temp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i=0 to $(vCount)&lt;/P&gt;&lt;P&gt;LET vMonth = Peek('MonthName',$(i),'Temp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthWise:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;RTQMain_Full.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;Where Month(CaptureDateTime) = '$(vMonth)'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;STORE MonthWise into Month\$(vMonth).qvd;&lt;/P&gt;&lt;P&gt;DROP Table MonthWise;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my question is which will be faster because i'm using aroung 37GB qvd file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 11:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351820#M130495</guid>
      <dc:creator />
      <dc:date>2012-03-14T11:31:01Z</dc:date>
    </item>
    <item>
      <title>Split the qvd file and generate partition qvd files</title>
      <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351821#M130496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You&amp;nbsp; can go with your idea itself using NoOfRows().I didn't look that you have used Distinct for months i formulated the solutions that you can have same month multiple times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 11:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351821#M130496</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-14T11:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Split the qvd file and generate partition qvd files</title>
      <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351822#M130497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.. But i want to know whether your code loads fastly. B'coz in where condition i'm comparing with month name and you are comparing with month number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 12:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351822#M130497</guid>
      <dc:creator />
      <dc:date>2012-03-14T12:01:21Z</dc:date>
    </item>
    <item>
      <title>Split the qvd file and generate partition qvd files</title>
      <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351823#M130498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes.Its a well known one handling number is faster that string better use Month number to increase your performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 12:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351823#M130498</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-14T12:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Split the qvd file and generate partition qvd files</title>
      <link>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351824#M130499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks to Share KT to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 12:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-the-qvd-file-and-generate-partition-qvd-files/m-p/351824#M130499</guid>
      <dc:creator />
      <dc:date>2012-03-14T12:14:39Z</dc:date>
    </item>
  </channel>
</rss>

