<?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: Working out Averages in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741330#M473557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks very much, that works great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2014 11:09:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-31T11:09:36Z</dc:date>
    <item>
      <title>Working out Averages</title>
      <link>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741326#M473553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Im trying to get a table to show a players successful outcomes.I have this line of code which works&amp;nbsp; and gives me a percentage of positive outcomes from a specific match but I also want a line to show the players average in general and also the average success rate of all players in a specific match.&lt;/P&gt;&lt;P&gt;The code to show successful outcomes is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({&lt;SPAN style="color: #0000ff;"&gt;SAR_1&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Kick Outcome]&lt;/SPAN&gt;={1}&amp;gt;}&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MatchID_ScenarioMap&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({&lt;SPAN style="color: #0000ff;"&gt;SAR_1&lt;/SPAN&gt;}&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MatchID_ScenarioMap&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The matches are stored as 'MatchID' and the players by 'Kicker', I was thinking that I would need to put in a modifier to exclude either the kicker from the code or the match for each average but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any Help is greatly appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 10:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741326#M473553</guid>
      <dc:creator />
      <dc:date>2014-10-31T10:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Working out Averages</title>
      <link>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741327#M473554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the TOTAL qualifier in your first count statement to ignore a given dimension, in this case Kicker and MatchID separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll want to use TOTAL &amp;lt;Kicker&amp;gt; when wanting the Kickers average, as this tells Qlikview to calculate the TOTAL but to still calculate over the Kicker dimension, and vice versa for the MatchID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 10:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741327#M473554</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2014-10-31T10:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Working out Averages</title>
      <link>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741328#M473555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that could although im a little unsure where to place the &amp;lt;Kicker&amp;gt;, could you perhaps right out the code as an example for me!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 10:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741328#M473555</guid>
      <dc:creator />
      <dc:date>2014-10-31T10:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Working out Averages</title>
      <link>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741329#M473556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With Kicker and MatchID as your dimensions, for the Kickers average try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({SAR_1&amp;lt;[Kick Outcome]={1}&amp;gt;}TOTAL &amp;lt;Kicker&amp;gt; DISTINCT MatchID_ScenarioMap)/Count({SAR_1} TOTAL &amp;lt;Kicker&amp;gt; DISTINCT MatchID_ScenarioMap)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 11:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741329#M473556</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2014-10-31T11:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Working out Averages</title>
      <link>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741330#M473557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks very much, that works great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 11:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-out-Averages/m-p/741330#M473557</guid>
      <dc:creator />
      <dc:date>2014-10-31T11:09:36Z</dc:date>
    </item>
  </channel>
</rss>

