<?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 color If logic help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/color-If-logic-help/m-p/1590803#M738131</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Can any one please help me on below if logic to apply Grey Color.&lt;/P&gt;&lt;P&gt;I have a Flag with records 1 and 0.&lt;/P&gt;&lt;P&gt;When &lt;SPAN&gt;$(vCount)/&lt;/SPAN&gt;&lt;SPAN&gt;$(vTotalCount))&amp;gt;'20%' and $(Count)&amp;gt;5 and &lt;FONT color="#ff0000"&gt;Flag&lt;/FONT&gt;=1,Green(),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When $(vCount)/$(vTotalCount))&amp;gt;'20%' and $(Count)&amp;gt;5 and Flag=0,Red() else its Grey(). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help me to apply Grey() in &lt;/SPAN&gt;&lt;SPAN&gt;the below if logic.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if( ($(vCount)/&lt;SPAN&gt;$(vTotalCount))&amp;gt;'20%' and $(Count)&amp;gt;5 and &lt;FONT color="#ff0000"&gt;Prod1Flag&lt;/FONT&gt;=1,Green(),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;if( ($(vCount)/$(vTotalCount))&amp;gt;'20%' and $(Count)&amp;gt;5 and Prod1Flag=0,Red())),&lt;FONT color="#ff0000"&gt;Prod1Flag&lt;/FONT&gt;,Dim1,Dim2)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>mahitham</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>color If logic help</title>
      <link>https://community.qlik.com/t5/QlikView/color-If-logic-help/m-p/1590803#M738131</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Can any one please help me on below if logic to apply Grey Color.&lt;/P&gt;&lt;P&gt;I have a Flag with records 1 and 0.&lt;/P&gt;&lt;P&gt;When &lt;SPAN&gt;$(vCount)/&lt;/SPAN&gt;&lt;SPAN&gt;$(vTotalCount))&amp;gt;'20%' and $(Count)&amp;gt;5 and &lt;FONT color="#ff0000"&gt;Flag&lt;/FONT&gt;=1,Green(),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When $(vCount)/$(vTotalCount))&amp;gt;'20%' and $(Count)&amp;gt;5 and Flag=0,Red() else its Grey(). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help me to apply Grey() in &lt;/SPAN&gt;&lt;SPAN&gt;the below if logic.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if( ($(vCount)/&lt;SPAN&gt;$(vTotalCount))&amp;gt;'20%' and $(Count)&amp;gt;5 and &lt;FONT color="#ff0000"&gt;Prod1Flag&lt;/FONT&gt;=1,Green(),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;if( ($(vCount)/$(vTotalCount))&amp;gt;'20%' and $(Count)&amp;gt;5 and Prod1Flag=0,Red())),&lt;FONT color="#ff0000"&gt;Prod1Flag&lt;/FONT&gt;,Dim1,Dim2)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/color-If-logic-help/m-p/1590803#M738131</guid>
      <dc:creator>mahitham</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: color If logic help</title>
      <link>https://community.qlik.com/t5/QlikView/color-If-logic-help/m-p/1602726#M738132</link>
      <description>&lt;P&gt;Did you try the following:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;if( ($(vCount)/&lt;SPAN&gt;$(vTotalCount))&amp;gt;'20%' and $(Count)&amp;gt;5 and&amp;nbsp;&lt;FONT color="#ff0000"&gt;Prod1Flag&lt;/FONT&gt;=1,Green(),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;if( ($(vCount)/$(vTotalCount))&amp;gt;'20%' and $(Count)&amp;gt;5 and Prod1Flag=0,Red(),Grey())),&lt;FONT color="#ff0000"&gt;Prod1Flag&lt;/FONT&gt;,Dim1,Dim2)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I am no developer, so I do not know if this is correct or not, but I believe that should account for things that do not match the first two conditions becoming grey in color.&amp;nbsp; Sorry if I am missing something here, if that is the case, if you can provide further details, or even a sample app, that may help others help you...&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 13:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/color-If-logic-help/m-p/1602726#M738132</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-07-16T13:09:19Z</dc:date>
    </item>
  </channel>
</rss>

