<?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: Counting colors in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529477#M1139400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without a dimension you would need an aggagrate:&lt;/P&gt;&lt;P&gt;Aggr(Count(if(ABC='A',ABC)),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Machine_Beläggning&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Sep 2013 10:19:01 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2013-09-17T10:19:01Z</dc:date>
    <item>
      <title>Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529470#M1139393</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;I have a graph like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="46598" alt="2013-09-17 08-10-10.jpg" class="jive-image" src="/legacyfs/online/46598_2013-09-17 08-10-10.jpg" style="width: 620px; height: 54px;" /&gt;&lt;/P&gt;&lt;P&gt;How can i count how many bars are Blue, Red and Green?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;My expression is like this for Background color&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ABC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='A',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;LIGHTRED&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ABC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='B',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;LIGHTBLUE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ABC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='C',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;LIGHTGREEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Mats&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: matshawk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 06:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529470#M1139393</guid>
      <dc:creator />
      <dc:date>2013-09-17T06:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529471#M1139394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That depends on how your expression decides on color. Please share a sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 06:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529471#M1139394</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-17T06:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529472#M1139395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It all depends on your expression.&lt;/P&gt;&lt;P&gt;But if you have limited number of values in your dimension then something like below would help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;count({&amp;lt;ABC= {'A'}&amp;gt;}ABC)&amp;nbsp; -- # of LightRed bars&lt;/P&gt;
&lt;P&gt;count({&amp;lt;ABC= {'B'}&amp;gt;}ABC)&amp;nbsp; -- # of LightBlue bars&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 06:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529472#M1139395</guid>
      <dc:creator>AbhijitBansode</dc:creator>
      <dc:date>2013-09-17T06:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529473#M1139396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, dimension members are needed. Anyway, try like this: take a straight table with similar dimension member and expression as : If( ABC='A', 'RED :'&amp;amp;Count(ABC), IF(ABC='B' , 'Blue :'&amp;amp;Count(ABC), If(ABC='C', 'Green :'&amp;amp;Count(ABC))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though i am not sure it would work. Best way could have been- sharing sample app. If you are worried about the data, you can always scramble it upload. See &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290"&gt;how to prepare for upload&lt;/A&gt; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 07:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529473#M1139396</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-17T07:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529474#M1139397</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have come some way by doing like this:&lt;/P&gt;&lt;P&gt;My dimension is Machine_Beläggning of which are divided in some 'A', some 'B' and some 'C' machines&lt;/P&gt;&lt;P&gt;If i have an expression like this: if (ABC='A',1, count({&amp;lt;ABC= {'A'}&amp;gt;}ABC) ), i get one bar for each machine that is an 'A' machine. So far so good... The thing is that i don't want bars, just a number that are the sum of the 'A' machines, in this case 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;/Mats&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 10:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529474#M1139397</guid>
      <dc:creator />
      <dc:date>2013-09-17T10:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529475#M1139398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to count it then take three text object with equal sign write your condition&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count(if &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ABC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='A',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ABC))&amp;nbsp; //for 1st one text object&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ABC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='B',ABC)) //for &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;LIGHTBLUE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;() for 2nd text obj&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ABC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='C',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ABC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)) // for &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;LIGHTGREEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;() (3rd text obj)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hope it helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 10:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529475#M1139398</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-09-17T10:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529476#M1139399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this? take ABC as a dimension in a straight table and use expression: Count(ABC)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 10:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529476#M1139399</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-17T10:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529477#M1139400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without a dimension you would need an aggagrate:&lt;/P&gt;&lt;P&gt;Aggr(Count(if(ABC='A',ABC)),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Machine_Beläggning&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 10:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529477#M1139400</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2013-09-17T10:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529478#M1139401</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;I only want to count the ’A’s, ’B’s or ‘C’s that have values on them.&lt;/P&gt;&lt;P&gt;Does this make sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7 ‘A’s, 3 ‘B’s and 6 ‘C’s&lt;/P&gt;&lt;P&gt;/Mats&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 10:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529478#M1139401</guid>
      <dc:creator />
      <dc:date>2013-09-17T10:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529479#M1139402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then try the expression something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(If(not isnull(YourValueField) and YourValueField&amp;lt;&amp;gt;0, ABC)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 10:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529479#M1139402</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-17T10:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Counting colors</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529480#M1139403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;If i do like this i get the result like the table in the picture&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2013-09-19 12-56-30.jpg" class="jive-image" src="/legacyfs/online/46709_2013-09-19 12-56-30.jpg" style="max-width: 620px;" /&gt;&lt;BR /&gt;If someone please have the solution i would be very greatful!&lt;/P&gt;&lt;P&gt;/Mats&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 11:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-colors/m-p/529480#M1139403</guid>
      <dc:creator />
      <dc:date>2013-09-19T11:05:04Z</dc:date>
    </item>
  </channel>
</rss>

