<?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 only one in dimension value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132100#M372083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2016 18:47:32 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-07-11T18:47:32Z</dc:date>
    <item>
      <title>Count only one in dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132095#M372078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart where I am trying to show number of ID's in each color. But if a ID is in red and Orange then we have to count only once in red. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID: 14209 has to counted only in red and for orange it has to show 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my sample data.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130880_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 16:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132095#M372078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-11T16:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count only one in dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132096#M372079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Count(DISTINCT TOTAL &amp;lt;ID&amp;gt; Color) = 2 and Color = 'Orange', 0, Count(DISTINCT Color))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130885_Capture.PNG" style="height: 246px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 17:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132096#M372079</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-11T17:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count only one in dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132097#M372080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I was not clear in my earlier message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Dimension: Color&lt;/P&gt;&lt;P&gt;My Expression: Count(ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the ID has both red and orange, it should only count in red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so Orange count: 5 and red should be:&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130888_Capture.PNG" style="height: 294px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 17:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132097#M372080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-11T17:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count only one in dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132098#M372081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you get 5 for Orange here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 18:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132098#M372081</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-11T18:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count only one in dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132099#M372082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry typo. orange is 3 and red is 5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 18:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132099#M372082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-11T18:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count only one in dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132100#M372083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 18:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-only-one-in-dimension-value/m-p/1132100#M372083</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-11T18:47:32Z</dc:date>
    </item>
  </channel>
</rss>

