<?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 set analysis syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1049818#M352586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been having a heck of a time trying to get this to work. What I want is the bad rate, or deliquency rate of loans given to clients. So basically I had this working no problem with =1-SUM({$&amp;lt;DueDatePaymentDelayInDays = {"&amp;lt;=5"}&amp;gt;} PaymentTotal)/SUM({Capital+Fee))&lt;/P&gt;&lt;P&gt;But I don't want this to show up until there are 35 days between today() and OpeningDate so I don't have my line going to 100%:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=1-SUM(IF(today()-OpeningDate&amp;gt;=35, PaymentTotal))/SUM(IF(today()-OpeningDate&amp;gt;=35,Capital+Fee))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, this sums everything if 35 or more days have passed since OpeningDate, but what I want is to sum this at a point in time which I reflected in the first formula, where &lt;SPAN style="font-size: 13.3333px;"&gt;$&amp;lt;DueDatePaymentDelayInDays = {"&amp;lt;=5"}&amp;gt;} , so what I would like would be to incorporate both aspects, don't sum unless it is 35+ days old and only those payments received within the first 5 days of it coming due. But I'm having trouble with the syntax, I have this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=1-SUM(IF(today()-OpeningDate&amp;gt;=35, SUM{$&amp;lt;DueDatePaymentDelayInDays = {"&amp;lt;=5"}&amp;gt;} PaymentTotal))/SUM(IF(today()-OpeningDate&amp;gt;=35,Capital+Fee))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Feb 2016 13:12:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-29T13:12:30Z</dc:date>
    <item>
      <title>set analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1049818#M352586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been having a heck of a time trying to get this to work. What I want is the bad rate, or deliquency rate of loans given to clients. So basically I had this working no problem with =1-SUM({$&amp;lt;DueDatePaymentDelayInDays = {"&amp;lt;=5"}&amp;gt;} PaymentTotal)/SUM({Capital+Fee))&lt;/P&gt;&lt;P&gt;But I don't want this to show up until there are 35 days between today() and OpeningDate so I don't have my line going to 100%:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=1-SUM(IF(today()-OpeningDate&amp;gt;=35, PaymentTotal))/SUM(IF(today()-OpeningDate&amp;gt;=35,Capital+Fee))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, this sums everything if 35 or more days have passed since OpeningDate, but what I want is to sum this at a point in time which I reflected in the first formula, where &lt;SPAN style="font-size: 13.3333px;"&gt;$&amp;lt;DueDatePaymentDelayInDays = {"&amp;lt;=5"}&amp;gt;} , so what I would like would be to incorporate both aspects, don't sum unless it is 35+ days old and only those payments received within the first 5 days of it coming due. But I'm having trouble with the syntax, I have this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=1-SUM(IF(today()-OpeningDate&amp;gt;=35, SUM{$&amp;lt;DueDatePaymentDelayInDays = {"&amp;lt;=5"}&amp;gt;} PaymentTotal))/SUM(IF(today()-OpeningDate&amp;gt;=35,Capital+Fee))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 13:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1049818#M352586</guid>
      <dc:creator />
      <dc:date>2016-02-29T13:12:30Z</dc:date>
    </item>
  </channel>
</rss>

