<?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 Need expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-expression/m-p/477142#M178223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can i calculate payout for a customer.my payout is depend upon delay days&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;Data provided 1-10 calendar days late: deduction in Fees of ten percent (10 %)&lt;/LI&gt;&lt;LI&gt;Data provided 11-20 calendar days late: deduction in Fees of twenty percent (20 %)&lt;/LI&gt;&lt;LI&gt;Data provided 21-30 calendar days late: deduction in Fees of thirty percent (30 %)&lt;/LI&gt;&lt;LI&gt;Data provided 31-90 calendar days late: deduction in Fees of fifty percent (50%)&lt;/LI&gt;&lt;LI&gt;Data provided more than 90 calendar days late: no Fees due&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;how can i get these any suggestion would be helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2013 09:28:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-12T09:28:31Z</dc:date>
    <item>
      <title>Need expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-expression/m-p/477142#M178223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can i calculate payout for a customer.my payout is depend upon delay days&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;Data provided 1-10 calendar days late: deduction in Fees of ten percent (10 %)&lt;/LI&gt;&lt;LI&gt;Data provided 11-20 calendar days late: deduction in Fees of twenty percent (20 %)&lt;/LI&gt;&lt;LI&gt;Data provided 21-30 calendar days late: deduction in Fees of thirty percent (30 %)&lt;/LI&gt;&lt;LI&gt;Data provided 31-90 calendar days late: deduction in Fees of fifty percent (50%)&lt;/LI&gt;&lt;LI&gt;Data provided more than 90 calendar days late: no Fees due&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;how can i get these any suggestion would be helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 09:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-expression/m-p/477142#M178223</guid>
      <dc:creator />
      <dc:date>2013-12-12T09:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-expression/m-p/477143#M178224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;easy:&lt;/P&gt;&lt;P&gt;- You can easily calculate the payout with a discount by just multiplying it by 0.9 (10% deduction) etc.&lt;/P&gt;&lt;P&gt;- You can calculate the days_of_delay by subtracting the cutoff_date from the provided_date (that will give you a nr. of days)&lt;/P&gt;&lt;P&gt;=&amp;gt; Then you just have to construct an IF_construction. With your five possibilities, a PICK(MATCH) construct might be more performant, but for that you'd have to take the extra step of making categories. Try with IF for starters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 09:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-expression/m-p/477143#M178224</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-12-12T09:33:14Z</dc:date>
    </item>
  </channel>
</rss>

