<?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: Set analysis - Get the average over all Teammember in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-Get-the-average-over-all-Teammember/m-p/1592784#M598218</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you have a qv example to upload here?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2019 19:44:22 GMT</pubDate>
    <dc:creator>saar_lorena</dc:creator>
    <dc:date>2019-06-17T19:44:22Z</dc:date>
    <item>
      <title>Set analysis - Get the average over all Teammember</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Get-the-average-over-all-Teammember/m-p/1580971#M598217</link>
      <description>&lt;P&gt;HI! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need a help with ma set analysis:&lt;/P&gt;&lt;P&gt;What i want is, that i want from all Teammembers the average of there sale.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table where i have the teammember, calenderWeek, Win, Loose.&lt;/P&gt;&lt;P&gt;I want the average from win / (win+loose).&lt;/P&gt;&lt;P&gt;The average over all teammeber i calcualte with the following statement:&lt;/P&gt;&lt;P&gt;sum({1}aggr(&lt;BR /&gt;(((count({$&amp;lt;[KW]={"&amp;lt;=$(=Getfieldselections(CW)) &amp;gt;=$(vCWTD)"}&amp;gt;} Win))&lt;BR /&gt;/&lt;BR /&gt;(&lt;BR /&gt;(count({$&amp;lt;[KW]={"&amp;lt;=$(=Getfieldselections(CW)) &amp;gt;=$(vCWTD)"}&amp;gt;} Loose))&lt;BR /&gt;+((count({$&amp;lt;[KW]={"&amp;lt;=$(=Getfieldselections(CW)) &amp;gt;=$(vCWTD)"}&amp;gt;} Win)))&lt;BR /&gt;))),&lt;BR /&gt;(CW)))/13&lt;/P&gt;&lt;P&gt;The Variable vCWTD calculates for me 12 weeks back depend on the selected CalenderWeek - for example if 201920 is selected vCWTD would be 201908.&lt;/P&gt;&lt;P&gt;In a diagram i have the&amp;nbsp;average of there sale calcuted with the following expression:&lt;/P&gt;&lt;P&gt;=&lt;BR /&gt;(count({$&amp;lt;[KW]={"&amp;lt;=$(=Getfieldselections(CW)) &amp;gt;=$(vCWTD)"}&amp;gt;} Win))&lt;BR /&gt;/&lt;BR /&gt;(&lt;BR /&gt;(count({$&amp;lt;[KW]={"&amp;lt;=$(=Getfieldselections(CW)) &amp;gt;=$(vCWTD)"}&amp;gt;} Loose))&lt;BR /&gt;+((count({$&amp;lt;[KW]={"&amp;lt;=$(=Getfieldselections(CW)) &amp;gt;=$(vCWTD)"}&amp;gt;} Win)))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;The dimension is this chart is the CalenderWeek (CW).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now what i want is, i want to know the average per teammemeber - but i dont know how i can get it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 10:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Get-the-average-over-all-Teammember/m-p/1580971#M598217</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2019-05-16T10:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - Get the average over all Teammember</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Get-the-average-over-all-Teammember/m-p/1592784#M598218</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you have a qv example to upload here?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 19:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Get-the-average-over-all-Teammember/m-p/1592784#M598218</guid>
      <dc:creator>saar_lorena</dc:creator>
      <dc:date>2019-06-17T19:44:22Z</dc:date>
    </item>
  </channel>
</rss>

