<?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 in expression: Date takes 1-2 parameters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20241#M3357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The app is working properly now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2018 09:11:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-01T09:11:01Z</dc:date>
    <item>
      <title>Error in expression: Date takes 1-2 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20234#M3350</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 have this script that doesn't work. Anyone who can help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMaxÅr = Year($(EndDate));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;%Date,&lt;/P&gt;&lt;P&gt;Year(%Date) &amp;amp; '_' &amp;amp; num(Month(%Date),'00') As %Year_Month,&lt;/P&gt;&lt;P&gt;Year(%Date) As Year,&lt;/P&gt;&lt;P&gt;QuarterName(%Date) As Quarter,&lt;/P&gt;&lt;P&gt;Month(%Date) As Month,&lt;/P&gt;&lt;P&gt;Date(%Date) As Date;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Date($(StartDate)+(Iterno()-1),'YYYYMMDD') As %Date&lt;/P&gt;&lt;P&gt;Autogenerate 1&lt;/P&gt;&lt;P&gt;While &lt;/P&gt;&lt;P&gt;Date($(StartDate)+(Iterno()-1)) &amp;lt;= Date($(vEndDate));&lt;/P&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;&lt;P&gt;The error message received is the follwoing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Error in expression:&lt;/P&gt;&lt;P&gt;Date takes 1-2 parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Date(+(Iterno()-1),'YYYYMMDD') As %Date&lt;/P&gt;&lt;P&gt;Autogenerate 1&lt;/P&gt;&lt;P&gt;While &lt;/P&gt;&lt;P&gt;Date(+(Iterno()-1)) &amp;lt;= Date()"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 15:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20234#M3350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T15:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: Date takes 1-2 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20235#M3351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vEndDate and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;StartDate created?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 17:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20235#M3351</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-27T17:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: Date takes 1-2 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20236#M3352</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;Sorry missed part of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//================================================================================================&lt;/P&gt;&lt;P&gt;// Generates all dates from min to max date&lt;/P&gt;&lt;P&gt;//================================================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Mindate&lt;/P&gt;&lt;P&gt;tmpTable:&lt;/P&gt;&lt;P&gt;Load min(%Date) As minDate Resident Fact;&lt;/P&gt;&lt;P&gt;Let StartDate = Peek('minDate');&lt;/P&gt;&lt;P&gt;Drop Table tmpTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Maxdate.&lt;/P&gt;&lt;P&gt;tmpTable:&lt;/P&gt;&lt;P&gt;Load max(%Date) As maxDate Resident Fact;&lt;/P&gt;&lt;P&gt;Let EndDate =&amp;nbsp; Peek('maxDate');&lt;/P&gt;&lt;P&gt;Drop Table tmpTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Spara undan max År.&lt;/P&gt;&lt;P&gt;Let vMaxÅr = Year($(EndDate));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;%Date,&lt;/P&gt;&lt;P&gt;Year(%Date) &amp;amp; '_' &amp;amp; num(Month(%Date),'00') As %Year_Month,&lt;/P&gt;&lt;P&gt;Year(%Date) As Year,&lt;/P&gt;&lt;P&gt;QuarterName(%Date) As Quarter,&lt;/P&gt;&lt;P&gt;Month(%Date) As Month,&lt;/P&gt;&lt;P&gt;Date(%Date) As Date;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Date($(StartDate)+(Iterno()-1),'YYYYMMDD') As %Date&lt;/P&gt;&lt;P&gt;Autogenerate 1&lt;/P&gt;&lt;P&gt;While &lt;/P&gt;&lt;P&gt;Date($(StartDate)+(Iterno()-1)) &amp;lt;= Date($(vEndDate));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Skapa tabell med Månad och Månadsräknare&lt;/P&gt;&lt;P&gt;tmpTable:&lt;/P&gt;&lt;P&gt;Load distinct %Year_Month Resident Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;%Year_Month,&lt;/P&gt;&lt;P&gt;RowNo() As %MonthCounter,&lt;/P&gt;&lt;P&gt;%Year_Month As Year_Month&lt;/P&gt;&lt;P&gt;Resident &lt;/P&gt;&lt;P&gt;tmpTable&lt;/P&gt;&lt;P&gt;Order by&lt;/P&gt;&lt;P&gt;%Year_Month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table tmpTable;&lt;/P&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;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;ID_Overview, %Overview&lt;/P&gt;&lt;P&gt;1, 'SEK'&lt;/P&gt;&lt;P&gt;2, 'Local currency'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 18:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20236#M3352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T18:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: Date takes 1-2 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20237#M3353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you just run this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;// Mindate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;tmpTable:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load min(%Date) As minDate Resident Fact;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let StartDate = Peek('minDate');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;TRACE $(StartDate);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Table tmpTable;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;// Maxdate.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;tmpTable:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load max(%Date) As maxDate Resident Fact;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let EndDate =&amp;nbsp; Peek('maxDate');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;TRACE $(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EndDate&lt;/SPAN&gt;);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Table tmpTable;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;EXIT SCRIPT;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Also, you are using vEndDate in your Date table rather than using EndDate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG __jive_id="194776" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194776_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 19:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20237#M3353</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-27T19:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: Date takes 1-2 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20238#M3354</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;Tried to rerun this without success. Still got the same error message as I started with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmpTable:&lt;/P&gt;&lt;P&gt;Load min(%Date) As minDate Resident Fact;&lt;/P&gt;&lt;P&gt;Let StartDate = Peek('minDate');&lt;/P&gt;&lt;P&gt;TRACE $(StartDate);&lt;/P&gt;&lt;P&gt;Drop Table tmpTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Maxdate.&lt;/P&gt;&lt;P&gt;tmpTable:&lt;/P&gt;&lt;P&gt;Load max(%Date) As maxDate Resident Fact;&lt;/P&gt;&lt;P&gt;Let EndDate =&amp;nbsp; Peek('maxDate');&lt;/P&gt;&lt;P&gt;TRACE $(EndDate);&lt;/P&gt;&lt;P&gt;Drop Table tmpTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Spara undan max År.&lt;/P&gt;&lt;P&gt;Let vMaxÅr = Year($(EndDate));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;%Date,&lt;/P&gt;&lt;P&gt;Year(%Date) &amp;amp; '_' &amp;amp; num(Month(%Date),'00') As %Year_Month,&lt;/P&gt;&lt;P&gt;Year(%Date) As Year,&lt;/P&gt;&lt;P&gt;QuarterName(%Date) As Quarter,&lt;/P&gt;&lt;P&gt;Month(%Date) As Month,&lt;/P&gt;&lt;P&gt;Date(%Date) As Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Date($(StartDate)+(Iterno()-1),'YYYYMMDD') As %Date&lt;/P&gt;&lt;P&gt;Autogenerate 1&lt;/P&gt;&lt;P&gt;While &lt;/P&gt;&lt;P&gt;Date($(StartDate)+(Iterno()-1)) &amp;lt;= Date($(EndDate));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Skapa tabell med Månad och Månadsräknare&lt;/P&gt;&lt;P&gt;tmpTable:&lt;/P&gt;&lt;P&gt;Load distinct %Year_Month Resident Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;%Year_Month,&lt;/P&gt;&lt;P&gt;RowNo() As %MonthCounter,&lt;/P&gt;&lt;P&gt;%Year_Month As Year_Month&lt;/P&gt;&lt;P&gt;Resident &lt;/P&gt;&lt;P&gt;tmpTable&lt;/P&gt;&lt;P&gt;Order by&lt;/P&gt;&lt;P&gt;%Year_Month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table tmpTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 19:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20238#M3354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T19:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: Date takes 1-2 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20239#M3355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 19:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20239#M3355</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2018-02-27T19:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: Date takes 1-2 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20240#M3356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In principle, it should work. But there are several things that could go wrong, depending on your data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you&lt;/P&gt;&lt;P&gt;1) Use the Floor()-function to define your date variables (to make sure that you get an integer)&lt;/P&gt;&lt;P&gt;2) Use a table reference in the Peek()-function&lt;/P&gt;&lt;P&gt;3) Use distinct in your calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Mindate&lt;/P&gt;&lt;P&gt;tmpTable:&lt;/P&gt;&lt;P&gt;Load min(%Date) As minDate Resident Fact;&lt;/P&gt;&lt;P&gt;Let StartDate = &lt;SPAN style="color: #ff0000;"&gt;Floor&lt;/SPAN&gt;(Peek('minDate',0,'&lt;SPAN style="color: #ff0000;"&gt;tmpTable&lt;/SPAN&gt;'));&lt;/P&gt;&lt;P&gt;Drop Table tmpTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Maxdate.&lt;/P&gt;&lt;P&gt;tmpTable:&lt;/P&gt;&lt;P&gt;Load max(%Date) As maxDate Resident Fact;&lt;/P&gt;&lt;P&gt;Let EndDate =&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Floor&lt;/SPAN&gt;(Peek('maxDate',0,'&lt;SPAN style="color: #ff0000;"&gt;tmpTable&lt;/SPAN&gt;'));&lt;/P&gt;&lt;P&gt;Drop Table tmpTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Spara undan max År.&lt;/P&gt;&lt;P&gt;Let vMaxÅr = Year($(EndDate));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date:&lt;/P&gt;&lt;P&gt;Load &lt;SPAN style="color: #ff0000;"&gt;distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;%Date,&lt;/P&gt;&lt;P&gt;Year(%Date) &amp;amp; '_' &amp;amp; num(Month(%Date),'00') As %Year_Month,&lt;/P&gt;&lt;P&gt;Year(%Date) As Year,&lt;/P&gt;&lt;P&gt;QuarterName(%Date) As Quarter,&lt;/P&gt;&lt;P&gt;Month(%Date) As Month,&lt;/P&gt;&lt;P&gt;Date(%Date) As Date;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date($(StartDate)+(Iterno()-1),'YYYYMMDD') As %Date&lt;/P&gt;&lt;P&gt;Autogenerate 1&lt;/P&gt;&lt;P&gt;While&lt;/P&gt;&lt;P&gt;Date($(StartDate)+(Iterno()-1)) &amp;lt;= Date($(EndDate));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 12:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20240#M3356</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2018-02-28T12:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: Date takes 1-2 parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20241#M3357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The app is working properly now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 09:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-Date-takes-1-2-parameters/m-p/20241#M3357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-01T09:11:01Z</dc:date>
    </item>
  </channel>
</rss>

