<?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: Year wise Qvd dynamically in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36035#M6082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Considering Data is one file for 3 Years then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i = 2015 to 2018&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from &amp;lt;FileName&amp;gt; where Year = $(i)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store ABC into &amp;lt;PathName&amp;gt;abc_$(i);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table ABC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akshaya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS- Mark response as Correct/Helpful if you find it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2018 17:48:26 GMT</pubDate>
    <dc:creator>adityaakshaya</dc:creator>
    <dc:date>2018-05-15T17:48:26Z</dc:date>
    <item>
      <title>Year wise Qvd dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36034#M6081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help here....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data month-wise for 3 years and i need to create qvd's year-wise dynamically with the suffix name of qvd as Year name like below.&lt;/P&gt;&lt;P&gt;abc_2015&lt;/P&gt;&lt;P&gt;abc_2016&lt;/P&gt;&lt;P&gt;abc_2017&lt;/P&gt;&lt;P&gt;abc_2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me here to get expected result....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bala&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 16:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36034#M6081</guid>
      <dc:creator>Bala_s</dc:creator>
      <dc:date>2018-05-15T16:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Qvd dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36035#M6082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Considering Data is one file for 3 Years then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i = 2015 to 2018&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from &amp;lt;FileName&amp;gt; where Year = $(i)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store ABC into &amp;lt;PathName&amp;gt;abc_$(i);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table ABC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akshaya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS- Mark response as Correct/Helpful if you find it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 17:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36035#M6082</guid>
      <dc:creator>adityaakshaya</dc:creator>
      <dc:date>2018-05-15T17:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Qvd dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36036#M6083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Hi Akshaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for revert...&lt;/P&gt;&lt;P&gt;It’s not like data is only for 3 years, it may increase year on year.&lt;/P&gt;&lt;P&gt;so how to make it dynamic to store 1 year data into one qvd and so on....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 18:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36036#M6083</guid>
      <dc:creator>Bala_s</dc:creator>
      <dc:date>2018-05-15T18:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Qvd dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36037#M6084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala&lt;/P&gt;&lt;P&gt;There are two different approach you can take.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; This will run every time and create all year qvds every reload( &lt;STRONG&gt;if there is a data change in previous year then use this&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i = 2015 to Year(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store ABC into ABC_$(i).qvd(qvd); &lt;/P&gt;&lt;P&gt;DROP Table ABC;&lt;/P&gt;&lt;P&gt;NEXT i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The below will only store the current year qvd.&lt;SPAN style="font-size: 13.3333px;"&gt;( &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;if there is no data change in previous year then use this&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Let i = Year(Today());&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ABC:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load * Inline [&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;A&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;4&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;5&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;];&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Store ABC into ABC_$(i).qvd(qvd); &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;DROP Table ABC;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Akshaya&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 18:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36037#M6084</guid>
      <dc:creator>adityaakshaya</dc:creator>
      <dc:date>2018-05-15T18:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Qvd dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36038#M6085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Hi Akshay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case data is changing for previous years also so I used 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above script for i =2015 to Year(Today())&lt;/P&gt;&lt;P&gt;gives 4 qvds Yearwise as file name but each file holds all year data.&lt;/P&gt;&lt;P&gt;For ex: Qvd got created with the name as Abc_2015 but in this file data holds from 2015 to current year.&lt;/P&gt;&lt;P&gt;splitting of data is not happenin.&lt;/P&gt;&lt;P&gt;pls help her..... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 03:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36038#M6085</guid>
      <dc:creator>Bala_s</dc:creator>
      <dc:date>2018-05-16T03:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Qvd dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36039#M6086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akshaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case the data is changing for Previous Year also so used 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In above script, i =2015 to Year(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year wise qvd is getting created but data holds for complete year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex: Abc_2015.qvd got created but in this file data holds from 2015 to current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expectation is, under&amp;nbsp; Abc_2015.qvd only 2015 data should be there and so on like Abc_2016.qvd....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help here....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 03:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36039#M6086</guid>
      <dc:creator>Bala_s</dc:creator>
      <dc:date>2018-05-16T03:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Qvd dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36040#M6087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/241535"&gt;bala250993&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/266713"&gt;adityaakshaya&lt;/A&gt;‌ gave you correct and generalize solution now you have to modify it as per your need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want restrict data for particular qvd then use where clause while loading data.&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For i = 2015 to Year(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ABC:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * Inline [&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;5&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;] where A=$i&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Store ABC into ABC_$(i).qvd(qvd);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP Table ABC;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 05:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36040#M6087</guid>
      <dc:creator>big_dreams</dc:creator>
      <dc:date>2018-05-16T05:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Qvd dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36041#M6088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can customize and use it the way Max has mentioned. Just add where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akshaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 06:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36041#M6088</guid>
      <dc:creator>adityaakshaya</dc:creator>
      <dc:date>2018-05-16T06:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Qvd dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36042#M6089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get the solution, request you to mark response as correct. This helps other to see as answered question. &lt;/P&gt;&lt;P&gt;Regards&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 08:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36042#M6089</guid>
      <dc:creator>adityaakshaya</dc:creator>
      <dc:date>2018-05-16T08:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Year wise Qvd dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36043#M6090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help....:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 10:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-wise-Qvd-dynamically/m-p/36043#M6090</guid>
      <dc:creator>Bala_s</dc:creator>
      <dc:date>2018-05-16T10:08:52Z</dc:date>
    </item>
  </channel>
</rss>

