<?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 average in each row of table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1584560#M42748</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you this solution works but it averages by columns.&lt;/P&gt;&lt;P&gt;What I am after is to average by date, so to average each row is this possible?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Steph&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2019 14:52:26 GMT</pubDate>
    <dc:creator>stxphxe</dc:creator>
    <dc:date>2019-05-24T14:52:26Z</dc:date>
    <item>
      <title>Calculating average in each row of table</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1583645#M42668</link>
      <description>&lt;P&gt;how do i go about calculating the average of each row in this table?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="h.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12522i6466E4877CD3DB04/image-size/large?v=v2&amp;amp;px=999" role="button" title="h.png" alt="h.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:48:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1583645#M42668</guid>
      <dc:creator>stxphxe</dc:creator>
      <dc:date>2024-11-16T20:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating average in each row of table</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1583696#M42672</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In the data manager (I can't get RangeAvg to work there for some reason):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-Add field&lt;/P&gt;&lt;P&gt;-Calculated field&lt;/P&gt;&lt;P&gt;-In the expression, add the values of your columns and divide by the number of columns ([Raw HRV] + Column1+ Column2+...+Column11)/12&lt;/P&gt;&lt;P&gt;-Give it a name and create.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In the load script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Add the following field when you pull in the data and add all of the fields you want included in the calculation of the average in the brackets:&lt;/P&gt;&lt;P&gt;RangeAvg([Raw HRV], [Column1], [Column2]) AS Average&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/April2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/RangeFunctions/rangeavg.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/April2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/RangeFunctions/rangeavg.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Mauritz&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 06:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1583696#M42672</guid>
      <dc:creator>Mauritz_SA</dc:creator>
      <dc:date>2019-05-23T06:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating average in each row of table</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1583834#M42685</link>
      <description>&lt;P&gt;Thank you! I will try this out. I have about 166 columns is there a faster way to input this, rather than to type each column number?&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 10:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1583834#M42685</guid>
      <dc:creator>stxphxe</dc:creator>
      <dc:date>2019-05-23T10:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating average in each row of table</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1583857#M42688</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;The script below should give you what you need. Just update the path.&lt;/P&gt;&lt;P&gt;[Sheet2]:&lt;BR /&gt;LOAD&lt;BR /&gt;*&lt;BR /&gt;FROM [lib://Qlik Test Data Files/Test New Column.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet2);&lt;/P&gt;&lt;P&gt;ColumnNameTable:&lt;BR /&gt;CrossTable(ColumnName,Data,&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/FONT&gt;)&lt;BR /&gt;Load *&lt;BR /&gt;Resident Sheet2;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LEFT JOIN ([Sheet2])&lt;BR /&gt;LOAD&lt;BR /&gt;Date,&lt;BR /&gt;Avg(Data) AS Average&lt;BR /&gt;RESIDENT&lt;BR /&gt;ColumnNameTable&lt;BR /&gt;GROUP BY Date;&lt;BR /&gt;DROP TABLE ColumnNameTable;&lt;/P&gt;&lt;P&gt;The &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/FONT&gt; in the crosstable specifies the number of columns to treat as qualifying fields. In this case it will treat Date as a qualifying field and get the average of the rest regardless of how many columns you have.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mauritz&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 11:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1583857#M42688</guid>
      <dc:creator>Mauritz_SA</dc:creator>
      <dc:date>2019-05-23T11:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating average in each row of table</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1584560#M42748</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you this solution works but it averages by columns.&lt;/P&gt;&lt;P&gt;What I am after is to average by date, so to average each row is this possible?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Steph&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 14:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1584560#M42748</guid>
      <dc:creator>stxphxe</dc:creator>
      <dc:date>2019-05-24T14:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating average in each row of table</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1584928#M42779</link>
      <description>&lt;P&gt;Hi Steph&lt;/P&gt;&lt;P&gt;The code should essentially add a new column with the average for the row. Below is a screenshot of the sample app I created and the new column (with the average for the whole row) in yellow.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Average Column.PNG" style="width: 905px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12701i07B6BED1C8A41A07/image-size/large?v=v2&amp;amp;px=999" role="button" title="Average Column.PNG" alt="Average Column.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you are still having trouble then you can share your sample app and I can try to help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mauritz&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 07:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-average-in-each-row-of-table/m-p/1584928#M42779</guid>
      <dc:creator>Mauritz_SA</dc:creator>
      <dc:date>2019-05-27T07:13:59Z</dc:date>
    </item>
  </channel>
</rss>

