<?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: NPS calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854770#M994439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much for your answer for both the right answer and take your time for the explanation. I really appreciate your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and I hope to return the favor some day &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Javi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 19:44:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-30T19:44:56Z</dc:date>
    <item>
      <title>NPS calculation</title>
      <link>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854767#M994436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, first of all sorry if this is a very noob question but I'm with it two hours and I'm desperate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable called NPS. I'm drawing a graph with the dimension Months and in the expression I want to add the NPS formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Count(NPS&amp;gt;8)-Count(NPS&amp;lt;7)/Count(NPS&amp;gt;=0))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that all the count provides me the same value that is the number of NPS values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in January:&lt;/P&gt;&lt;P&gt;Count(NPS&amp;gt;8) = 1133&lt;/P&gt;&lt;P&gt;Count(NPS&amp;gt;0) = 1133&lt;/P&gt;&lt;P&gt;Count(NPS&amp;lt;7) = 1133&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In NPS properties I have changed in the Number TAB the configuration to Integer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 17:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854767#M994436</guid>
      <dc:creator />
      <dc:date>2015-06-30T17:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: NPS calculation</title>
      <link>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854768#M994437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(count({&amp;lt; NPS = {"&amp;gt;8"}&amp;gt;} NPS) - count({&amp;lt; NPS = {"&amp;lt;8"}&amp;gt;} NPS)) / count({&amp;lt; NPS = {"&amp;gt;=0"}&amp;gt;} NPS) * 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 18:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854768#M994437</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-30T18:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: NPS calculation</title>
      <link>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854769#M994438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NPS&amp;gt;8 will evaluate to -1 (true) or 0 (false). Both these values will be counted by Count(). If you want to use a condition inside your Count() you need to use &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( If(NPS&amp;gt;8,NPS,Null()) )&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( {$&amp;lt;NPS={"&amp;gt;8"}&amp;gt;} NPS )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long story short: Marcus' expression will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 19:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854769#M994438</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-06-30T19:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: NPS calculation</title>
      <link>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854770#M994439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much for your answer for both the right answer and take your time for the explanation. I really appreciate your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and I hope to return the favor some day &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Javi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 19:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854770#M994439</guid>
      <dc:creator />
      <dc:date>2015-06-30T19:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: NPS calculation</title>
      <link>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854771#M994440</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; font-size: 13px;"&gt;-(Sum(NPS&amp;gt;8)+Sum(NPS&amp;lt;7)/Sum(NPS&amp;gt;=0))*100&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;&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;might also work.&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;hope this helps&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;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; 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;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 20:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NPS-calculation/m-p/854771#M994440</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-30T20:10:35Z</dc:date>
    </item>
  </channel>
</rss>

