<?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: Looping the CALL function for each day of 2013 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613021#M226202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LET vNum = DayNumberOfYear(YearEnd('1/1/2013'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FOR i = 1 TO $(vNum)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; LET vDate = date(YearStart('1/1/2013') + $(i) - 1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; CALL DailyQvd('$(vDate)', 'YYYYMMDD');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;NEXT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;If your second parameter specifies the input date format, change the second LET statement to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; LET vDate = date(YearStart('1/1/2013') + $(i) - 1, 'YYYYMMDD');&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Mar 2014 08:43:19 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2014-03-07T08:43:19Z</dc:date>
    <item>
      <title>Looping the CALL function for each day of 2013</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613020#M226201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use the below CALL function to call the sub-routine which creates the daily QVD. I want to loop the below call function in such a way that it calls the sub-routine for all the dates of 2013 instead of harding the date value in the CALL function for each date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL DailyQvd ('SOURCE_DATA','YYYYMMDD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me out for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 07:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613020#M226201</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2014-03-07T07:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Looping the CALL function for each day of 2013</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613021#M226202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LET vNum = DayNumberOfYear(YearEnd('1/1/2013'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FOR i = 1 TO $(vNum)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; LET vDate = date(YearStart('1/1/2013') + $(i) - 1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; CALL DailyQvd('$(vDate)', 'YYYYMMDD');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;NEXT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;If your second parameter specifies the input date format, change the second LET statement to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; LET vDate = date(YearStart('1/1/2013') + $(i) - 1, 'YYYYMMDD');&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 08:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613021#M226202</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-07T08:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Looping the CALL function for each day of 2013</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613022#M226203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't see 'SOURCE_DATA' in your script which is my first parameter. Please let me know if it is not clear!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 09:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613022#M226203</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2014-03-07T09:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Looping the CALL function for each day of 2013</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613023#M226204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'SOURCE_DATA' is a string constant. I replaced it with a date value for each successive day in 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the example code doesn't fit your requirements, please explain what parameter values this SUB expects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 09:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613023#M226204</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-07T09:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Looping the CALL function for each day of 2013</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613024#M226205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, SUB expects below parameter! Please let me know if you have anymore questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB DailyQvd ('Sales','20130805');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 09:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613024#M226205</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2014-03-07T09:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Looping the CALL function for each day of 2013</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613025#M226206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see. This will do better then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LET vNum = DayNumberOfYear(YearEnd('1/1/2013'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FOR i = 1 TO $(vNum)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; LET vDate = date(YearStart('1/1/2013') + $(i) - 1, 'YYYYMMDD');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; CALL DailyQvd('SOURCE_DATA', '$(vDate)');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;NEXT&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 09:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613025#M226206</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-07T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Looping the CALL function for each day of 2013</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613026#M226207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check and update you shortly....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 11:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-the-CALL-function-for-each-day-of-2013/m-p/613026#M226207</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2014-03-07T11:01:24Z</dc:date>
    </item>
  </channel>
</rss>

