<?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 Chart for Consistent Salespeople in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-for-Consistent-Salespeople/m-p/1645295#M456209</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am struggling to produce a chart which displays results only where individuals are present in all years.&lt;/P&gt;&lt;P&gt;In the example, I have a number of salespeople and two years of data. Some are new salespeople, and some have left.&lt;/P&gt;&lt;P&gt;I need to create a graph that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;only displays sales results for consistent people present in all years of sales (ie excluding starters and leavers in the period). So I'm trying to compare 'apples with apples'.&lt;/LI&gt;&lt;LI&gt;Sums sales by year. So expectation is 2018 = 17 and 2019 = 29&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Attached is my attempt using a variable to count the number of sales years (vCountYear) and using the dreaded AGGR function in the chart expression - (mine doesn't work!)&lt;/P&gt;&lt;P&gt;Help/thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expectation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Desired Graph.JPG" style="width: 484px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23326i57B7F1C4B58B4EBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Desired Graph.JPG" alt="Desired Graph.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2019 11:58:20 GMT</pubDate>
    <dc:creator>GuyIncognito</dc:creator>
    <dc:date>2019-11-11T11:58:20Z</dc:date>
    <item>
      <title>Chart for Consistent Salespeople</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-for-Consistent-Salespeople/m-p/1645295#M456209</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am struggling to produce a chart which displays results only where individuals are present in all years.&lt;/P&gt;&lt;P&gt;In the example, I have a number of salespeople and two years of data. Some are new salespeople, and some have left.&lt;/P&gt;&lt;P&gt;I need to create a graph that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;only displays sales results for consistent people present in all years of sales (ie excluding starters and leavers in the period). So I'm trying to compare 'apples with apples'.&lt;/LI&gt;&lt;LI&gt;Sums sales by year. So expectation is 2018 = 17 and 2019 = 29&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Attached is my attempt using a variable to count the number of sales years (vCountYear) and using the dreaded AGGR function in the chart expression - (mine doesn't work!)&lt;/P&gt;&lt;P&gt;Help/thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expectation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Desired Graph.JPG" style="width: 484px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23326i57B7F1C4B58B4EBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Desired Graph.JPG" alt="Desired Graph.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 11:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-for-Consistent-Salespeople/m-p/1645295#M456209</guid>
      <dc:creator>GuyIncognito</dc:creator>
      <dc:date>2019-11-11T11:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Chart for Consistent Salespeople</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-for-Consistent-Salespeople/m-p/1645301#M456210</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Name={"=Count(Name)=Count({1} Distinct total Year)"}&amp;gt;}Sales)&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 12:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-for-Consistent-Salespeople/m-p/1645301#M456210</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-11-11T12:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Chart for Consistent Salespeople</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-for-Consistent-Salespeople/m-p/1645321#M456211</link>
      <description>&lt;P&gt;Works a treat - thanks so much!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 12:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-for-Consistent-Salespeople/m-p/1645321#M456211</guid>
      <dc:creator>GuyIncognito</dc:creator>
      <dc:date>2019-11-11T12:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Chart for Consistent Salespeople</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-for-Consistent-Salespeople/m-p/1645475#M456212</link>
      <description>&lt;P&gt;Hi - This does work for the dummy data however have hit a snag - there are a few cases where the salesperson has multiple records in one or both years (this is just a dummy example, there are sound reasons why this is so).&lt;/P&gt;&lt;P&gt;Can the expression be amended to check that there is one and only one entry per year, and to disregard any cases where this isn't true?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 16:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-for-Consistent-Salespeople/m-p/1645475#M456212</guid>
      <dc:creator>GuyIncognito</dc:creator>
      <dc:date>2019-11-11T16:09:14Z</dc:date>
    </item>
  </channel>
</rss>

