<?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 Count Key values from one table, but not all tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678527#M672521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to count the number of distinct key value (AccountID) on one table (TableA), but not count the key values on another table (TableB).&amp;nbsp; I have attached a QVW to illustrate.&amp;nbsp; In TableA, there are 4 distinct AccountIDs, but when using count distinct, it returns 8, which is the distinct count across all tables that have an AccountID column.&amp;nbsp; I would like to retreive the distinct count from only TableA.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2014 12:41:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-11T12:41:52Z</dc:date>
    <item>
      <title>Count Key values from one table, but not all tables</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678527#M672521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to count the number of distinct key value (AccountID) on one table (TableA), but not count the key values on another table (TableB).&amp;nbsp; I have attached a QVW to illustrate.&amp;nbsp; In TableA, there are 4 distinct AccountIDs, but when using count distinct, it returns 8, which is the distinct count across all tables that have an AccountID column.&amp;nbsp; I would like to retreive the distinct count from only TableA.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 12:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678527#M672521</guid>
      <dc:creator />
      <dc:date>2014-09-11T12:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count Key values from one table, but not all tables</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678528#M672522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put a flag in each table with value of 1 and sum the appropriate in the UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in the set analysis put flag=1 for the appropriate table when counting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 12:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678528#M672522</guid>
      <dc:creator>nam</dc:creator>
      <dc:date>2014-09-11T12:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Count Key values from one table, but not all tables</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678529#M672523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;both table are concatented into one table Holding all values. so 8 is the correct answer.&lt;/P&gt;&lt;P&gt;if you Need two table you have to define for table b&lt;/P&gt;&lt;P&gt;Table B&lt;/P&gt;&lt;P&gt;noconcatenate load&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but then you have the same field in two tables and the result will be the same.&lt;/P&gt;&lt;P&gt;to get only the values of table A you need to gibt AccountID a different Name than&lt;/P&gt;&lt;P&gt;in TableB!&lt;/P&gt;&lt;P&gt;TableA:&lt;BR /&gt;AccountID1&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableB:&lt;BR /&gt;AcountID2,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the Business issue? The current example makes no sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 12:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678529#M672523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-11T12:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count Key values from one table, but not all tables</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678530#M672524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attachment for the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;@vi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 12:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678530#M672524</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-09-11T12:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count Key values from one table, but not all tables</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678531#M672525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 12:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Key-values-from-one-table-but-not-all-tables/m-p/678531#M672525</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-11T12:53:21Z</dc:date>
    </item>
  </channel>
</rss>

