<?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: SET help for calculating different Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-help-for-calculating-different-Year/m-p/626690#M1092141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would create a path variable only in the include script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vQVD_LoadYearPath = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;D:\QlikView\Development\QV_QVD';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then after including the path, use a loop to load your tables in like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR vYear = 2005 TO 2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM&lt;/P&gt;&lt;P&gt;[$(vQVD_LoadYearPath)\$(vYear)\Table*.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 May 2014 09:43:42 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-05-24T09:43:42Z</dc:date>
    <item>
      <title>SET help for calculating different Year</title>
      <link>https://community.qlik.com/t5/QlikView/SET-help-for-calculating-different-Year/m-p/626689#M1092140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Include statement for my 20 applications by reading a .qvs file . In this file I have set few links as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vQVD = '\\TXKAPPHUT003\SourceDocuments\QV_QVD';&lt;/P&gt;&lt;P&gt;Set vQVD_LoadYear = 'D:\QlikView\Development\QV_QVD\$(vYear)';&lt;/P&gt;&lt;P&gt;Set vSRC = '\\TXKAPPHUT003\SourceDocuments\QV_SRC';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my requirement is that I have to read data from 2005 to 2012 as vYear , please help me how to set here value for vYear&amp;nbsp; thorough Set statement so that it will read all data one by one starting from 2005 till 2012 using 'D:\QlikView\Development\QV_QVD\$(vYear)'; link as mentioned above for Set vQVD_LoadYear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 06:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-help-for-calculating-different-Year/m-p/626689#M1092140</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-05-24T06:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: SET help for calculating different Year</title>
      <link>https://community.qlik.com/t5/QlikView/SET-help-for-calculating-different-Year/m-p/626690#M1092141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would create a path variable only in the include script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vQVD_LoadYearPath = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;D:\QlikView\Development\QV_QVD';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then after including the path, use a loop to load your tables in like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR vYear = 2005 TO 2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM&lt;/P&gt;&lt;P&gt;[$(vQVD_LoadYearPath)\$(vYear)\Table*.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 09:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-help-for-calculating-different-Year/m-p/626690#M1092141</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-24T09:43:42Z</dc:date>
    </item>
  </channel>
</rss>

