<?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: Urgent , average rating in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Urgent-average-rating/m-p/949744#M467726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not this way. Set analysis doesn't work in the script. Unless you have serious performance problems I suggest using chart expressions instead of trying to do it in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2015 06:00:53 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-10-23T06:00:53Z</dc:date>
    <item>
      <title>Urgent , average rating</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-average-rating/m-p/949741#M467723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;I would like to create a new customized field call Average_Rating based on the information below.&lt;/P&gt;&lt;P&gt;Example for 3D HomeStay, the avg rating should be sum of all three (7.5+.7.4.0) divide by 2 instead of 3 as I am treating 0 and null value&amp;nbsp; as insignificant as it will distort the value heavily. This applies to 3HOWW hotel too where the avg rating is 8.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired output for avg raating is&lt;/P&gt;&lt;P&gt;3DHomestay 7.45&lt;/P&gt;&lt;P&gt;3HOWW 8.1&lt;/P&gt;&lt;P&gt;7 Bidadari 8.03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 566px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="273"&gt;Name&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="87"&gt;Rating_A&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="97"&gt;Rating_B&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="109"&gt;Rating_C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;3D Homestay&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;7.5&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;7.4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;3HOWW Hostel (Khao San)&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8.2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8.0&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;7 Bidadari Seminyak&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;7.6&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8.2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 04:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-average-rating/m-p/949741#M467723</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2015-10-23T04:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent , average rating</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-average-rating/m-p/949742#M467724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try rangeavg(only({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Rating_A={'&amp;lt;&amp;gt;0'}&lt;/SPAN&gt;&amp;gt;}Rating_A), &lt;SPAN style="font-size: 13.3333px;"&gt;only({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Rating_B={'&amp;lt;&amp;gt;0'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;gt;}&lt;/SPAN&gt;Rating_B), &lt;SPAN style="font-size: 13.3333px;"&gt;only({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Rating_C={'&amp;lt;&amp;gt;0'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;gt;}&lt;/SPAN&gt;Rating_C)) as expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 04:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-average-rating/m-p/949742#M467724</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-23T04:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent , average rating</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-average-rating/m-p/949743#M467725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Genius... By the way am i able to work this in script level?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 05:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-average-rating/m-p/949743#M467725</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2015-10-23T05:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent , average rating</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-average-rating/m-p/949744#M467726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not this way. Set analysis doesn't work in the script. Unless you have serious performance problems I suggest using chart expressions instead of trying to do it in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 06:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-average-rating/m-p/949744#M467726</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-23T06:00:53Z</dc:date>
    </item>
  </channel>
</rss>

