<?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: Sumif not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512473#M694302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this seems to work....&lt;/P&gt;&lt;P&gt;Sum (IF("DATE([Posting Date],'DD/MM/YYYY')" &amp;lt;= '31/12/2010',[Cost Amount (Actual)] ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jun 2013 18:19:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-26T18:19:32Z</dc:date>
    <item>
      <title>Sumif not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512468#M694297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;i want to sum the field cost for all entries where the posting date is less than 31/12/2010 and ignore the entries where the posting date is after that date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;for eg, Rs. 100,000 is spent in 2009, 2010, 2011, 2012, then it should show Rs. 2,00,000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;but iam getting value of Zero.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;Below is the expression, pls help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-size: 8pt;"&gt;PD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-size: 8pt;"&gt;31&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-size: 8pt;"&gt;12&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-size: 8pt;"&gt;2010&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-size: 8pt;"&gt;[Cost Amount (Actual)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 14:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512468#M694297</guid>
      <dc:creator />
      <dc:date>2013-06-26T14:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sumif not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512469#M694298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If PD is your date field with a date values formatted like 'DD/MM/YYYY', you should check that QV has recognized these values as date values (e.g. by checking the tags in table viewer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-size: 8pt;"&gt;PD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= '&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-size: 8pt;"&gt;31&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-size: 8pt;"&gt;12&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-size: 8pt;"&gt;2010'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-size: 8pt;"&gt;[Cost Amount (Actual)] )&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-size: 8pt;"&gt;PD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= makedate(2010,12,31) &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-size: 8pt;"&gt;[Cost Amount (Actual)] &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;or using set analysis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;SPAN style="font-size: 8pt;"&gt; ( {&amp;lt;PD = {"&amp;lt;='31/12/2010'"} &amp;gt;} [&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-size: 8pt;"&gt;Cost Amount (Actual)] &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 14:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512469#M694298</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-06-26T14:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sumif not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512470#M694299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am still not getting it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get the data for the sum for the entire period only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have atatched the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 15:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512470#M694299</guid>
      <dc:creator />
      <dc:date>2013-06-26T15:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sumif not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512471#M694300</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;Try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum&lt;SPAN style="font-size: 8pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-size: 8pt;"&gt;PD={'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;= $(=MakeDate(&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-size: 8pt;"&gt;2010,12, 31))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-size: 8pt;"&gt;[Cost Amount (Actual)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, check whether date format in PD dimension and &lt;SPAN style="font-size: 8pt;"&gt;MakeDate(&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-size: 8pt;"&gt;2010,12, 31) is in same format.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope it helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 15:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512471#M694300</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-06-26T15:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sumif not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512472#M694301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum (IF("DATE([Posting Date],'DD/MM/YYYY')" &amp;lt;= '12/31/2010',[Cost Amount (Actual)] ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 16:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512472#M694301</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-06-26T16:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sumif not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512473#M694302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this seems to work....&lt;/P&gt;&lt;P&gt;Sum (IF("DATE([Posting Date],'DD/MM/YYYY')" &amp;lt;= '31/12/2010',[Cost Amount (Actual)] ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 18:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sumif-not-working/m-p/512473#M694302</guid>
      <dc:creator />
      <dc:date>2013-06-26T18:19:32Z</dc:date>
    </item>
  </channel>
</rss>

