<?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: Loop through a store proc passing a paremeter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-through-a-store-proc-passing-a-paremeter/m-p/1681270#M593931</link>
    <description>&lt;P&gt;I just need to pass the last 3 months dates into the parameter&lt;/P&gt;</description>
    <pubDate>Tue, 03 Mar 2020 12:17:41 GMT</pubDate>
    <dc:creator>vvvvvvizard</dc:creator>
    <dc:date>2020-03-03T12:17:41Z</dc:date>
    <item>
      <title>Loop through a store proc passing a paremeter</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-a-store-proc-passing-a-paremeter/m-p/1681268#M593930</link>
      <description>&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;I need to loop through this passing 'December 2019' , 'January 2020' and 'February 2020'&amp;nbsp; as parameters into the sql statement&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stats:&lt;/P&gt;&lt;P&gt;Load*;&lt;/P&gt;&lt;P&gt;SQL&amp;nbsp; EXEC Report.Prior_Month_Substitution @FinancialPeriod = N'January 2020';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can this be done in Qlik or only using SQL code .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-a-store-proc-passing-a-paremeter/m-p/1681268#M593930</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2024-11-16T01:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through a store proc passing a paremeter</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-a-store-proc-passing-a-paremeter/m-p/1681270#M593931</link>
      <description>&lt;P&gt;I just need to pass the last 3 months dates into the parameter&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 12:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-a-store-proc-passing-a-paremeter/m-p/1681270#M593931</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2020-03-03T12:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through a store proc passing a paremeter</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-a-store-proc-passing-a-paremeter/m-p/1681281#M593932</link>
      <description>&lt;P&gt;I don't see why you can't do it with a for next loop in the load script.&lt;/P&gt;&lt;P&gt;Something along the lines of:&lt;/P&gt;&lt;P&gt;let myParm1='December 2019';&lt;BR /&gt;let myParm2='Januuary 2020';&lt;BR /&gt;let myParm3='February 2020';&lt;/P&gt;&lt;P&gt;for A=1 to 3&lt;BR /&gt;let mySQL='SQL EXEC Report.Prior_Month_Substitution @FinancialPeriod = N' &amp;amp; myparm&amp;amp;A;&lt;BR /&gt;&lt;BR /&gt;Load *;&lt;BR /&gt;mySQL;&lt;BR /&gt;next A;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 18:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-a-store-proc-passing-a-paremeter/m-p/1681281#M593932</guid>
      <dc:creator>dgreenberg</dc:creator>
      <dc:date>2020-03-03T18:50:19Z</dc:date>
    </item>
  </channel>
</rss>

