<?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 cells in chart depending on color in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-cells-in-chart-depending-on-color/m-p/1201514#M880920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I solved this by taking the expression that makes the coloring and changed the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;true and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;false &lt;/SPAN&gt;statement from color to 1 and 0. Then I proceeded to add them together. &lt;EM&gt;For example&lt;/EM&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(sum(column(1)+column(2))&amp;gt;=column(3),1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(sum(column(4)+column(5))&amp;gt;=column(6),1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Maybe not the best solution but it got the job done. Hope this will be relevant for anybody &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;/Ahmed&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2016 12:01:49 GMT</pubDate>
    <dc:creator>ahmedhali</dc:creator>
    <dc:date>2016-10-05T12:01:49Z</dc:date>
    <item>
      <title>Count cells in chart depending on color</title>
      <link>https://community.qlik.com/t5/QlikView/Count-cells-in-chart-depending-on-color/m-p/1201513#M880918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a question regarding charts. Is it possible to count chart cells depending on whether they are green or red? For example in the chart below the expression would say there is 2 green on the second row and 3 on the first. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="139667" alt="test bild.png" class="jive-image image-1" src="/legacyfs/online/139667_test bild.png" style="height: 32px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-cells-in-chart-depending-on-color/m-p/1201513#M880918</guid>
      <dc:creator>ahmedhali</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count cells in chart depending on color</title>
      <link>https://community.qlik.com/t5/QlikView/Count-cells-in-chart-depending-on-color/m-p/1201514#M880920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I solved this by taking the expression that makes the coloring and changed the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;true and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;false &lt;/SPAN&gt;statement from color to 1 and 0. Then I proceeded to add them together. &lt;EM&gt;For example&lt;/EM&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(sum(column(1)+column(2))&amp;gt;=column(3),1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(sum(column(4)+column(5))&amp;gt;=column(6),1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Maybe not the best solution but it got the job done. Hope this will be relevant for anybody &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;/Ahmed&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 12:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-cells-in-chart-depending-on-color/m-p/1201514#M880920</guid>
      <dc:creator>ahmedhali</dc:creator>
      <dc:date>2016-10-05T12:01:49Z</dc:date>
    </item>
  </channel>
</rss>

