<?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: More Weighted Averages in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/More-Weighted-Averages/m-p/1420254#M820999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Column1 expression*0.2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Column2 expression*0.6),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Column3 expression*0.2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Aug 2017 14:55:37 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-17T14:55:37Z</dc:date>
    <item>
      <title>More Weighted Averages</title>
      <link>https://community.qlik.com/t5/QlikView/More-Weighted-Averages/m-p/1420253#M820998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I managed to get halfway there with some weighted averages I have been working on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three columns of scores, of which the first and last are worth 20% each of the weighted overall score, and the second column is worth the remaining 60%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression works a dream for the most part. It's as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;((Column1 expression*0.2) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;+ (Column2 expression&lt;SPAN style="font-size: 10pt;"&gt;*0.6) &lt;/SPAN&gt;+ (Column3 expression*0.2))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it falls over should any of the columns have a blank field. I've racked my brains how to resolve this without effecting the integrity of the weightings, but to no avail. For instance, if I amend the expression to count Column 3 as worth double if Column 1 is blank, then the expression is going to return a result that would suggest column 3 is almost as important as column 2, which is a fallacy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any of you lovely people advise what I should do to resolve this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks as always,&lt;/P&gt;&lt;P&gt;Gareth&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/More-Weighted-Averages/m-p/1420253#M820998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: More Weighted Averages</title>
      <link>https://community.qlik.com/t5/QlikView/More-Weighted-Averages/m-p/1420254#M820999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Column1 expression*0.2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Column2 expression*0.6),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Column3 expression*0.2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 14:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/More-Weighted-Averages/m-p/1420254#M820999</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-17T14:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: More Weighted Averages</title>
      <link>https://community.qlik.com/t5/QlikView/More-Weighted-Averages/m-p/1420255#M821000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks - however this is pretty much what I had unfortunately. It treats the blanks as zero's, which is incorrect because that's then saying a supplier who doesn't have a score against them in column 1 (for whatever reason) is the same as having scored 0% in column 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I somehow need to differentiate between this - I figure the weightings might need to change on the occasion of a missing score but really not sure how to go about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 14:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/More-Weighted-Averages/m-p/1420255#M821000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T14:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: More Weighted Averages</title>
      <link>https://community.qlik.com/t5/QlikView/More-Weighted-Averages/m-p/1420256#M821001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For missing you can do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim(Column1 expression)) = 0, When Null Action, When Not Null Action)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 14:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/More-Weighted-Averages/m-p/1420256#M821001</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-21T14:58:43Z</dc:date>
    </item>
  </channel>
</rss>

