<?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: positive growth commission amount finding problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539616#M201631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuse me.Maybe I really miss something.&lt;/P&gt;&lt;P&gt;I just need two records. &lt;/P&gt;&lt;P&gt;Because my dimensiton will be agency_code. agency_history_year &amp;amp; target_commission_amount is in expression.&lt;/P&gt;&lt;P&gt;Thank you~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2013 10:47:53 GMT</pubDate>
    <dc:creator>gzboy008</dc:creator>
    <dc:date>2013-07-31T10:47:53Z</dc:date>
    <item>
      <title>positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539611#M201626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I've been acting as a Qlikview developer for more than four months. Unfortunately, I'm now in a deep puzzle for retrieving positive growth problem these days. Does somebody have any idea? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;testing data:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44717" class="jive-image-thumbnail jive-image" height="317" onclick="" alt="untitled.bmp" src="https://community.qlik.com/legacyfs/online/44717_untitled.bmp" width="882" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expect result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44719" class="jive-image-thumbnail jive-image" height="65" onclick="" alt="untitled.bmp" src="https://community.qlik.com/legacyfs/online/44719_untitled.bmp" width="591" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the logic.&lt;/P&gt;&lt;P&gt;sum up commission_amount by agency_code &amp;amp; gency_history_year. Using this amount deduct previous year's amount to find out positive amount. Retrieve the most recently year and the deduct amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, agency_code 001. 2013's commission amount - 2012's commission amount = 30 - 90 = 60 &amp;lt; 0. Because it's negative amount, so I need to use 2012's amount - 2010's amount = 90 - 60 = 30 &amp;gt;0. So 2012(year) and deducted amount(30) is what I want.&lt;/P&gt;&lt;P&gt;Agency_code 002 is the same story as Agency_code 001.&lt;/P&gt;&lt;P&gt;I prefer something like set analysis solution.&lt;/P&gt;&lt;P&gt;Thanks so much~ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 12:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539611#M201626</guid>
      <dc:creator>gzboy008</dc:creator>
      <dc:date>2013-07-30T12:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539612#M201627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuse me... Does anyone have an idea?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 03:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539612#M201627</guid>
      <dc:creator>gzboy008</dc:creator>
      <dc:date>2013-07-31T03:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539613#M201628</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;See the attched application and let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 04:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539613#M201628</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2013-07-31T04:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539614#M201629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kush, thanks for your reply. &lt;/P&gt;&lt;P&gt;I have posted my expected result. You solution seems a little appart from my expected result.But thanks for your effort anyway &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG __jive_id="44776" class="jive-image-thumbnail jive-image" height="77" onclick="" alt="untitled.bmp" src="https://community.qlik.com/legacyfs/online/44776_untitled.bmp" width="569" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 06:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539614#M201629</guid>
      <dc:creator>gzboy008</dc:creator>
      <dc:date>2013-07-31T06:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539615#M201630</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;If you carefully see the output of my application I am getting the same result as you have highlighted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case it's just a change of way of represtation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 06:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539615#M201630</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2013-07-31T06:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539616#M201631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuse me.Maybe I really miss something.&lt;/P&gt;&lt;P&gt;I just need two records. &lt;/P&gt;&lt;P&gt;Because my dimensiton will be agency_code. agency_history_year &amp;amp; target_commission_amount is in expression.&lt;/P&gt;&lt;P&gt;Thank you~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 10:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539616#M201631</guid>
      <dc:creator>gzboy008</dc:creator>
      <dc:date>2013-07-31T10:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539617#M201632</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 am not getting actually, as for agency_code 001 there is 3 years 2010,2012,2013 and for agency_code 002 as well 3 years. So how will you get only 2 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attched one .. is it what you are looking for&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 11:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539617#M201632</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2013-07-31T11:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539618#M201633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kush, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My result is &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44790" class="jive-image-thumbnail jive-image" height="71" onclick="" alt="untitled.bmp" src="https://community.qlik.com/legacyfs/online/44790_untitled.bmp" width="537" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your result is &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44791" class="jive-image-thumbnail jive-image" height="183" onclick="" alt="untitled2.bmp" src="https://community.qlik.com/legacyfs/online/44791_untitled2.bmp" width="618" /&gt;&lt;/P&gt;&lt;P&gt;They are different. And once more, I need to use only agency_code as dimension. Not Agency_code + Agency_history_year.&lt;/P&gt;&lt;P&gt;Thanks~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 11:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539618#M201633</guid>
      <dc:creator>gzboy008</dc:creator>
      <dc:date>2013-07-31T11:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539619#M201634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you tell me why you are not getting the record for year 2013 for agency code 001?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 12:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539619#M201634</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2013-07-31T12:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539620#M201635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally I got your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 12:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539620#M201635</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2013-07-31T12:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: positive growth commission amount finding problem</title>
      <link>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539621#M201636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kush, seems the result's fine. I'll study your program and try to apply in my job. Thanks for your time, really!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 01:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/positive-growth-commission-amount-finding-problem/m-p/539621#M201636</guid>
      <dc:creator>gzboy008</dc:creator>
      <dc:date>2013-08-01T01:08:26Z</dc:date>
    </item>
  </channel>
</rss>

