<?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: Count amount of entries for a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-amount-of-entries-for-a-dimension/m-p/1105115#M366064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it would be better to make changes in the backend of the script to handle this in a better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a new table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Countries,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(Countries, ',') as Country(unique)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident SomeTable;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Country(unique) name matches with the field name for the field where Country is uniquely listed and is tied to Nid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2016 20:07:38 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-07-06T20:07:38Z</dc:date>
    <item>
      <title>Count amount of entries for a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-amount-of-entries-for-a-dimension/m-p/1105112#M366061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dimension which is a list of unique countries ("Country(unique)") with a measure of rows ("Nid" which acts as a primary key and ID for each row). Each row in my data contains a field that lists one or multiple countries ("Countries") separated by commas. I want to count the number of rows (Nid) for which each unique country appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the following formula, I am able to count the number of rows that contains (and only contains) Brazil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Countries={'Brazil'}&amp;gt;}Nid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, I need to count all rows that contains the country and any other text/country for each country listed as a dimension. How do I go about doing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 18:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-amount-of-entries-for-a-dimension/m-p/1105112#M366061</guid>
      <dc:creator />
      <dc:date>2016-07-06T18:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Count amount of entries for a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-amount-of-entries-for-a-dimension/m-p/1105113#M366062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not 100% sure, but may be this:&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;&lt;STRONG&gt;Count({&amp;lt;Countries={'&lt;SPAN style="color: #ff0000;"&gt;*&lt;/SPAN&gt;Brazil&lt;SPAN style="color: #ff0000;"&gt;*&lt;/SPAN&gt;'}&amp;gt;}Nid)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 19:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-amount-of-entries-for-a-dimension/m-p/1105113#M366062</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-06T19:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count amount of entries for a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-amount-of-entries-for-a-dimension/m-p/1105114#M366063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The wildcard works to count anything including the word Brazil, so we're partly there. The bigger challenge is doing the same thing for each dimension (country).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 19:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-amount-of-entries-for-a-dimension/m-p/1105114#M366063</guid>
      <dc:creator />
      <dc:date>2016-07-06T19:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count amount of entries for a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-amount-of-entries-for-a-dimension/m-p/1105115#M366064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it would be better to make changes in the backend of the script to handle this in a better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a new table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Countries,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(Countries, ',') as Country(unique)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident SomeTable;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Country(unique) name matches with the field name for the field where Country is uniquely listed and is tied to Nid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 20:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-amount-of-entries-for-a-dimension/m-p/1105115#M366064</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-06T20:07:38Z</dc:date>
    </item>
  </channel>
</rss>

