<?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: Hierarchy wise Target vs Achievement giving Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067294#M356760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution given by you is working perfectly. But, just one more thing want to check with you can I add any variable in this expression like if i want to exclude a current month so how i should write else i have put manually...as I tried at my end just like we used in set analysis but it is not working...can you please guide.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Num(Sum(If(Level_1 = EMP_Name, Achievement)) / Sum(If(Level_1 = EMP_Name, Target))*100,0.00),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance..&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2016 17:58:04 GMT</pubDate>
    <dc:creator>pra_kale</dc:creator>
    <dc:date>2016-04-12T17:58:04Z</dc:date>
    <item>
      <title>Hierarchy wise Target vs Achievement giving Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067290#M356756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have Two files 1 is in which I have Hierarchy and 2 nd in which have Targets and Achievements.&lt;/P&gt;&lt;P&gt;I have imported both this files in qlik and tried to build a Hierarchy wise Achievement %. But, my Achievement % are wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is, Achievement % should be of that individual person only it should not include the Targets or Achievements of below level or upper level persons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching a sample excel files as well as application. Below given is the out put which I want in drill down as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="428"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border: 0.5pt solid windowtext; background: #ddebf7;" width="92"&gt;Row Labels&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border: 0.5pt solid windowtext; background: #ddebf7;" width="138"&gt;Sum of Achievement&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border: 0.5pt solid windowtext; background: #ddebf7;" width="93"&gt;Sum of Target&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="105"&gt;Achievement %&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;AAA&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2400&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;6000&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;40.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;ABC&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1400&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2100&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;66.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;BBB&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1500&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2600&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;57.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;CDK&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;840&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1200&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;70.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;DEF&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1200&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1500&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;80.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;EFG&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4200&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;6000&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;70.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;LLL&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1000&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1500&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;66.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;RRR&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1500&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2100&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;71.4%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;XXX&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;11000&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;16500&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;66.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;ZZZ&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1150&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1800&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;63.9%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border: 0.5pt solid windowtext; background: #ddebf7;"&gt;Grand Total&lt;/TD&gt;&lt;TD align="right" class="xl63" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border: 0.5pt solid windowtext; background: #ddebf7;"&gt;26190&lt;/TD&gt;&lt;TD align="right" class="xl63" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border: 0.5pt solid windowtext; background: #ddebf7;"&gt;41300&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;63.4%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist to resolve the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 16:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067290#M356756</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-04-06T16:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy wise Target vs Achievement giving Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067291#M356757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(GetCurrentField([New Group]), 'Level_1', 'Level_2', 'Level_3'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Sum(If(Level_1 = EMP_Name, Achievement)) / Sum(If(Level_1 = EMP_Name, Target))*100,0.00),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Sum(If(Level_2 = EMP_Name, Achievement)) / Sum(If(Level_2 = EMP_Name, Target))*100,0.00),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Sum(If(Level_3 = EMP_Name, Achievement)) / Sum(If(Level_3 = EMP_Name, Target))*100,0.00))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 16:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067291#M356757</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-06T16:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy wise Target vs Achievement giving Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067292#M356758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot get to the numbers you posted in the uploaded QVW. For example, for AAA, the achievement is 5000 and the target, leading to a % achievement of 52.08, which is what is reported for AAA. So it all appears to be working as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 16:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067292#M356758</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-04-06T16:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy wise Target vs Achievement giving Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067293#M356759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny...It is working. Great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 07:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067293#M356759</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-04-08T07:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy wise Target vs Achievement giving Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067294#M356760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution given by you is working perfectly. But, just one more thing want to check with you can I add any variable in this expression like if i want to exclude a current month so how i should write else i have put manually...as I tried at my end just like we used in set analysis but it is not working...can you please guide.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Num(Sum(If(Level_1 = EMP_Name, Achievement)) / Sum(If(Level_1 = EMP_Name, Target))*100,0.00),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance..&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 17:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067294#M356760</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-04-12T17:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy wise Target vs Achievement giving Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067295#M356761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;GetCurrentField([New Group])&lt;/STRONG&gt;, 'Level_1', 'Level_2', 'Level_3'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Sum({&amp;lt;Month = {"$(='&amp;lt;'&amp;amp;Max(Month))"}&amp;gt;}If(Level_1 = EMP_Name, Achievement)) / Sum({&amp;lt;Month = {"$(='&amp;lt;'&amp;amp;Max(Month))"}&amp;gt;}If(Level_1 = EMP_Name, Target))*100,0.00),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Sum({&amp;lt;Month = {"$(='&amp;lt;'&amp;amp;Max(Month))"}&amp;gt;}If(Level_2 = EMP_Name, Achievement)) / Sum({&amp;lt;Month = {"$(='&amp;lt;'&amp;amp;Max(Month))"}&amp;gt;}If(Level_2 = EMP_Name, Target))*100,0.00),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Sum({&amp;lt;Month = {"$(='&amp;lt;'&amp;amp;Max(Month))"}&amp;gt;}If(Level_3 = EMP_Name, Achievement)) / Sum({&amp;lt;Month = {"$(='&amp;lt;'&amp;amp;Max(Month))"}&amp;gt;}If(Level_3 = EMP_Name, Target))*100,0.00))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this might only be good for your sample where you just have Months 1, 2 and 3. You might need to use MonthYear or Date field to do this exclusion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 18:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067295#M356761</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-12T18:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy wise Target vs Achievement giving Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067296#M356762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are really genius....you almost provides a solutions in a fraction of seconds it simply shows your full control over Application. Simply WOW !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-wise-Target-vs-Achievement-giving-Issue/m-p/1067296#M356762</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-04-13T15:50:25Z</dc:date>
    </item>
  </channel>
</rss>

