<?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: Adding Goal Lines in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970432#M467880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what kind of sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2015 18:28:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-13T18:28:08Z</dc:date>
    <item>
      <title>Adding Goal Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970429#M467877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello all!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have attached my file.&amp;nbsp; I have made a scrap chart and I am trying to add a goal line to it.&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The hierarchy of my data is as follows: Goal Group --&amp;gt; Goal Type --&amp;gt; Area --&amp;gt; Facility --&amp;gt; Department&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;So for example, on line 218 below, Department 002 is in the Electrical Facility in the Assy Area with Scrap as the Goal Type and Area as the goal group. (The Goal Group's Area and the Field name Area are unrelated - confusing since they are named the same - see picture below)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Whereas on line 198 below, &lt;SPAN style="font-size: 13.3333px;"&gt;Department 102 is in the 560XLS Facility in the Assy Area with Scrap as the Goal Type and Area as the goal group.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Both rows have starting goals of 2220716 because that starting goal number is the goal for the Assy Area.&amp;nbsp; For facility, the 560XLS goal and Electrical goal should add up to get 2220716.&amp;nbsp; I won't look at goals for the department level.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="goalzzz.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101911_goalzzz.png" style="height: 114px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Does anyone know how to do this?&amp;nbsp; I can't get it to work.&amp;nbsp; The granularity may be off and I'm not sure how to fix it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970429#M467877</guid>
      <dc:creator />
      <dc:date>2015-10-13T15:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Goal Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970430#M467878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the granularity issue - your goals are listed by 6 keys, while they are actually determined only by four. So, one solution could be using nested aggregation - something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGGR(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(Goal)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , YearMonthKey, GoalGroup, GoalType, Area)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another problem that I spotted is that your actual Scrap levels are only defined per Department, not per the same combination of 4-6 keys, so any selections of Area or GoalType would throw off the comparison.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=HEF4KYLLE22XIQH2"&gt;QlikView Your Business: An expert guide to Business Discovery with QlikView and Qlik Sense&lt;/A&gt;&lt;IMG alt="" border="0" height="1" src="http://ir-na.amazon-adsystem.com/e/ir?t=natursyner0f-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=1118949552" style="border: none !important; margin: 0px !important;" width="1" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 16:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970430#M467878</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-10-13T16:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Goal Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970431#M467879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i See that concatenation in the Link table script is not proper.&lt;/P&gt;&lt;P&gt;That Might be affecting your front end analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you mind sharing some sample data related to your problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 16:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970431#M467879</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-10-13T16:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Goal Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970432#M467880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what kind of sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 18:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970432#M467880</guid>
      <dc:creator />
      <dc:date>2015-10-13T18:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Goal Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970433#M467881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whatever you've used to demonstrate in the picture.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 18:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Goal-Lines/m-p/970433#M467881</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-10-13T18:55:02Z</dc:date>
    </item>
  </channel>
</rss>

