<?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 scripting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/scripting/m-p/1213558#M623125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a [Main Table] in QVW using the Binary load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had two variables like vstart and vEnd&amp;nbsp; which are created in the Variable overview&amp;nbsp; i want to used this variable in script level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return expression in my script was like this does it works&amp;nbsp; and if i change the date of this variable values&amp;nbsp; using calendar object does not works with out reloading the app please advice &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table_temp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Hours,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum(HOURS) as total hours&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[Main Table]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;where ('$(vStart)')&amp;lt;=Date&amp;gt;=('$(vEnd)')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group by Name ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Drop&amp;nbsp; table [Main Table]; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;does it works&amp;nbsp; please advice &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Dec 2016 06:29:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-21T06:29:47Z</dc:date>
    <item>
      <title>scripting</title>
      <link>https://community.qlik.com/t5/QlikView/scripting/m-p/1213558#M623125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a [Main Table] in QVW using the Binary load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had two variables like vstart and vEnd&amp;nbsp; which are created in the Variable overview&amp;nbsp; i want to used this variable in script level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return expression in my script was like this does it works&amp;nbsp; and if i change the date of this variable values&amp;nbsp; using calendar object does not works with out reloading the app please advice &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table_temp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Hours,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum(HOURS) as total hours&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[Main Table]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;where ('$(vStart)')&amp;lt;=Date&amp;gt;=('$(vEnd)')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group by Name ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Drop&amp;nbsp; table [Main Table]; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;does it works&amp;nbsp; please advice &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 06:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/scripting/m-p/1213558#M623125</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-21T06:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.qlik.com/t5/QlikView/scripting/m-p/1213559#M623126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;syntax is wrong &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;where &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Date&amp;gt;=&lt;/SPAN&gt;'$(vStart)' and &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Date&amp;lt;&lt;/SPAN&gt;=('$(vEnd)')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you set the variables &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;vStart and &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;vEnd ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if you changing the variable in the front end and the to reduce the data you have reload !!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;to filter the data add a condition in the set analysis or the expression as below &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Date&amp;gt;=&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;vStart&amp;nbsp; and &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Date&amp;lt;=&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;vEnd, sum())&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 06:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/scripting/m-p/1213559#M623126</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-12-21T06:53:13Z</dc:date>
    </item>
  </channel>
</rss>

