<?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 Sum if Date1=Date2+1 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-if-Date1-Date2-1/m-p/276347#M1180453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming CallDate and PTPDate are both correctly-defined QlikView dates, your expressions all look correct to me.&amp;nbsp; So my guess is that they are NOT correctly-defined.&amp;nbsp; Try making a list box or straight table for num(Date).&amp;nbsp; You should see integer values - the number of days since December 30, 1899.&amp;nbsp; If that's not what you see, you don't have a QlikView date, and the issue is probably in your script where these fields are being defined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2011 20:50:27 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2011-12-02T20:50:27Z</dc:date>
    <item>
      <title>Sum if Date1=Date2+1</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-if-Date1-Date2-1/m-p/276345#M1180451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two spreadsheets.&amp;nbsp; One shows when we have called customers and the other one is the results of the call.&amp;nbsp; We have a call center and one sheet is where i get the call date and the account number.&amp;nbsp; the second spreadsheet shows when the date that person promised to pay and when they actually did pay.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to build a chart that shows when we have called a person and they paid the same day, the next day, third day...on to 7 days from the date called.&amp;nbsp; This sounds straightforward but I built a pivot table that shows.&lt;/P&gt;&lt;P&gt;//total promised &lt;/P&gt;&lt;P&gt;sum(PromisetoPayamount)---WORKS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//same day&lt;/P&gt;&lt;P&gt;sum(if(CallDate=PTPDate, PTPAmount))--WORKS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//next day&lt;/P&gt;&lt;P&gt;sum(if(CallDate+1=PTPDate, PTPAmount)) -- Does not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As always any assistance would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 20:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-if-Date1-Date2-1/m-p/276345#M1180451</guid>
      <dc:creator />
      <dc:date>2011-12-02T20:27:45Z</dc:date>
    </item>
    <item>
      <title>Sum if Date1=Date2+1</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-if-Date1-Date2-1/m-p/276346#M1180452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(Date(CallDate+1)=PTPDate, PTPAmount))&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 20:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-if-Date1-Date2-1/m-p/276346#M1180452</guid>
      <dc:creator />
      <dc:date>2011-12-02T20:49:57Z</dc:date>
    </item>
    <item>
      <title>Sum if Date1=Date2+1</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-if-Date1-Date2-1/m-p/276347#M1180453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming CallDate and PTPDate are both correctly-defined QlikView dates, your expressions all look correct to me.&amp;nbsp; So my guess is that they are NOT correctly-defined.&amp;nbsp; Try making a list box or straight table for num(Date).&amp;nbsp; You should see integer values - the number of days since December 30, 1899.&amp;nbsp; If that's not what you see, you don't have a QlikView date, and the issue is probably in your script where these fields are being defined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 20:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-if-Date1-Date2-1/m-p/276347#M1180453</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-12-02T20:50:27Z</dc:date>
    </item>
    <item>
      <title>Sum if Date1=Date2+1</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-if-Date1-Date2-1/m-p/276348#M1180454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; oh and i would like to tie the account number together on both of the sheets.&amp;nbsp; If there is a way to say &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date1+1&amp;amp;"|"&amp;amp;CustNo=Date2&amp;amp;"|"&amp;amp;CustNo that would be the best.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 21:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-if-Date1-Date2-1/m-p/276348#M1180454</guid>
      <dc:creator />
      <dc:date>2011-12-02T21:08:03Z</dc:date>
    </item>
  </channel>
</rss>

