<?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: Error: Week takes 1 parameter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111286#M17332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was QV Version.&lt;/P&gt;&lt;P&gt;Finally I solved following this guide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3545"&gt;Redefining the Week Numbers&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2018 15:13:38 GMT</pubDate>
    <dc:creator>cristian_av</dc:creator>
    <dc:date>2018-08-22T15:13:38Z</dc:date>
    <item>
      <title>Error: Week takes 1 parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111281#M17327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm reloading a script in QV Desktop without any problem.&lt;/P&gt;&lt;P&gt;But when it reloads in QV Server, it throws the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;22-08-2018 10:41:47: 0991&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(%Fecha,0,0) As SemanaZarpe,&lt;/P&gt;&lt;P&gt;22-08-2018 10:41:47: 0992&amp;nbsp; WeekName(%Fecha) as SemanaAñoZarpe&lt;/P&gt;&lt;P&gt;22-08-2018 10:41:47:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Error in expression:&lt;/P&gt;&lt;P&gt;22-08-2018 10:41:47:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week takes 1 parameter&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the QV documentation, the week function has two parameters. I can clear the parameters, but the function will give me unwanted results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing something wrong?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/week.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/week.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/week.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 13:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111281#M17327</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2018-08-22T13:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Week takes 1 parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111282#M17328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the value of %Fecha when the error occurs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 13:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111282#M17328</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-08-22T13:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Week takes 1 parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111283#M17329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No matter what value is, I've tested with 0,1, 42000 and others... with any number the error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to this, the error is because of the version 11 only supports one parameter, and version 12 supports 4 parameters.&lt;/P&gt;&lt;P&gt;But.. how do I get an equivalent of the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Week(%Fecha,0,0) with one parameters..?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/241027"&gt;week() with more than 1 parameter generates script error in qlikview 11&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 13:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111283#M17329</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2018-08-22T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Week takes 1 parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111284#M17330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, you can try&amp;nbsp; use variables except parameters&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: #0f0f0f;"&gt;week&lt;/SPAN&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="bnf_token" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: #0f0f0f;"&gt;timestamp [, &lt;STRONG&gt;first_week_day&lt;/STRONG&gt; [, &lt;STRONG&gt;broken_weeks&lt;/STRONG&gt; [, reference_day]]]&lt;/SPAN&gt;&lt;SPAN class="statement" style="font-weight: bold; color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 16px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211520_Screenshot_2.png" style="height: 216px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Set BrokenWeeks=0; //(use unbroken weeks)&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Set BrokenWeeks=1; //(use broken weeks)&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;SET FirstWeekDay=0;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;SET FirstWeekDay=1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 13:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111284#M17330</guid>
      <dc:creator>ValeriyaBartosh</dc:creator>
      <dc:date>2018-08-22T13:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Week takes 1 parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111285#M17331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's better to post some of the script pertains week() and data screenshots.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 14:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111285#M17331</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-22T14:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Week takes 1 parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111286#M17332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was QV Version.&lt;/P&gt;&lt;P&gt;Finally I solved following this guide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3545"&gt;Redefining the Week Numbers&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 15:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Week-takes-1-parameter/m-p/111286#M17332</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2018-08-22T15:13:38Z</dc:date>
    </item>
  </channel>
</rss>

