<?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 expression for YTD Average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-for-YTD-Average/m-p/634274#M476896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me what is wrong with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;ActivityKey&lt;/SPAN&gt; ={10},&lt;SPAN style="color: #800000;"&gt;serviceprovider&lt;/SPAN&gt;={H}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;ActivityKey&lt;/SPAN&gt; ={10},&lt;SPAN style="color: #800000;"&gt;serviceprovider&lt;/SPAN&gt;={H}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table with expressions for each month which shows an average per month.&amp;nbsp; Then this above is to show the total of these months or the overall figure which is an average divided by the number of months to get a YTD average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rhona&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 May 2014 08:59:26 GMT</pubDate>
    <dc:creator>rcorcoran</dc:creator>
    <dc:date>2014-05-15T08:59:26Z</dc:date>
    <item>
      <title>expression for YTD Average</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-YTD-Average/m-p/634274#M476896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me what is wrong with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;ActivityKey&lt;/SPAN&gt; ={10},&lt;SPAN style="color: #800000;"&gt;serviceprovider&lt;/SPAN&gt;={H}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;ActivityKey&lt;/SPAN&gt; ={10},&lt;SPAN style="color: #800000;"&gt;serviceprovider&lt;/SPAN&gt;={H}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table with expressions for each month which shows an average per month.&amp;nbsp; Then this above is to show the total of these months or the overall figure which is an average divided by the number of months to get a YTD average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rhona&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 08:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-YTD-Average/m-p/634274#M476896</guid>
      <dc:creator>rcorcoran</dc:creator>
      <dc:date>2014-05-15T08:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: expression for YTD Average</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-YTD-Average/m-p/634275#M476897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; without the document.. Maybe it is due to a missing distinct in the count?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 09:01:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-YTD-Average/m-p/634275#M476897</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2014-05-15T09:01:32Z</dc:date>
    </item>
  </channel>
</rss>

