<?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: Sales from the lead in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125956#M756113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&amp;nbsp; That works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2018 18:08:38 GMT</pubDate>
    <dc:creator>lfholland</dc:creator>
    <dc:date>2018-09-13T18:08:38Z</dc:date>
    <item>
      <title>Sales from the lead</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125952#M756106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to show "sales from the lead".&amp;nbsp; It's like in golf where they have "strokes from the lead".&amp;nbsp; I tried the above function and several variations, but it isn't giving me what I need.&amp;nbsp; So, below is the sales growth and then next to it, the above formula.&lt;/P&gt;&lt;P&gt;my growth formula is as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VendId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'100423', '100047', '100060'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Sep','Oct','Nov','Dec'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurPrevYTD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Whse_District&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'SOUTHWEST'}&amp;gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NetSalesDOM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/1000&lt;BR /&gt; -&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year)-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VendId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'100423', '100047', '100060'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Sep','Oct','Nov','Dec'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurPrevYTD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Whse_District&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'SOUTHWEST'}&amp;gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NetSalesDOM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/1000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The first value ($23) is correct, but the next one should be $93 and the next should be approx. $105 and so forth.&amp;nbsp; It is telling how much the branch needs to sell in order to get up to the leader.&lt;/SPAN&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;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/213505_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125952#M756106</guid>
      <dc:creator>lfholland</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sales from the lead</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125953#M756109</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;for the first value 23, it is calculated this way: 75-52&lt;/P&gt;&lt;P&gt;for the next expected values, how it is supposed to be calculated ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 15:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125953#M756109</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-09-13T15:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sales from the lead</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125954#M756110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the first one is 75-52.&amp;nbsp; The next one should be 75-(-18). Or it could be 23+70.&amp;nbsp; I tried using the above() formula to get the first value and then add the one above it, but that didn't work either...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 15:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125954#M756110</guid>
      <dc:creator>lfholland</dc:creator>
      <dc:date>2018-09-13T15:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sales from the lead</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125955#M756112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this (if you use absolute values for negative values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=top(sum(your_field))+sum(your_field)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this if you use your negative values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=top(sum(your_field))-sum(your_field)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 16:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125955#M756112</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-09-13T16:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sales from the lead</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125956#M756113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&amp;nbsp; That works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 18:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-from-the-lead/m-p/125956#M756113</guid>
      <dc:creator>lfholland</dc:creator>
      <dc:date>2018-09-13T18:08:38Z</dc:date>
    </item>
  </channel>
</rss>

