<?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 AVG,STDEV from expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AVG-STDEV-from-expression/m-p/846606#M1010230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck in calculating Avg and Stedev from a table of values in which the values are generated from an expression. PSB for clarity &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86381_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here I am calculating Target from the below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(count({$&amp;lt;TABLE_NAME = {'TARGET'}, VARIANCE = {'&amp;gt;0'}&amp;gt;} CONTACT_WID)/count({$&amp;lt;TABLE_NAME = {'TARGET'}&amp;gt;} CONTACT_WID) * 100,'##.##')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*I know that we can cliculate avg and Stdev in a Stright table through TOTAL option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to caliculate AVG and STDEV for the above table of values and I have to store them in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your help will be highly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2015 05:06:56 GMT</pubDate>
    <dc:creator>hariprasadqv</dc:creator>
    <dc:date>2015-05-13T05:06:56Z</dc:date>
    <item>
      <title>AVG,STDEV from expression</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-STDEV-from-expression/m-p/846606#M1010230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck in calculating Avg and Stedev from a table of values in which the values are generated from an expression. PSB for clarity &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86381_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here I am calculating Target from the below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(count({$&amp;lt;TABLE_NAME = {'TARGET'}, VARIANCE = {'&amp;gt;0'}&amp;gt;} CONTACT_WID)/count({$&amp;lt;TABLE_NAME = {'TARGET'}&amp;gt;} CONTACT_WID) * 100,'##.##')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*I know that we can cliculate avg and Stdev in a Stright table through TOTAL option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to caliculate AVG and STDEV for the above table of values and I have to store them in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your help will be highly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 05:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-STDEV-from-expression/m-p/846606#M1010230</guid>
      <dc:creator>hariprasadqv</dc:creator>
      <dc:date>2015-05-13T05:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: AVG,STDEV from expression</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-STDEV-from-expression/m-p/846607#M1010231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the solution.&lt;/P&gt;&lt;P&gt;Thanks to viewers&lt;/P&gt;&lt;P&gt;=AVG(aggr(count({$&amp;lt;TABLE_NAME = {'TARGET'}, VARIANCE = {'&amp;gt;0'}&amp;gt;} CONTACT_WID)/count({$&amp;lt;TABLE_NAME = {'TARGET'}&amp;gt;} CONTACT_WID) * 100,COUNTRY))&lt;/P&gt;&lt;P&gt;=STDEV(aggr(count({$&amp;lt;TABLE_NAME = {'TARGET'}, VARIANCE = {'&amp;gt;0'}&amp;gt;} CONTACT_WID)/count({$&amp;lt;TABLE_NAME = {'TARGET'}&amp;gt;} CONTACT_WID) * 100,COUNTRY))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 05:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-STDEV-from-expression/m-p/846607#M1010231</guid>
      <dc:creator>hariprasadqv</dc:creator>
      <dc:date>2015-05-13T05:27:49Z</dc:date>
    </item>
  </channel>
</rss>

