<?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: Calculating a Score and Representing the Numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647827#M237203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have the types calculated in the data (&amp;nbsp; Detractor,Passive, Promoter)&amp;nbsp; ?&amp;nbsp; Or do you just have the score 0-10 ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a stand alone text box you could create an expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count (&amp;nbsp;&amp;nbsp; {$&amp;lt;Type={Detractor}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID ) &lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Count (&amp;nbsp; Person ID ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example.&amp;nbsp;&amp;nbsp; Type is a data field that stores detractor, passive or promoter and PersonID is an indentifier of the individual.&amp;nbsp; The above calculation would give you the ratio of detractors.&amp;nbsp; You could also have this to get the score.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Count (&amp;nbsp;&amp;nbsp; {$&amp;lt;Type={Promoter}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID )&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Count (&amp;nbsp;&amp;nbsp; {$&amp;lt;Type={Detractor}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID )&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Count (&amp;nbsp; Person ID ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just have the score, considering using IF statements in the load script to calculate the types, OR use somethin glike this off the scores&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;Count (&amp;nbsp;&amp;nbsp; {$&amp;lt;Score={"&amp;gt;=9&amp;lt;=10"}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID )&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Count (&amp;nbsp;&amp;nbsp; {$&amp;lt;Score={"&amp;gt;=0&amp;lt;=6"}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID )&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Count (&amp;nbsp; Person ID ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual solution will depend on your data .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2014 19:27:00 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-10-16T19:27:00Z</dc:date>
    <item>
      <title>Calculating a Score and Representing the Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647826#M237202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I am trying calculate what is known as the Customer Satisfaction score through Qlikview. This score is based off a scale of 0-10, 0-6 being detractors, 7-8 being passives and 9-10 being promoters. You take the overall percentage of the detractors and promoters and you subtract the detractors from the promoters. &lt;/P&gt;&lt;P&gt;Customer Satisfaction Score = % of Promoters - % of Detractors &lt;/P&gt;&lt;P&gt;&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;&amp;nbsp; (9-10)&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;&amp;nbsp;&amp;nbsp; (0-6)&lt;/P&gt;&lt;P&gt;I am trying to generate these data points on a daily, weekly and monthly basis. All of the scores are already inside of Qlikview, I believe I have to come up with a query or bar chart that will correctly generate these numbers. Any idea on how to accomplish this? As always thanks for the help guys. &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;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 18:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647826#M237202</guid>
      <dc:creator />
      <dc:date>2014-10-16T18:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a Score and Representing the Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647827#M237203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have the types calculated in the data (&amp;nbsp; Detractor,Passive, Promoter)&amp;nbsp; ?&amp;nbsp; Or do you just have the score 0-10 ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a stand alone text box you could create an expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count (&amp;nbsp;&amp;nbsp; {$&amp;lt;Type={Detractor}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID ) &lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Count (&amp;nbsp; Person ID ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example.&amp;nbsp;&amp;nbsp; Type is a data field that stores detractor, passive or promoter and PersonID is an indentifier of the individual.&amp;nbsp; The above calculation would give you the ratio of detractors.&amp;nbsp; You could also have this to get the score.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Count (&amp;nbsp;&amp;nbsp; {$&amp;lt;Type={Promoter}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID )&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Count (&amp;nbsp;&amp;nbsp; {$&amp;lt;Type={Detractor}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID )&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Count (&amp;nbsp; Person ID ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just have the score, considering using IF statements in the load script to calculate the types, OR use somethin glike this off the scores&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;Count (&amp;nbsp;&amp;nbsp; {$&amp;lt;Score={"&amp;gt;=9&amp;lt;=10"}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID )&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Count (&amp;nbsp;&amp;nbsp; {$&amp;lt;Score={"&amp;gt;=0&amp;lt;=6"}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; PersonID )&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Count (&amp;nbsp; Person ID ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual solution will depend on your data .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 19:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647827#M237203</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-16T19:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a Score and Representing the Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647828#M237204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your first question I just have the score represented as 0-10 value. I do not have them represented as detractor, passive, and promoter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also since I want to retrieve the score based off a specific date, would the PersonID represent the date I want to retrieve the data from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 19:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647828#M237204</guid>
      <dc:creator />
      <dc:date>2014-10-16T19:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a Score and Representing the Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647829#M237205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expressions above would dynamically calculate based off the date selections in your application. If you have a date field loaded in your application, by default it would cover all dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if the calculation is meaningless unless you filter the records to just one date, i suggest adding the date field as a list box, selecting one of the values, then go to the properties of the list box and enable the checkbox 'always one selected value'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the users will always have to have 1 date selected. They can select other dates but won't be able to clear or select multiple. In this model, the net promoter score will alway calculate in the required context.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 19:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647829#M237205</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-16T19:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a Score and Representing the Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647830#M237206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay gotcha!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if I had a source label for each score, for example original or duplicate and I wanted to remove all the duplicate values from my score how would I got about doing that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 20:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647830#M237206</guid>
      <dc:creator />
      <dc:date>2014-10-16T20:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a Score and Representing the Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647831#M237207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured it out Jonathan. I just added the source as a field on my sheet and selected original. Thank you for the help! It solved my issues! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 21:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Score-and-Representing-the-Numbers/m-p/647831#M237207</guid>
      <dc:creator />
      <dc:date>2014-10-16T21:06:08Z</dc:date>
    </item>
  </channel>
</rss>

