<?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: Use greater than function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657184#M1072351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum(if([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Accepted_age&lt;/SPAN&gt;] = '' and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;lead_Reason&lt;/SPAN&gt; = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Expired&lt;/SPAN&gt;' and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Accepted_age]&amp;gt;[Accept_TM], Column3))&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Mariu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2014 12:15:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-12T12:15:49Z</dc:date>
    <item>
      <title>Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657175#M1072342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate the sum of a column based on greater than functionality of other 2 columns but I am not able to do the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column1 Column 2&amp;nbsp; Column 3&lt;/P&gt;&lt;P&gt;01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to achieve here is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Column2) &amp;gt; Column (1) then Sum( Total) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which means it should provide me a total sum of all Column 3 where Column2 &amp;gt; column 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried deriving an expression; but did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this would be highly appreciated as I am stuck on this for Quite a few hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prathamesh Sable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 15:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657175#M1072342</guid>
      <dc:creator />
      <dc:date>2014-08-11T15:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657176#M1072343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new column in your load script, then sum that column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula in your load script would be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Column2 &amp;gt; Column1, Column3) as Total&lt;/P&gt;&lt;P&gt;Then just use&amp;nbsp;&amp;nbsp; Sum(Total)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in your chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 15:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657176#M1072343</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-08-11T15:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657177#M1072344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try also maybe using RangeSum() to make sure NULL's are treated as 0's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657177#M1072344</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-08-11T16:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657178#M1072345</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;Thanks for the reply. Is this possible to derive this in a expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prathamesh Sable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 09:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657178#M1072345</guid>
      <dc:creator />
      <dc:date>2014-08-12T09:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657179#M1072346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried range Sum(). Did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the expression what I am trying to derive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Only( Accepted_age) &amp;gt;= only (Accept_TM), RangeSum(Total))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output that I want to extract is if accepted age is greater than equal to accept team then I should get the values of total field where the accepted age values are greater than accept team values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prathamesh Sable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 09:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657179#M1072346</guid>
      <dc:creator />
      <dc:date>2014-08-12T09:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657180#M1072347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this in your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(if(Column2 &amp;gt; Column1, Column3))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Marius&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 09:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657180#M1072347</guid>
      <dc:creator />
      <dc:date>2014-08-12T09:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657181#M1072348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my Column 1 &amp;amp; 2 has blanks &amp;amp; some values which needs to be excluded in the the above calculation.&lt;/P&gt;&lt;P&gt;Is there a way I can achieve the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(if(Column2 (exclude blanks) &amp;gt; Column1 (exclude value), Column3))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something of the sort in set expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;[Accepted Date]={'-'},lead_Reason={'Expired'}&amp;gt; }Total)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prathamesh Sable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 11:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657181#M1072348</guid>
      <dc:creator />
      <dc:date>2014-08-12T11:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657182#M1072349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(if(Column2 &amp;lt;&amp;gt; '' and Column1 &amp;lt;&amp;gt; '' and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Column2 &amp;gt; Column1, Column3))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Marius&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 11:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657182#M1072349</guid>
      <dc:creator />
      <dc:date>2014-08-12T11:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657183#M1072350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply. The values are not being pulled up correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Excel in am trying to use the formula as -&lt;/P&gt;&lt;P&gt;=IF(ISBLANK([@[Accepted_age]]),IF([@[lead_Reason]] = "Expired","Expired","Not Accepted"),IF([@[Accepted_age]]&amp;gt;[@[Accept_TM]],"No","Yes"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Qlikview I want o use the same sort of expression where-in I need filter the columns [Accepted_age] is blank lead reason is expired &amp;amp; [Accepted_age]&amp;gt;[Accept_TM]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prathamesh Sable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 12:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657183#M1072350</guid>
      <dc:creator />
      <dc:date>2014-08-12T12:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657184#M1072351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum(if([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Accepted_age&lt;/SPAN&gt;] = '' and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;lead_Reason&lt;/SPAN&gt; = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Expired&lt;/SPAN&gt;' and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Accepted_age]&amp;gt;[Accept_TM], Column3))&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Mariu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 12:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657184#M1072351</guid>
      <dc:creator />
      <dc:date>2014-08-12T12:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Use greater than function</title>
      <link>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657185#M1072353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mariu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Tried, Still getting data discrepancy. Using the normal formula &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(IF(Accepted age)&amp;gt;(accept_TM), Total) gives me a count of 23167&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;performing the same in excel gives me a count of 24175 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same data has been loaded in Qlikview still data error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prathamesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 14:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-greater-than-function/m-p/657185#M1072353</guid>
      <dc:creator />
      <dc:date>2014-08-12T14:46:00Z</dc:date>
    </item>
  </channel>
</rss>

