<?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 Weight data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302311#M111826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;How can I &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;weight data? &lt;/SPAN&gt; If &lt;/SPAN&gt;anybody knows, please send me an example or explanation.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2011 19:55:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-11-07T19:55:03Z</dc:date>
    <item>
      <title>Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302311#M111826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;How can I &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;weight data? &lt;/SPAN&gt; If &lt;/SPAN&gt;anybody knows, please send me an example or explanation.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 19:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302311#M111826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-07T19:55:03Z</dc:date>
    </item>
    <item>
      <title>Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302312#M111827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose you have a weigth in your file, so create an expression :&lt;/P&gt;&lt;P&gt;Sum(&amp;nbsp; Value * Weight) / Sum(&amp;nbsp; Weight)&amp;nbsp;&amp;nbsp; to calculate a weighted-mean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure it's what you want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 20:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302312#M111827</guid>
      <dc:creator />
      <dc:date>2011-11-07T20:10:15Z</dc:date>
    </item>
    <item>
      <title>Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302313#M111828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;My&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;database has&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a lot of customers&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;who&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;have a different number&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of respondents&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;by month.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;In different programs&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a command&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN class="hps"&gt;weight&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;. Help me create this expession.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 20:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302313#M111828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-07T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302314#M111829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vovan4ik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand. &lt;/P&gt;&lt;P&gt;Please could&amp;nbsp; you precise the structure of your data and the chart you want to display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 20:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302314#M111829</guid>
      <dc:creator />
      <dc:date>2011-11-07T20:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302315#M111830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I apply a weight to the data that I include in my analisys?&lt;/P&gt;&lt;P&gt;I want to compare the value for a selected Nameplate (Val1, or Val2, ...) to combined weighted value for other Nameplates. &lt;/P&gt;&lt;P&gt;I have variable Weight.&lt;/P&gt;&lt;P&gt;Please find my attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 21:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302315#M111830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-07T21:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302316#M111831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this for the combined weighted value for other nameplates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({&amp;lt;NAMEPLATE=E()&amp;gt;} iPSI10*WEIGHT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;/sum({&amp;lt;NAMEPLATE=E()&amp;gt;} WEIGHT)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 21:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302316#M111831</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-07T21:53:55Z</dc:date>
    </item>
    <item>
      <title>Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302317#M111832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me to add your expession to mine&lt;/P&gt;&lt;P&gt;avg(ALL&amp;lt;Period&amp;gt; IF (COUNTRY='CANADA', iPSI10)) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 02:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302317#M111832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-08T02:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302318#M111833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the keyword ALL has been depricated, and the preferred form is now {1} TOTAL.&amp;nbsp; That gives us more of a hint how these might be combined.&amp;nbsp; I'm not sure if this is exactly what you're looking for, but I'd think something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({1&amp;lt;NAMEPLATE=E(),COUNTRY*={'CANADA'}&amp;gt;} total &amp;lt;Period&amp;gt; iPSI10*WEIGHT)/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({1&amp;lt;NAMEPLATE=E(),COUNTRY*={'CANADA'}&amp;gt;} total &amp;lt;Period&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WEIGHT)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 17:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302318#M111833</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-08T17:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302319#M111834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I tried to use your expression in my qv,&amp;nbsp; all my expression was red. I updated my qvfile. I’m a new in Qlikview.&lt;/P&gt;&lt;P&gt;Could you explain what does it mean command E() or try toadd it in my file.&lt;/P&gt;&lt;P&gt; I appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 21:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302319#M111834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-08T21:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302320#M111835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to cut and paste it in as a third expression, and it worked with no modification.&amp;nbsp; See attached.&amp;nbsp; I can't say whether or not the results are correct, but it returns data.&amp;nbsp; What version of QlikView are you using?&amp;nbsp; The expression won't work in versions 8 or lower.&amp;nbsp; That's all I'm thinking of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E() means "excluded".&amp;nbsp; If you select a specific nameplate, that gives you all other nameplates.&amp;nbsp; That was my interpretation of "combined weighted value for other Nameplates".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 01:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302320#M111835</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-09T01:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302321#M111836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I'm using version 11.&amp;nbsp; The expression returns data. QV underlines all expression, is it correct? The result is not correct, but close to. Why did you use sum instead avg? What's it COUNTRY* and 1&amp;lt;NAMEPLATE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 22:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302321#M111836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-09T22:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302322#M111837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using version 10 SR3.&amp;nbsp; It doesn't underline the expression on my computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using sum because you asked for a weighted average, and that's how you calculate a weighted average.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Value&amp;nbsp; Weight&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;unweighted average = avg(Value) = 12.5&lt;BR /&gt;weighted average = sum(Value*Weight)/sum(Weight) = 10&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;COUNTRY*={'CANADA'} is the set analysis equivalent of if(COUNTRY='CANADA',...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 is set analysis for "all data"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt; is the opening bracket for a set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're getting confused by syntax.&amp;nbsp; Go look up the syntax for set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 00:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302322#M111837</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-10T00:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302323#M111838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 02:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302323#M111838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-10T02:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Weight data</title>
      <link>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302324#M111839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;You were very helpful last time. How can I do weighted calculation in %?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I usually do:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[qID_3_Task completion]={'Yes'}&amp;gt;}[qID_3_Task completion])/&lt;/P&gt;&lt;P&gt;Count(TOTAL&amp;lt;MYear&amp;gt;[qID_3_Task completion])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have variable WEIGHT, but I don't have any thoughts how to use it.&lt;/P&gt;&lt;P&gt;Please advise your idea.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 19:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weight-data/m-p/302324#M111839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-09T19:03:49Z</dc:date>
    </item>
  </channel>
</rss>

