<?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: Splitting files ino multiple QVD from CVS file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Splitting-files-ino-multiple-QVD-from-CVS-file/m-p/1614028#M445329</link>
    <description>&lt;P&gt;Below is a small sample I created&amp;nbsp; and hope this helps:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;BR /&gt;RecNo,Base_Date,Year,Amount&lt;BR /&gt;10,01/10/2015,2015,100&lt;BR /&gt;20,01/10/2016,2016,200&lt;BR /&gt;30,01/10/2017,2017,300&lt;BR /&gt;40,01/10/2018,2018,400&lt;BR /&gt;50,01/10/2019,2019,500&lt;BR /&gt;50,01/10/2019,2019,600&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DistinctYearsTable:&lt;BR /&gt;LOAD Chr(39) &amp;amp; CONCAT(DISTINCT "Year",&lt;BR /&gt;Chr(39) &amp;amp; Chr(44) &amp;amp; Chr(39)) &amp;amp; Chr(39) AS DistinctYears&lt;BR /&gt;resident Data;&lt;/P&gt;&lt;P&gt;LET vDistinctYears = FieldValue('DistinctYears', 1);&lt;BR /&gt;DROP TABLE DistinctYearsTable;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FOR EACH vYear IN $(vDistinctYears)&lt;BR /&gt;CurrentYear:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD * Resident&lt;BR /&gt;Data&lt;BR /&gt;WHERE Year = '$(vYear)';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;STORE CurrentYear INTO 'C:\Temp\Data-$(vYear).qvd';&lt;BR /&gt;DROP TABLE CurrentYear;&lt;BR /&gt;NEXT&lt;/P&gt;&lt;P&gt;Drop Table Data;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 19:49:15 GMT</pubDate>
    <dc:creator>trdandamudi</dc:creator>
    <dc:date>2019-08-19T19:49:15Z</dc:date>
    <item>
      <title>Splitting files ino multiple QVD from CVS file</title>
      <link>https://community.qlik.com/t5/QlikView/Splitting-files-ino-multiple-QVD-from-CVS-file/m-p/1613993#M445326</link>
      <description>&lt;P&gt;HI expert,&lt;/P&gt;&lt;P&gt;I have CSV file which had a field name base date&amp;nbsp; from 2015 to 2019 . i want to create multiple qvd based in Date field ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;&lt;BR /&gt;CAPNumber ,&lt;BR /&gt;Date(Base Date,'MM/DD/YYYY') as [Orginal Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From,,,,,&lt;/P&gt;&lt;P&gt;Store ---- into ----&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Splitting-files-ino-multiple-QVD-from-CVS-file/m-p/1613993#M445326</guid>
      <dc:creator>everest226</dc:creator>
      <dc:date>2024-11-16T02:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting files ino multiple QVD from CVS file</title>
      <link>https://community.qlik.com/t5/QlikView/Splitting-files-ino-multiple-QVD-from-CVS-file/m-p/1614028#M445329</link>
      <description>&lt;P&gt;Below is a small sample I created&amp;nbsp; and hope this helps:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;BR /&gt;RecNo,Base_Date,Year,Amount&lt;BR /&gt;10,01/10/2015,2015,100&lt;BR /&gt;20,01/10/2016,2016,200&lt;BR /&gt;30,01/10/2017,2017,300&lt;BR /&gt;40,01/10/2018,2018,400&lt;BR /&gt;50,01/10/2019,2019,500&lt;BR /&gt;50,01/10/2019,2019,600&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DistinctYearsTable:&lt;BR /&gt;LOAD Chr(39) &amp;amp; CONCAT(DISTINCT "Year",&lt;BR /&gt;Chr(39) &amp;amp; Chr(44) &amp;amp; Chr(39)) &amp;amp; Chr(39) AS DistinctYears&lt;BR /&gt;resident Data;&lt;/P&gt;&lt;P&gt;LET vDistinctYears = FieldValue('DistinctYears', 1);&lt;BR /&gt;DROP TABLE DistinctYearsTable;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FOR EACH vYear IN $(vDistinctYears)&lt;BR /&gt;CurrentYear:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD * Resident&lt;BR /&gt;Data&lt;BR /&gt;WHERE Year = '$(vYear)';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;STORE CurrentYear INTO 'C:\Temp\Data-$(vYear).qvd';&lt;BR /&gt;DROP TABLE CurrentYear;&lt;BR /&gt;NEXT&lt;/P&gt;&lt;P&gt;Drop Table Data;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 19:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Splitting-files-ino-multiple-QVD-from-CVS-file/m-p/1614028#M445329</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2019-08-19T19:49:15Z</dc:date>
    </item>
  </channel>
</rss>

