<?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 Additional condition to count set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Additional-condition-to-count-set-expression/m-p/92032#M603609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have a chart (Pivot Table) which displays per Location (Dimension of the chart) the number of big suppliers. &lt;/P&gt;&lt;P&gt;A supplier is big when the purchasing volume is higher than 10000.&lt;/P&gt;&lt;P&gt;I only want to look at the purchasing volume of the last 12 month and I created a date flag for this.&lt;/P&gt;&lt;P&gt;I tried to solve this like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT{&amp;lt;Location ={"=sum({&amp;lt;Last12Months={1}&amp;gt;}[Purchasing Volume]) &amp;gt; 10000"}, Last12Months={1}&amp;gt;} [Supplier Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this does not work correctly.&lt;/P&gt;&lt;P&gt;Does anybody know a solution to this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2018 11:35:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-16T11:35:43Z</dc:date>
    <item>
      <title>Additional condition to count set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Additional-condition-to-count-set-expression/m-p/92032#M603609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have a chart (Pivot Table) which displays per Location (Dimension of the chart) the number of big suppliers. &lt;/P&gt;&lt;P&gt;A supplier is big when the purchasing volume is higher than 10000.&lt;/P&gt;&lt;P&gt;I only want to look at the purchasing volume of the last 12 month and I created a date flag for this.&lt;/P&gt;&lt;P&gt;I tried to solve this like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT{&amp;lt;Location ={"=sum({&amp;lt;Last12Months={1}&amp;gt;}[Purchasing Volume]) &amp;gt; 10000"}, Last12Months={1}&amp;gt;} [Supplier Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this does not work correctly.&lt;/P&gt;&lt;P&gt;Does anybody know a solution to this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 11:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Additional-condition-to-count-set-expression/m-p/92032#M603609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-16T11:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Additional condition to count set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Additional-condition-to-count-set-expression/m-p/92033#M603610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count(DISTINCT{&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Supplier Number]&lt;/STRONG&gt;&lt;/SPAN&gt; ={"=sum({&amp;lt;Last12Months={1}&amp;gt;}[Purchasing Volume]) &amp;gt; 10000"}, Last12Months={1}&amp;gt;} [Supplier Number])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Assuming, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Supplier Number] is a supplier identifier, like code or ID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 11:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Additional-condition-to-count-set-expression/m-p/92033#M603610</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-08-16T11:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Additional condition to count set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Additional-condition-to-count-set-expression/m-p/92034#M603611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, however it is still not working correctly.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="211116" alt="1.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/211116_1.png" style="height: 461px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The first image shows the table when there is no current selection --&amp;gt; the figures are wrong&lt;/P&gt;&lt;P&gt;However when I make a selection to [Location Name] the figures change and are right:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="211115" alt="2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/211115_2.png" style="height: 389px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I don't know why the figures change because the dimension of the chart is [Location Name] and the selction is made to this dimension.&lt;/P&gt;&lt;P&gt;So with my understanding, the figures shouldn't change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For # Big Suppliers I use this expression:&lt;/P&gt;&lt;P&gt;=count(DISTINCT{&amp;lt;[Supplier Number]={"=sum({&amp;lt;Last12Months={1}&amp;gt;}TotalPVO)&amp;gt;10000"}, Last12Months={1}&amp;gt;}[Supplier Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 07:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Additional-condition-to-count-set-expression/m-p/92034#M603611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-17T07:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Additional condition to count set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Additional-condition-to-count-set-expression/m-p/92035#M603612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anybody has an idea, why the values are changing, when I select one [Location Name] (one row in my chart)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are calulated correctly only when one specific [Location Name] is selected. Otherwise, when there is no selection, the values in the chart are wrong..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 06:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Additional-condition-to-count-set-expression/m-p/92035#M603612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-23T06:38:48Z</dc:date>
    </item>
  </channel>
</rss>

