<?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: Average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average/m-p/1357470#M843951</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;I'm a noob on Qlik, but I'll try to help, in return of all the help I got here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you getting any result out of this formula?&lt;/P&gt;&lt;P&gt;I think you're missing some quotes.&lt;/P&gt;&lt;P&gt;If this is the case, assuming the rest is right, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HCOE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Human Costs'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=Only(Year))'&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Actaul_Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Years]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=(Only(Years)))'&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EjFTE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I'm completely wrong. I hope not. But if I am, someone with more knowledge will aid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2017 18:49:49 GMT</pubDate>
    <dc:creator>mendoncart</dc:creator>
    <dc:date>2017-04-06T18:49:49Z</dc:date>
    <item>
      <title>Average</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/1357467#M843948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get the following statement to take an &lt;SPAN style="text-decoration: underline;"&gt;average&lt;/SPAN&gt; of the &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EjFTE&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HCOE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Human Costs'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Only(Year))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Actaul_Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Years]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=(Only(Years)))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EjFTE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/1357467#M843948</guid>
      <dc:creator>fanninam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/1357468#M843949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide screenshot of what you are getting with the above expression and what are you expecting in the end result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 18:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/1357468#M843949</guid>
      <dc:creator />
      <dc:date>2017-04-06T18:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Average</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/1357469#M843950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace Only with Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 18:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/1357469#M843950</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-04-06T18:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Average</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/1357470#M843951</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;I'm a noob on Qlik, but I'll try to help, in return of all the help I got here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you getting any result out of this formula?&lt;/P&gt;&lt;P&gt;I think you're missing some quotes.&lt;/P&gt;&lt;P&gt;If this is the case, assuming the rest is right, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HCOE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Human Costs'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=Only(Year))'&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Actaul_Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Years]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=(Only(Years)))'&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EjFTE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I'm completely wrong. I hope not. But if I am, someone with more knowledge will aid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 18:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/1357470#M843951</guid>
      <dc:creator>mendoncart</dc:creator>
      <dc:date>2017-04-06T18:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Average</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/1357471#M843952</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;To get the average you should divide it by count. You have Sum/Sum. That doesn't look right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What is &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;EjFTE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;? is it a text field?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when you use Only , make sure you have only one value selected in Year field.&amp;nbsp; only returns only one value, if it finds multiple possible values in year then it will return null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 18:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/1357471#M843952</guid>
      <dc:creator />
      <dc:date>2017-04-06T18:57:35Z</dc:date>
    </item>
  </channel>
</rss>

