<?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: Problem In Expression Defination regarding Avg() function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680854#M1068197</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; if(SALARY &amp;gt; Avg(TOTAL Salary),SALARY,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Sep 2014 07:21:05 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-09-01T07:21:05Z</dc:date>
    <item>
      <title>Problem In Expression Defination regarding Avg() function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680853#M1068196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one problem regarding average function in Expression Defination. when i am defining&amp;nbsp; if(SALARY &amp;gt; 16500,SALARY,0) then it is giving the expected output.but when i am using&amp;nbsp; if(SALARY &amp;gt; Avg(Salary),SALARY,0)&amp;nbsp; then nothing is apearing in the output ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to find the solution of this problem so far.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me why it is not working ???????? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sarfaraz &lt;/P&gt;&lt;P&gt;+91 -7620140822&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 07:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680853#M1068196</guid>
      <dc:creator />
      <dc:date>2014-09-01T07:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem In Expression Defination regarding Avg() function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680854#M1068197</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; if(SALARY &amp;gt; Avg(TOTAL Salary),SALARY,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 07:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680854#M1068197</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-01T07:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem In Expression Defination regarding Avg() function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680855#M1068198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sarfaraz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to store the Avg(SALARY) into a variable.&lt;/P&gt;&lt;P&gt;vAvgSal= Avg(SALARY)&lt;/P&gt;&lt;P&gt;then try the below expression&lt;/P&gt;&lt;P&gt;=&amp;nbsp; if(SALARY &amp;gt; $(vAvgSal) ,SALARY,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 07:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680855#M1068198</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2014-09-01T07:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem In Expression Defination regarding Avg() function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680856#M1068199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Mr.Jagan......Your solution is working as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain me about this Avg(Total SALARY)...What actually hapening in this ....so that it will be good for me from knowledge perspective....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sarfaraz&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 07:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680856#M1068199</guid>
      <dc:creator />
      <dc:date>2014-09-01T07:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem In Expression Defination regarding Avg() function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680857#M1068200</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;TOTAL ignores all the dimensions in the chart, so you will get the overall average, if you do not use TOTAL then you will get the row wise Average.&amp;nbsp; Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;Please close this thread if you go the solution.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 08:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-In-Expression-Defination-regarding-Avg-function/m-p/680857#M1068200</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-01T08:04:39Z</dc:date>
    </item>
  </channel>
</rss>

