<?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 Calculate mean based on recoded values for survey question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-mean-based-on-recoded-values-for-survey-question/m-p/1350817#M836765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a database about the results of a survey and two of those tables in the database are: &lt;/P&gt;&lt;P&gt;(1) Response - it keeps students' responses, question ID, year of responses submitted, etc&lt;/P&gt;&lt;P&gt;(2) Option - it keeps the attributes about question's options, like the text of option, value, etc&lt;/P&gt;&lt;P&gt;For explanation, I have exported some data from these two tables to Excels and prepare a Qlikview (Files are attached). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Response" in Response table stores what students answered and the "QO_Key" in both tables link up student's response with the options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to create a chart showing the mean of a question. Instead of using the value stored in "Response" field to calculate (which ranges from 1 to 5), I would like to convert it into a scale of 0 to 100 (i.e. 1=&amp;gt;0; 2=&amp;gt;25; 3=&amp;gt;50; 4=&amp;gt;75; 5=&amp;gt;100). This mapping relationship is defined in the field "Option_Calculation" in Option table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I calculate the mean using a scale of 0 to 100 in Qlikview? I tried using dual function before in data loading script, but it seems that it does not work (or maybe I did not use it correctly). Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Calculate mean based on recoded values for survey question</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-mean-based-on-recoded-values-for-survey-question/m-p/1350817#M836765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a database about the results of a survey and two of those tables in the database are: &lt;/P&gt;&lt;P&gt;(1) Response - it keeps students' responses, question ID, year of responses submitted, etc&lt;/P&gt;&lt;P&gt;(2) Option - it keeps the attributes about question's options, like the text of option, value, etc&lt;/P&gt;&lt;P&gt;For explanation, I have exported some data from these two tables to Excels and prepare a Qlikview (Files are attached). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Response" in Response table stores what students answered and the "QO_Key" in both tables link up student's response with the options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to create a chart showing the mean of a question. Instead of using the value stored in "Response" field to calculate (which ranges from 1 to 5), I would like to convert it into a scale of 0 to 100 (i.e. 1=&amp;gt;0; 2=&amp;gt;25; 3=&amp;gt;50; 4=&amp;gt;75; 5=&amp;gt;100). This mapping relationship is defined in the field "Option_Calculation" in Option table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I calculate the mean using a scale of 0 to 100 in Qlikview? I tried using dual function before in data loading script, but it seems that it does not work (or maybe I did not use it correctly). Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-mean-based-on-recoded-values-for-survey-question/m-p/1350817#M836765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

