<?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 Detect negative variations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Detect-negative-variations/m-p/996212#M527784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question has probably more to do with basic stats than Qlikview per se...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say my data is the daily sales of my sales rep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Date, Sales Rep Id, Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to detect the sales rep with the biggest increase (or decrease) over a period of time (over the last week, last month, last quarter, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first approach is using stdev()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dimension : Sales Rep Id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression : stdev({$&amp;lt;Date={"&amp;gt;=/some reference date/"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;sorting by this Expression gives me seemingly those with the biggest variation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;-stdev() is always positive, is there another function that would give the "sign"? (to distinguish overall big increases and decreases over the period?)&lt;/P&gt;&lt;P&gt;-stdev() can be huge if there is one single date with a huge increase or decrease, but I'd rather identify a increasing (or decreasing) trend (and kind of ignore spikes)... anything better than stdev() for that?&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>Mon, 05 Oct 2015 11:49:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-05T11:49:21Z</dc:date>
    <item>
      <title>Detect negative variations</title>
      <link>https://community.qlik.com/t5/QlikView/Detect-negative-variations/m-p/996212#M527784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question has probably more to do with basic stats than Qlikview per se...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say my data is the daily sales of my sales rep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Date, Sales Rep Id, Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to detect the sales rep with the biggest increase (or decrease) over a period of time (over the last week, last month, last quarter, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first approach is using stdev()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dimension : Sales Rep Id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression : stdev({$&amp;lt;Date={"&amp;gt;=/some reference date/"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;sorting by this Expression gives me seemingly those with the biggest variation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;-stdev() is always positive, is there another function that would give the "sign"? (to distinguish overall big increases and decreases over the period?)&lt;/P&gt;&lt;P&gt;-stdev() can be huge if there is one single date with a huge increase or decrease, but I'd rather identify a increasing (or decreasing) trend (and kind of ignore spikes)... anything better than stdev() for that?&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>Mon, 05 Oct 2015 11:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detect-negative-variations/m-p/996212#M527784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-05T11:49:21Z</dc:date>
    </item>
  </channel>
</rss>

