<?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: Averaging problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1647743#M732336</link>
    <description>&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;I've seen the "Island table".&lt;/P&gt;&lt;P&gt;A great solution!&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;Nick.&lt;/P&gt;</description>
    <pubDate>Sun, 17 Nov 2019 16:21:44 GMT</pubDate>
    <dc:creator>NickP_DF</dc:creator>
    <dc:date>2019-11-17T16:21:44Z</dc:date>
    <item>
      <title>Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1637467#M732326</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I need help in calculating averages; pls have a look at my example: in the upper table I show all the participants to a championship and in the lower one I’d like to show the averages of them.&lt;/P&gt;&lt;P&gt;The&amp;nbsp; averages for every season must be calculated in this way:&amp;nbsp;Season number of participants of each age / Number of races of the season&lt;/P&gt;&lt;P&gt;The&amp;nbsp; total averages must be calculated in this way:&amp;nbsp;Total number of participants of each age / Total number of races of the seasons&lt;/P&gt;&lt;P&gt;I currently use this formula: Sum(PartecipantiRP)/Count(IdGaraRP)&lt;/P&gt;&lt;P&gt;But It’s wrong because Qlik considers only the races where has been at least one participant and not all the potential race for every season.&lt;/P&gt;&lt;P&gt;Should anybody help me with the right formula, pls?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1637467#M732326</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1637527#M732327</link>
      <description>&lt;P&gt;try this expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=If(TipoAnalisi='M', Sum(PartecipantiRP)/Count(DISTINCT IdGaraRP), Sum(PartecipantiRP))&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 20 Oct 2019 11:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1637527#M732327</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2019-10-20T11:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1637539#M732328</link>
      <description>&lt;P&gt;Hello, Frank&lt;/P&gt;&lt;P&gt;thanks for the help: unfortunately, it gives the same result as the previous version.&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2019 15:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1637539#M732328</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2019-10-20T15:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1637556#M732329</link>
      <description>&lt;P&gt;please share expected output&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2019 18:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1637556#M732329</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2019-10-20T18:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1640773#M732330</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29675"&gt;@Frank_Hartmann&lt;/a&gt;&amp;nbsp;I just wanted to alert you that&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/86055"&gt;@NickP_DF&lt;/a&gt;&amp;nbsp; appears to be running version 10 here, so there may be some other issues in play on this one.&amp;nbsp; Nick, if you can help Frank out with a screenshot of what you expect to see in the output that will likely help, I did have a look at the app, but I am not sure what you really want as well, so a further update on things should help you get some further help.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 11:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1640773#M732330</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-29T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1640824#M732331</link>
      <description>Hi Brett,&lt;BR /&gt;&lt;BR /&gt;Thank you for the support. I'm not able to access to a computer non a day.&lt;BR /&gt;&lt;BR /&gt;I'll prompt you asap.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;Nick&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Oct 2019 13:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1640824#M732331</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2019-10-29T13:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1642276#M732332</link>
      <description>&lt;P&gt;...here I am!&lt;/P&gt;&lt;P&gt;In the attached Excel file you can see in yellow the expected avg (given by the sum of participants of each race divided by the number of races &lt;U&gt;of every season&lt;/U&gt;) and the complessive average (given by the same criteria).&lt;/P&gt;&lt;P&gt;As I explained before, the problem is that my formula &lt;SPAN&gt;Sum(PartecipantiRP)/Count(IdGaraRP)&lt;/SPAN&gt; gives the number of every season races&amp;nbsp;NOT equal to the total races of every season, but only by the races where has been at least one participant (excluding the potential races where nothing of the participant has arrived).&lt;/P&gt;&lt;P&gt;Hope It’s much clear now.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14114"&gt;@Brett_Bleess&lt;/a&gt;&amp;nbsp;&amp;nbsp;: Pls note that the mistake is independent from the QV version; the 12 one gives the same result&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2019 17:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1642276#M732332</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2019-11-02T17:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1642333#M732333</link>
      <description>&lt;P&gt;Maybe like attached.&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2019 21:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1642333#M732333</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2019-11-03T21:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1645050#M732334</link>
      <description>&lt;P&gt;Hello Frank,&lt;/P&gt;&lt;P&gt;thank you for the smart solution you've found and excuse me for the delay of the answer.&lt;/P&gt;&lt;P&gt;I've studied your solution and I've tried to replicate it on my main sheet, with several years and several categories, but I've found two problems:&lt;/P&gt;&lt;P&gt;- what is "dim" that you used in your formula? (I'm not able to understand if it is a variable of what else and in my new sheet it is unknown).&lt;/P&gt;&lt;P&gt;- is it possible to find a solution which doesn't need to enumerate the years in the formula (so that it will be ready also for next years without modify it)?&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 14:34:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1645050#M732334</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2019-11-10T14:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1645226#M732335</link>
      <description>&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;look at the added lines of script in the qvw of my prvious post. this is called island table. in essence, it gives you the option to apply different expressions to different rows, taking different dimension values into account.&lt;/P&gt;&lt;P&gt;with this technique you will have to hardcode the years. i dont see another option!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 09:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1645226#M732335</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2019-11-11T09:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging problem</title>
      <link>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1647743#M732336</link>
      <description>&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;I've seen the "Island table".&lt;/P&gt;&lt;P&gt;A great solution!&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;Nick.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Nov 2019 16:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Averaging-problem/m-p/1647743#M732336</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2019-11-17T16:21:44Z</dc:date>
    </item>
  </channel>
</rss>

