<?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: Sum IF, from previous available date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777067#M275429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So let me understand this a little bit. You mean that there could be places (for example 2015/01/07) which could have 0 now for Sum Previous expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Feb 2015 10:38:13 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-02-24T10:38:13Z</dc:date>
    <item>
      <title>Sum IF, from previous available date</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777066#M275428</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;Days with&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pmt_amount&amp;lt;&amp;gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;credit line connected pmts = 0 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;are not working correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the master IF-statements from&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;SPAN style="font-size: 10pt;"&gt;If(Sum({&amp;lt;Date = {'$(vRange)'}, [Year-Month] = &amp;gt;}If(Pmt_Subtype='Credit line connected payment',Pmt_amount)) &amp;lt;&amp;gt; 0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&lt;SPAN style="color: #333333;"&gt;to&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Pmt_amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &amp;lt;&amp;gt; 0, &lt;/SPAN&gt;&lt;/SPAN&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now this happens: If &lt;STRONG&gt;"Sum Date"&lt;/STRONG&gt; shows zero, then &lt;STRONG&gt;"Sum previous"&lt;/STRONG&gt; should be showing zero the next day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls find example file attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78913_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 09:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777066#M275428</guid>
      <dc:creator />
      <dc:date>2015-02-24T09:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sum IF, from previous available date</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777067#M275429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So let me understand this a little bit. You mean that there could be places (for example 2015/01/07) which could have 0 now for Sum Previous expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 10:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777067#M275429</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-24T10:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sum IF, from previous available date</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777068#M275430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what I think you are trying to say is that the &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;credit line connected pmts &lt;/STRONG&gt; can be 0, but the overall pmt_amt should not be 0? correct???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the master alone will not help. all the if statements underneath the master will have to change. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will be a lot of rework.I will see if I can resolve it for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 10:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777068#M275430</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-24T10:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sum IF, from previous available date</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777069#M275431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that is correct. Maybe I was a bit unclear before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open days with no "Credit line connected payments" &lt;STRONG&gt;do exist&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It happens rarely but it does happen. Which means sometime Sum Previous could be 0.&lt;/P&gt;&lt;P&gt;Problem was that in the example data there were no such days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what Im trying to say is that for all open days, all we know for sure is that the below statement is true:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Pmt_Amount) &amp;lt;&amp;gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 10:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777069#M275431</guid>
      <dc:creator />
      <dc:date>2015-02-24T10:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sum IF, from previous available date</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777070#M275432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the inconvenience caused &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 10:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777070#M275432</guid>
      <dc:creator />
      <dc:date>2015-02-24T10:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sum IF, from previous available date</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777071#M275433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppress Null values may give you a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 10:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777071#M275433</guid>
      <dc:creator>hariprasadqv</dc:creator>
      <dc:date>2015-02-24T10:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sum IF, from previous available date</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777072#M275434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Took way less time then I thought it would take. I am guessing this is what you want. PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78942_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 10:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777072#M275434</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-24T10:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sum IF, from previous available date</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777073#M275435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No inconvenience brother, I am glad that I am able to help + its a learning experience for me also. I love these daily quest I run into on the community. The more I help, the more I learn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 10:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777073#M275435</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-24T10:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sum IF, from previous available date</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777074#M275436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A true work of art, thank you very much! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Hopefully this is it! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 11:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777074#M275436</guid>
      <dc:creator />
      <dc:date>2015-02-24T11:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sum IF, from previous available date</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777075#M275437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem. Always there to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 15:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-IF-from-previous-available-date/m-p/777075#M275437</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-24T15:47:23Z</dc:date>
    </item>
  </channel>
</rss>

