<?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 Difference Count between current and previous status in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-Count-between-current-and-previous-status/m-p/367334#M136584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So simple &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2012 21:27:02 GMT</pubDate>
    <dc:creator>rfigueroa</dc:creator>
    <dc:date>2012-03-23T21:27:02Z</dc:date>
    <item>
      <title>Difference Count between current and previous status</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-Count-between-current-and-previous-status/m-p/367332#M136582</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;In the example attached I need a second expression to get the difference between the COUNT of GrupoLink in current status and the COUNT for previous status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example for "DTU" status there is a count of 93, so I need a stacked second bar with the difference with "Terminada" status count which is 116.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a demo I have added a third expression (green) with hardcoded values to show you the goal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script I added a Prev_Estatus field, to point out to the previous status to try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;COUNT( {$ &amp;lt;Estatus = {$(=Prev_Estatus)} &amp;gt; } GrupoLink)&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but didn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;Roberto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 19:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-Count-between-current-and-previous-status/m-p/367332#M136582</guid>
      <dc:creator>rfigueroa</dc:creator>
      <dc:date>2012-03-23T19:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Count between current and previous status</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-Count-between-current-and-previous-status/m-p/367333#M136583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your first expression is =COUNT(DISTINCT GrupoLink)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your second expression should be =Above(COUNT(DISTINCT GrupoLink)) - COUNT(DISTINCT GrupoLink)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jason Michaelides - file attached!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 19:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-Count-between-current-and-previous-status/m-p/367333#M136583</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-03-23T19:59:21Z</dc:date>
    </item>
    <item>
      <title>Difference Count between current and previous status</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-Count-between-current-and-previous-status/m-p/367334#M136584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So simple &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 21:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-Count-between-current-and-previous-status/m-p/367334#M136584</guid>
      <dc:creator>rfigueroa</dc:creator>
      <dc:date>2012-03-23T21:27:02Z</dc:date>
    </item>
  </channel>
</rss>

