<?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 Payment schedule table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Payment-schedule-table/m-p/397835#M148172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following script to create a payment schedule based on start and end date and it is working perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpenseId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpenseStartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpenseEndDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ExpenseFrequency ='Annually', Date(MonthStart(ExpenseStartDate)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart(AddMonths(ExpenseStartDate,iterno()-1)),'YYYY-MM-DD')) as [Payment Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpenseFrequency,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident tblExpenseSchedule&lt;/P&gt;&lt;P&gt;while ExpenseEndDate &amp;gt;&amp;nbsp; MonthStart(addmonths(ExpenseStartDate,iterno()-1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to add to the if statement when the frequency = semi annual and when it is quarterly.&lt;/P&gt;&lt;P&gt;as you see above when frequency = yearly it shows the date and when monthly it increae the date by one month untill reaching the date end.&lt;/P&gt;&lt;P&gt;Anybody knows what should&amp;nbsp; type in the if statement to make the payment date increases by 6 month when the frequency = Semi and increases by 3 months when it is qurterly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs in advance,&lt;/P&gt;&lt;P&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2012 01:28:06 GMT</pubDate>
    <dc:creator>alec1982</dc:creator>
    <dc:date>2012-09-12T01:28:06Z</dc:date>
    <item>
      <title>Payment schedule table</title>
      <link>https://community.qlik.com/t5/QlikView/Payment-schedule-table/m-p/397835#M148172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following script to create a payment schedule based on start and end date and it is working perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpenseId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpenseStartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpenseEndDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ExpenseFrequency ='Annually', Date(MonthStart(ExpenseStartDate)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart(AddMonths(ExpenseStartDate,iterno()-1)),'YYYY-MM-DD')) as [Payment Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpenseFrequency,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident tblExpenseSchedule&lt;/P&gt;&lt;P&gt;while ExpenseEndDate &amp;gt;&amp;nbsp; MonthStart(addmonths(ExpenseStartDate,iterno()-1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to add to the if statement when the frequency = semi annual and when it is quarterly.&lt;/P&gt;&lt;P&gt;as you see above when frequency = yearly it shows the date and when monthly it increae the date by one month untill reaching the date end.&lt;/P&gt;&lt;P&gt;Anybody knows what should&amp;nbsp; type in the if statement to make the payment date increases by 6 month when the frequency = Semi and increases by 3 months when it is qurterly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs in advance,&lt;/P&gt;&lt;P&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 01:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Payment-schedule-table/m-p/397835#M148172</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-12T01:28:06Z</dc:date>
    </item>
  </channel>
</rss>

