<?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 calculate the average of different fields with incidental null values?? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-calculate-the-average-of-different-fields-with-incidental/m-p/1364065#M30711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're first solution is what I was looking for. The second one requires a fixed number (7) of fields, but because of the null values some fields don't count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 May 2017 11:37:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-05-04T11:37:43Z</dc:date>
    <item>
      <title>How to calculate the average of different fields with incidental null values??</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-the-average-of-different-fields-with-incidental/m-p/1364063#M30709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with 7 fields (columns) which correspond to questions in a survey. It's a bit like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To what extent do you agree with [statement 1]?&lt;/P&gt;&lt;P&gt;2. To what extent do you agree with [statement 2]?&lt;/P&gt;&lt;P&gt;3. To what extent do you agree with [statement 3]?&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;7. To what extent do you agree with [statement 7]?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The possible values ("the scores") for each field range from 1 to 5, but null values ("N/A") also occur. I would like to calculate the average of these fields per row. That means I have to sum the values and divide them by the number of fields &lt;EM&gt;which &lt;/EM&gt;&lt;EM&gt;do not have a null value.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the best solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 09:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-the-average-of-different-fields-with-incidental/m-p/1364063#M30709</guid>
      <dc:creator />
      <dc:date>2017-05-04T09:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the average of different fields with incidental null values??</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-the-average-of-different-fields-with-incidental/m-p/1364064#M30710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use RangeAvg() or RangeSum() which ignore text and null values&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeAvg(Field1, Field2, Field3, Field4,.... Field7) as Avg&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;RangeSum(Field1, Field2, Field3, Field4,.... Field7)/7 as Avg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 11:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-the-average-of-different-fields-with-incidental/m-p/1364064#M30710</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-04T11:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the average of different fields with incidental null values??</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-the-average-of-different-fields-with-incidental/m-p/1364065#M30711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're first solution is what I was looking for. The second one requires a fixed number (7) of fields, but because of the null values some fields don't count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 11:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-the-average-of-different-fields-with-incidental/m-p/1364065#M30711</guid>
      <dc:creator />
      <dc:date>2017-05-04T11:37:43Z</dc:date>
    </item>
  </channel>
</rss>

