<?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: Formula with missing data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019376#M345036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(isnull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[KWh Real]&lt;/SPAN&gt;),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count(DISTINCT Company).,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum([KWh Real]/kWp)/Count(DISTINCT Company)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&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; font-size: 13px;"&gt;Let me know&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 15:15:49 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2016-02-24T15:15:49Z</dc:date>
    <item>
      <title>Formula with missing data</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019375#M345035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone, &lt;/P&gt;&lt;P&gt;I have this problem. &lt;/P&gt;&lt;P&gt;In my chart I calculated a theoretical value like this :&lt;/P&gt;&lt;P&gt;=sum([KWh Real]/kWp)/Count(DISTINCT Company). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whan I have all data, my theoretical value is good, the problem is whan the data missing. &lt;/P&gt;&lt;P&gt;The problem is that I always take the count(Company), but whan the data missing I should take just the number of the company that have the datas.&lt;/P&gt;&lt;P&gt;Someone can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pasquale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 15:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019375#M345035</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2016-02-24T15:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Formula with missing data</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019376#M345036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(isnull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[KWh Real]&lt;/SPAN&gt;),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count(DISTINCT Company).,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum([KWh Real]/kWp)/Count(DISTINCT Company)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&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; font-size: 13px;"&gt;Let me know&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 15:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019376#M345036</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2016-02-24T15:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Formula with missing data</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019377#M345037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&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; font-size: 13px;"&gt;&lt;STRONG&gt;=Sum([KWh Real]/kWp)/Count(DISTINCT &lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[KWh Real] = {"=Len(Trim(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[KWh Real])) &amp;gt; 0&lt;/SPAN&gt;"}&lt;/SPAN&gt;&amp;gt;} &lt;/SPAN&gt;Company)&lt;/STRONG&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; font-size: 13px;"&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; font-size: 13px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Sum([KWh Real]/kWp)/Count(DISTINCT &lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[KWh Real] = {"=Len(Trim(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[KWh Real])) &amp;gt; 0&lt;/SPAN&gt;"}, kWp = {"=Len(Trim(kWp)) &amp;gt; 0"}&lt;/SPAN&gt;&amp;gt;} &lt;/SPAN&gt;Company)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 15:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019377#M345037</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-24T15:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Formula with missing data</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019378#M345038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alessandro thanks for the response,&lt;/P&gt;&lt;P&gt;but with this formula I will have just a value, but I need to divide this count(Company) that have a value with &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum([KWh Real]/kWp).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 15:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019378#M345038</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2016-02-24T15:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Formula with missing data</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019379#M345039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 15:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019379#M345039</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2016-02-24T15:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Formula with missing data</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019380#M345040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 15:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-with-missing-data/m-p/1019380#M345040</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-24T15:31:58Z</dc:date>
    </item>
  </channel>
</rss>

