<?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: script error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/script-error/m-p/1417096#M613841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There you have it. The code won't work if you do not enter acceptable values in variables &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vExpStartDate and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vExpEndDate.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; 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: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;To test it out, you an create these variables in Settings-&amp;gt;Variable Overview and supply values for them.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 12:17:05 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2017-09-14T12:17:05Z</dc:date>
    <item>
      <title>script error</title>
      <link>https://community.qlik.com/t5/QlikView/script-error/m-p/1417092#M613837</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;Could you please let me know what is wrong in the below script. When i execute the below script, getting below error message.&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;Error in expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Year takes 1 parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[InvExp Calendar]:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Temp_Date as ExpiryDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthStart(Temp_Date) as ExpiryMnthDate,&lt;/P&gt;&lt;P&gt;Year(Temp_Date)&amp;nbsp;&amp;nbsp; as [InvExpYear],&lt;/P&gt;&lt;P&gt;Month(Temp_Date) as [InvExpMonth],&lt;/P&gt;&lt;P&gt;Month(Temp_Date)&amp;amp;'-'&amp;amp;Date(Temp_Date, 'YY') as [InvExpMonthName],&lt;/P&gt;&lt;P&gt;num(Month(DATE(Temp_Date,'DD/MM/YYYY')))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [InvExpMonthNumber],&lt;/P&gt;&lt;P&gt;Date(Temp_Date, 'YYYY-MM')&amp;nbsp;&amp;nbsp; as [InvExpiryMonth],&lt;/P&gt;&lt;P&gt;((Year(Temp_Date) - Year($(vExpStartDate)))*12) + Num(Month(Temp_Date)) as InvExpRollingMonth;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;($(vExpStartDate) + IterNo() - 1)&amp;nbsp;&amp;nbsp; as Temp_Date&lt;/P&gt;&lt;P&gt;AUTOGENERATE (1)&lt;/P&gt;&lt;P&gt;WHILE $(vExpStartDate) + IterNo() - 1 &amp;lt;= $(vExpEndDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 12:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-error/m-p/1417092#M613837</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2017-09-14T12:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: script error</title>
      <link>https://community.qlik.com/t5/QlikView/script-error/m-p/1417093#M613838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the contents of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vExpStartDate?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 12:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-error/m-p/1417093#M613838</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2017-09-14T12:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: script error</title>
      <link>https://community.qlik.com/t5/QlikView/script-error/m-p/1417094#M613839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably one of your variables that are used in $-sign expansion, in reality expands to ... nothing. You know, this error can mean that you either specify too many or too few parameters for the Year() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the spelling of your variables, and if they check out fine, check their content.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 12:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-error/m-p/1417094#M613839</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-09-14T12:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: script error</title>
      <link>https://community.qlik.com/t5/QlikView/script-error/m-p/1417095#M613840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is showing as &amp;lt;Null&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 12:12:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-error/m-p/1417095#M613840</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2017-09-14T12:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: script error</title>
      <link>https://community.qlik.com/t5/QlikView/script-error/m-p/1417096#M613841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There you have it. The code won't work if you do not enter acceptable values in variables &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vExpStartDate and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vExpEndDate.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; 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: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;To test it out, you an create these variables in Settings-&amp;gt;Variable Overview and supply values for them.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 12:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-error/m-p/1417096#M613841</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-09-14T12:17:05Z</dc:date>
    </item>
  </channel>
</rss>

