<?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 Limit script loading using variables or other solution ?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limit-script-loading-using-variables-or-other-solution/m-p/207800#M714683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SQL error: No value given for one or more required parameters.&lt;BR /&gt;Script line: SELECT * FROM txBilling where Billing_Year &amp;gt;2002&lt;BR /&gt;SQL SELECT * FROM txBilling where Billing_Year &amp;gt;2002&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2009 20:30:14 GMT</pubDate>
    <dc:creator>Michiel_QV_Fan</dc:creator>
    <dc:date>2009-10-06T20:30:14Z</dc:date>
    <item>
      <title>Limit script loading using variables or other solution ??</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-script-loading-using-variables-or-other-solution/m-p/207798#M714681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to limit the data loaded. It has to be limited by year.&lt;/P&gt;&lt;P&gt;I created this:&lt;/P&gt;&lt;P&gt;let $YearFrom = input('Year from', 'Specify the first reporting year required');&lt;BR /&gt;if (isnull($YearFrom)) then&lt;BR /&gt; let $YearFrom = 1999;&lt;BR /&gt;end if ;&lt;/P&gt;&lt;P&gt;which nicely creates the variable $YearFrom.&lt;/P&gt;&lt;P&gt;I want to use the result of this input box to limit the load&lt;/P&gt;&lt;P&gt;This does not work:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; applymap('Date_map_Billing', DATE) as Billing_Date,&lt;BR /&gt; Month(applymap('Date_map_Billing', DATE)) as Billing_Month,&lt;BR /&gt; Year(applymap('Date_map_Billing', DATE)) as Billing_Year;&lt;BR /&gt;SQL SELECT * FROM Billing where Billing_Year &amp;gt; $YearFrom;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm lost in the world of sql.&lt;/P&gt;&lt;P&gt;How can I correctly use the value from the variable in limiting the load?&lt;/P&gt;&lt;P&gt;Your help is much appreciated!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 20:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-script-loading-using-variables-or-other-solution/m-p/207798#M714681</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2009-10-06T20:05:39Z</dc:date>
    </item>
    <item>
      <title>Limit script loading using variables or other solution ??</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-script-loading-using-variables-or-other-solution/m-p/207799#M714682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michiel try this&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt; applymap('Date_map_Billing', DATE) as Billing_Date,&lt;BR /&gt; Month(applymap('Date_map_Billing', DATE)) as Billing_Month,&lt;BR /&gt; Year(applymap('Date_map_Billing', DATE)) as Billing_Year;&lt;BR /&gt;SQL SELECT * FROM Billing where Billing_Year &amp;gt; &lt;B&gt;&lt;I&gt;$($YearFrom)&lt;/I&gt;&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Talha&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 20:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-script-loading-using-variables-or-other-solution/m-p/207799#M714682</guid>
      <dc:creator />
      <dc:date>2009-10-06T20:08:53Z</dc:date>
    </item>
    <item>
      <title>Limit script loading using variables or other solution ??</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-script-loading-using-variables-or-other-solution/m-p/207800#M714683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SQL error: No value given for one or more required parameters.&lt;BR /&gt;Script line: SELECT * FROM txBilling where Billing_Year &amp;gt;2002&lt;BR /&gt;SQL SELECT * FROM txBilling where Billing_Year &amp;gt;2002&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 20:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-script-loading-using-variables-or-other-solution/m-p/207800#M714683</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2009-10-06T20:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Limit script loading using variables or other solution ??</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-script-loading-using-variables-or-other-solution/m-p/207801#M714684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, this work. I get the error because the number formats aren't correctly defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Talha. Appreciate this very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 20:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-script-loading-using-variables-or-other-solution/m-p/207801#M714684</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2009-10-06T20:42:36Z</dc:date>
    </item>
  </channel>
</rss>

