<?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: How do I tally records conditionally ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740987#M1036047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you consider the problem solved, then please mark the answer as correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2015 10:07:18 GMT</pubDate>
    <dc:creator>simenkg</dc:creator>
    <dc:date>2015-01-07T10:07:18Z</dc:date>
    <item>
      <title>How do I tally records conditionally ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740981#M1036041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text box object which uses set analysis to display the number of sales reps which meet a certain condition. However, the tally isn't correct and I can't figure out why. This is the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Excel file which holds many thousand records of sales transactions. The main fields for each record are Sales Rep, Region, Sales Amount and Sales Count (each record is set 'AS 1' during the load). From this data, I want to count (and display in a text box) the number of Sales Reps in the 'North' region who have accumulated sales totals of £150,000 or greater.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My set analysis looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;SalesRep ={"=sum(SalesAmount)&amp;gt;=150000"},Region={"North"}&amp;gt;SalesCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this statement is wrong as it returns the total number of &lt;SPAN style="text-decoration: underline;"&gt;sales records&lt;/SPAN&gt; for those Sales Reps who have achieved sales of more than £150,000. I want it to return the total number of &lt;SPAN style="text-decoration: underline;"&gt;Sales Reps&lt;/SPAN&gt; who have achieved sales of more than £150,000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help ? I'm afraid it's not possible to send the data or QV application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 13:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740981#M1036041</guid>
      <dc:creator />
      <dc:date>2015-01-06T13:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tally records conditionally ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740982#M1036042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333339691162px;"&gt;count({$&amp;lt;SalesRep ={"=sum(SalesAmount)&amp;gt;=150000"},Region={"North"}&amp;gt;}distinct SalesRep)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 13:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740982#M1036042</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2015-01-06T13:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tally records conditionally ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740983#M1036043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mareen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have a unique id or else for your Sales Rep you could change the set analysis in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;count(distinct&lt;/STRONG&gt; {$&amp;lt;SalesRep ={"=sum(SalesAmount)&amp;gt;=150000"},Region={"North"}&amp;gt; &lt;STRONG&gt;SalesRepID&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would count all SalesRepID, that match the set and with the distinct they only get counted once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt; Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 13:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740983#M1036043</guid>
      <dc:creator>schlettig</dc:creator>
      <dc:date>2015-01-06T13:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tally records conditionally ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740984#M1036044</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;Use something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Amnt={'=sum(Amnt)&amp;gt;=15000'},Region={'NORTH'}&amp;gt;}SalesCount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 13:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740984#M1036044</guid>
      <dc:creator />
      <dc:date>2015-01-06T13:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tally records conditionally ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740985#M1036045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Simen. Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 14:01:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740985#M1036045</guid>
      <dc:creator />
      <dc:date>2015-01-06T14:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tally records conditionally ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740986#M1036046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your alternative solution Christian.&lt;/P&gt;&lt;P&gt;Much obliged&lt;/P&gt;&lt;P&gt;MV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 14:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740986#M1036046</guid>
      <dc:creator />
      <dc:date>2015-01-06T14:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tally records conditionally ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740987#M1036047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you consider the problem solved, then please mark the answer as correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 10:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740987#M1036047</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2015-01-07T10:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I tally records conditionally ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740988#M1036048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't find where you do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-tally-records-conditionally/m-p/740988#M1036048</guid>
      <dc:creator />
      <dc:date>2015-01-07T13:23:43Z</dc:date>
    </item>
  </channel>
</rss>

