<?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 Values where another field is not null... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294209#M499088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need to use IsNull() = 0, since IsNull itself returns the boolean required in the if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please elaborate a bit on what object you are using when preenting the data, and in what way the result is incorrect. If possible please attach a QVW file to make evaluation of your dilemma a bit quicker. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2011 09:21:23 GMT</pubDate>
    <dc:creator>ToniKautto</dc:creator>
    <dc:date>2011-06-16T09:21:23Z</dc:date>
    <item>
      <title>Sum Values where another field is not null...</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294205#M499084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I'm pretty new to QlikView and have hit a brick wall, normally I have found something on the community to answers my question, but not this time.&amp;nbsp; What I need is a sum of Charge Out Rates in the selected year, where the person has a time budget.&amp;nbsp; Sample of data is shown below.&amp;nbsp; For example if I select year 2011/12 I would want to return £380 (Name1 + Name3). &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I have tried: &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;TIME_BUDGET&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)=0,(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;CO_Fin_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Period_Fin_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;charge_out_rate&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)),0) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; Any help really appreciated.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" class="jiveNoBorder" style="width: 351px; border-collapse: collapse;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl66" height="17" style="border: 0px windowtext; width: 33pt; height: 12.75pt; text-align: center; background-color: transparent;" width="44"&gt;Name&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px windowtext; width: 89pt; text-align: center; background-color: transparent;" width="119"&gt;Charge_Out_Rate&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px windowtext; width: 67pt; text-align: center; background-color: transparent;" width="89"&gt;CO_Fin_Year&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px windowtext; width: 74pt; text-align: center; background-color: transparent;" width="99"&gt;TIME_BUDGET&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border: 0.5pt solid gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: gainsboro gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;185&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: gainsboro gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2009/10&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: gainsboro gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;185&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2010/11&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;195&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2011/12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2008/09&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2009/10&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2010/11&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2011/12&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;140&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;1996/97&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;140&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2007/08&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;170&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2009/10&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;175&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2010/11&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; height: 12.75pt; text-align: center; background-color: white;"&gt;Name3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;185&lt;/TD&gt;&lt;TD class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;2011/12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; text-align: center; background-color: white;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 09:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294205#M499084</guid>
      <dc:creator />
      <dc:date>2011-06-16T09:07:07Z</dc:date>
    </item>
    <item>
      <title>Sum Values where another field is not null...</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294206#M499085</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;SPAN style="font-size: 12pt; color: #000000; font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 12pt; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #0000ff;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #800000;"&gt;TIME_BUDGET&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)=0,(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #800000;"&gt;CO_Fin_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; = {'=Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #800000;"&gt;Period_Fin_Year)'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #800000;"&gt;charge_out_rate&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)),0) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 09:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294206#M499085</guid>
      <dc:creator />
      <dc:date>2011-06-16T09:16:32Z</dc:date>
    </item>
    <item>
      <title>Sum Values where another field is not null...</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294207#M499086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(sum(total &amp;lt;Name&amp;gt;Budget)&amp;gt;0,sum(Charge),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure there will be alternate ways to go about it as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 09:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294207#M499086</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-06-16T09:19:43Z</dc:date>
    </item>
    <item>
      <title>Sum Values where another field is not null...</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294208#M499087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Erika&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the idea, the &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&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;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CO_Fin_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Period_Fin_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;charge_out_rate&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; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;part of the code is working ok as I use it else where and I want it to change if the user changes the year.&amp;nbsp; The part I am struggling with is to only sum the charge out rate if the person has a budget. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 09:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294208#M499087</guid>
      <dc:creator />
      <dc:date>2011-06-16T09:20:51Z</dc:date>
    </item>
    <item>
      <title>Sum Values where another field is not null...</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294209#M499088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need to use IsNull() = 0, since IsNull itself returns the boolean required in the if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please elaborate a bit on what object you are using when preenting the data, and in what way the result is incorrect. If possible please attach a QVW file to make evaluation of your dilemma a bit quicker. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 09:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294209#M499088</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2011-06-16T09:21:23Z</dc:date>
    </item>
    <item>
      <title>Sum Values where another field is not null...</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294210#M499089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Try this then:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; color: #000000; font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 12pt; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #0000ff;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #800000;"&gt;TIME_BUDGET&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;),0,Expression))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; color: #000000; font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 12pt; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #800000;"&gt;TIME_BUDGET&amp;lt;&amp;gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,Expression,0))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 09:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294210#M499089</guid>
      <dc:creator />
      <dc:date>2011-06-16T09:28:46Z</dc:date>
    </item>
    <item>
      <title>Sum Values where another field is not null...</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294211#M499090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your quick responses. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Toni, you are correct it would help if I elaborated further.&amp;nbsp; Currently I am adding this to a text object to get a Summary across all people within a department. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the code suggested by Matt and put it in a Straight table with the Name as the dimension it works ok as it is evaluating the Time_Budget for each name.&amp;nbsp; When I remove the dimension it then fails because sum of Time_Budget for all Names together is by definition &amp;gt; 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get QlikView to evaluate the the formaula per name and then return a sum of the results? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 09:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294211#M499090</guid>
      <dc:creator />
      <dc:date>2011-06-16T09:46:47Z</dc:date>
    </item>
    <item>
      <title>Sum Values where another field is not null...</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294212#M499091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May not be a solution but the formula I suggested does work if placed in a text object; so in that context it doesn't require any dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 09:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294212#M499091</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-06-16T09:55:37Z</dc:date>
    </item>
    <item>
      <title>Sum Values where another field is not null...</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294213#M499092</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;going by your initial dataset a user has the time_budget against every record for which it has a charge_out_rate and and financial year. If that is the case the following should get you what you require:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;CO_Fin_Year ={Period_Fin_Year}&amp;gt;}if(IsNull(TIME_BUDGET)=0, Charge_Out_Rate,0) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are better doing a sum(if()) rather than an if(sum()). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 09:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294213#M499092</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-16T09:58:19Z</dc:date>
    </item>
    <item>
      <title>Sum Values where another field is not null...</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294214#M499093</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;Thanks for all your input, managed to get to the bottom of it in the end as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CO_Fin_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Period_Fin_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TIME_BUDGET&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'&amp;gt;=0'} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;charge_out_rate&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>Thu, 16 Jun 2011 10:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Values-where-another-field-is-not-null/m-p/294214#M499093</guid>
      <dc:creator />
      <dc:date>2011-06-16T10:23:53Z</dc:date>
    </item>
  </channel>
</rss>

