<?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: How to skip an expression when there is a zero value in part? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-skip-an-expression-when-there-is-a-zero-value-in-part/m-p/1302848#M27668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is turning a null result into 0. If I do not use the Alt function I get - as a result because the formula can't be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, it is manifesting zero sales as 0 instead of -.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2017 19:00:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-06-29T19:00:35Z</dc:date>
    <item>
      <title>How to skip an expression when there is a zero value in part?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-skip-an-expression-when-there-is-a-zero-value-in-part/m-p/1302846#M27666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Here is the current code,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((Alt(sum(if(Month='January',GP))/sum(if(Month='January',[Extended Amount])),0)-(Alt(sum(if(Month='February',GP))/sum(if(Month='February',[Extended Amount])),0)&lt;/P&gt;&lt;P&gt;+Alt(sum(if(Month='February',GP))/sum(if(Month='February',[Extended Amount])),0)-(Alt(sum(if(Month='March',GP))/sum(if(Month='March',[Extended Amount])),0)&lt;/P&gt;&lt;P&gt;+Alt(sum(if(Month='March',GP))/sum(if(Month='March',[Extended Amount])),0)-(Alt(sum(if(Month='April',GP))/sum(if(Month='April',[Extended Amount])),0)&lt;/P&gt;&lt;P&gt;+Alt(sum(if(Month='April',GP))/sum(if(Month='April',[Extended Amount])),0)-(Alt(sum(if(Month='May',GP))/sum(if(Month='May',[Extended Amount])),0))))))&lt;/P&gt;&lt;P&gt;*-1)/5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically, I am taking January's GP % less February's + February's less March’s, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if there are no sales in one of those months, it is skewing the data by either not subtracting anything or subtracting a full months number from 0. How do I make that particular part of the equation not factor in when one of the months has no sales?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 17:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-skip-an-expression-when-there-is-a-zero-value-in-part/m-p/1302846#M27666</guid>
      <dc:creator />
      <dc:date>2017-06-29T17:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip an expression when there is a zero value in part?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-skip-an-expression-when-there-is-a-zero-value-in-part/m-p/1302847#M27667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the alt doing ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 18:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-skip-an-expression-when-there-is-a-zero-value-in-part/m-p/1302847#M27667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T18:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip an expression when there is a zero value in part?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-skip-an-expression-when-there-is-a-zero-value-in-part/m-p/1302848#M27668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is turning a null result into 0. If I do not use the Alt function I get - as a result because the formula can't be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, it is manifesting zero sales as 0 instead of -.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 19:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-skip-an-expression-when-there-is-a-zero-value-in-part/m-p/1302848#M27668</guid>
      <dc:creator />
      <dc:date>2017-06-29T19:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip an expression when there is a zero value in part?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-skip-an-expression-when-there-is-a-zero-value-in-part/m-p/1302849#M27669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that in the data load editor.&amp;nbsp; If([ExtendedAmount = Null(), 0) it should turn your null values into zeros. Then you won't have to handle it in the UI. It may help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 20:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-skip-an-expression-when-there-is-a-zero-value-in-part/m-p/1302849#M27669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T20:05:31Z</dc:date>
    </item>
  </channel>
</rss>

