<?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: Calculating consecutive losses using above() function in a Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-consecutive-losses-using-above-function-in-a-Chart/m-p/1422933#M429012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;You can use an Expression like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Profit&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;gt; 0,0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Above&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Column&lt;/SPAN&gt;&lt;SPAN&gt;(1))+1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176708_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2017 05:00:49 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-09-15T05:00:49Z</dc:date>
    <item>
      <title>Calculating consecutive losses using above() function in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-consecutive-losses-using-above-function-in-a-Chart/m-p/1422932#M429011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;I am trying to use the above function, but I do not get any values using this&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;above(sum(Profit),1,3) for the Column: Consecutive. I dont understand why?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="DanielP_2017Sep15_4.28.33 AM_0003.png" class="jive-image image-1" src="/legacyfs/online/176699_DanielP_2017Sep15_4.28.33 AM_0003.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;It only works when I use &lt;SPAN style="font-size: 13.3333px;"&gt;above(sum(Profit),0,3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="DanielP_2017Sep15_4.29.57 AM_0004.png" class="jive-image image-2" src="/legacyfs/online/176701_DanielP_2017Sep15_4.29.57 AM_0004.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I do not understand why the above() function behaves like this?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;What I would like to achieve is calculating how many consecutive losses I get, so this is what I would like to see:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="DanielP_2017Sep15_4.28.33 AM_0003_desired.png" class="jive-image image-3" src="/legacyfs/online/176702_DanielP_2017Sep15_4.28.33 AM_0003_desired.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 02:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-consecutive-losses-using-above-function-in-a-Chart/m-p/1422932#M429011</guid>
      <dc:creator>wardzynski</dc:creator>
      <dc:date>2017-09-15T02:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating consecutive losses using above() function in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-consecutive-losses-using-above-function-in-a-Chart/m-p/1422933#M429012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;You can use an Expression like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Profit&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;gt; 0,0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Above&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Column&lt;/SPAN&gt;&lt;SPAN&gt;(1))+1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176708_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 05:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-consecutive-losses-using-above-function-in-a-Chart/m-p/1422933#M429012</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-09-15T05:00:49Z</dc:date>
    </item>
  </channel>
</rss>

