<?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 How to Calculate SMA using QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145776#M24421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already checked this but its not working... Any other help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2009 22:12:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-03T22:12:09Z</dc:date>
    <item>
      <title>How to Calculate SMA using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145774#M24419</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;I want to calculate Simple Moving Average for Stock for last 90 Days. I cannout use the Average function bcz for Weeends I dont have data and also on Bank Holidays I dont hvae data. For Ex. On EveryMonday I will have previous value as of Friday rather than Saturaday/Sunday, or you can compare it with the Stock Exchange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Average I am getting Incorrect Values bcz as on Monday this week I want to pick data for all working 90 days, and if I change my date selections from Monday to Last week Friday, so Moving Average should be calculated from Friday -90 Working Days from there.&lt;/P&gt;&lt;P&gt;I have tried using the Running Totals, but its not working, Below is what I am doing:&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;Load DISTINCT Dates RESIDENT A; // To get the Distince dates bcz I might have multiple transaction on a given dates.&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;Load RowNo(), Dates RESIDENT A; ORDER BY Dates DESC;// This will give me the no's on dates in Descending order.&lt;/P&gt;&lt;P&gt;Now while displaiyng data how I want to calculate Moving Average. Let me know how to write it in a Script or in a CHART Expression so that I can have correct out put.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 19:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145774#M24419</guid>
      <dc:creator />
      <dc:date>2009-06-03T19:15:21Z</dc:date>
    </item>
    <item>
      <title>How to Calculate SMA using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145775#M24420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In chart you can try using Full Accumulation.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 20:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145775#M24420</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2009-06-03T20:45:45Z</dc:date>
    </item>
    <item>
      <title>How to Calculate SMA using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145776#M24421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already checked this but its not working... Any other help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 22:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145776#M24421</guid>
      <dc:creator />
      <dc:date>2009-06-03T22:12:09Z</dc:date>
    </item>
    <item>
      <title>How to Calculate SMA using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145777#M24422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have some data ?That could help us to help you.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 19:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145777#M24422</guid>
      <dc:creator />
      <dc:date>2009-06-05T19:29:00Z</dc:date>
    </item>
    <item>
      <title>How to Calculate SMA using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145778#M24423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming your Date field only has values for when the stock exchange is open, and your X-axis is the Date, I would assume you could Accumulate 90 Steps Back and use avg(Price)/90.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 03:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-SMA-using-QlikView/m-p/145778#M24423</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-06T03:02:46Z</dc:date>
    </item>
  </channel>
</rss>

