<?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 Pivot Table - Check Low-Level Values even when shrinked in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Check-Low-Level-Values-even-when-shrinked/m-p/398842#M559382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have got a Pivot table with several dimensions. My formula shows colored circles according to the following formula:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13692978371054693" jivemacro_uid="_13692978371054693"&gt;&lt;P&gt;if(count(Value)/sum(Value)=1,'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(count(Value)/sum(Value)&amp;lt;1 and count(Value)/sum(Value)&amp;gt;=0.5,'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;This works fine. I now need an additional if-clause which checks whether there is a specific number in Value on the lowest level of the data.&lt;/P&gt;&lt;P&gt;In detail I want to check if one component of sum(Value) is a '3' which means that the picture has to be the red circle even if the count(Value)/sum(Value) is in the range of the yellow one. &lt;/P&gt;&lt;P&gt;FYI: Value is just 1,2 or 3 which means green, yellow and red on the lowest level in this pivot chart but the formula has to aggregate the values and show new colors there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Kind regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 08:37:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-23T08:37:30Z</dc:date>
    <item>
      <title>Pivot Table - Check Low-Level Values even when shrinked</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Check-Low-Level-Values-even-when-shrinked/m-p/398842#M559382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have got a Pivot table with several dimensions. My formula shows colored circles according to the following formula:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13692978371054693" jivemacro_uid="_13692978371054693"&gt;&lt;P&gt;if(count(Value)/sum(Value)=1,'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(count(Value)/sum(Value)&amp;lt;1 and count(Value)/sum(Value)&amp;gt;=0.5,'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;This works fine. I now need an additional if-clause which checks whether there is a specific number in Value on the lowest level of the data.&lt;/P&gt;&lt;P&gt;In detail I want to check if one component of sum(Value) is a '3' which means that the picture has to be the red circle even if the count(Value)/sum(Value) is in the range of the yellow one. &lt;/P&gt;&lt;P&gt;FYI: Value is just 1,2 or 3 which means green, yellow and red on the lowest level in this pivot chart but the formula has to aggregate the values and show new colors there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Kind regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 08:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Check-Low-Level-Values-even-when-shrinked/m-p/398842#M559382</guid>
      <dc:creator />
      <dc:date>2013-05-23T08:37:30Z</dc:date>
    </item>
  </channel>
</rss>

