<?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: Standard deviation in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Standard-deviation-in-script/m-p/360433#M133853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load stdev(sum(fieldname)) as fieldname1&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;from x.qvd group by fieldname;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the example below.&lt;/P&gt;&lt;P&gt;it showing me 100 as stddev.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab1:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;fieldname1,fieldname2&lt;/P&gt;&lt;P&gt;A,100&lt;/P&gt;&lt;P&gt;B,200&lt;/P&gt;&lt;P&gt;c,300&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load stdev(fieldname2) as fieldname1,&lt;/P&gt;&lt;P&gt;1 as junk&lt;/P&gt;&lt;P&gt;resident tab1;&lt;/P&gt;&lt;P&gt;drop table tab1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2012 07:28:47 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2012-05-21T07:28:47Z</dc:date>
    <item>
      <title>Standard deviation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Standard-deviation-in-script/m-p/360432#M133852</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 want to calculate standard deviation in script&lt;/P&gt;&lt;P&gt;currently am trying the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load stdev(fieldname) as fieldname1&lt;/P&gt;&lt;P&gt;from x.qvd group by fieldname;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But am not getting any values in fieldname1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone temme how to do standard deviation in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its clear... need your suggestions&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;Sivaraj S &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 07:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Standard-deviation-in-script/m-p/360432#M133852</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-05-21T07:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Standard-deviation-in-script/m-p/360433#M133853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load stdev(sum(fieldname)) as fieldname1&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;from x.qvd group by fieldname;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the example below.&lt;/P&gt;&lt;P&gt;it showing me 100 as stddev.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab1:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;fieldname1,fieldname2&lt;/P&gt;&lt;P&gt;A,100&lt;/P&gt;&lt;P&gt;B,200&lt;/P&gt;&lt;P&gt;c,300&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load stdev(fieldname2) as fieldname1,&lt;/P&gt;&lt;P&gt;1 as junk&lt;/P&gt;&lt;P&gt;resident tab1;&lt;/P&gt;&lt;P&gt;drop table tab1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 07:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Standard-deviation-in-script/m-p/360433#M133853</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-05-21T07:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Standard-deviation-in-script/m-p/360434#M133854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using sum with stdev showing error as nested aggr not allowed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 07:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Standard-deviation-in-script/m-p/360434#M133854</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-05-21T07:44:37Z</dc:date>
    </item>
    <item>
      <title>Standard deviation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Standard-deviation-in-script/m-p/360435#M133855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;you can do that with following code (just skip group by clause from statement in your first post)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STANDARD_DEVIATION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load stdev(fieldname) as fieldname1 from x.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 07:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Standard-deviation-in-script/m-p/360435#M133855</guid>
      <dc:creator />
      <dc:date>2012-05-21T07:45:38Z</dc:date>
    </item>
  </channel>
</rss>

