<?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: Setting RGB in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064368#M935159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you let us know where you are writing this script and what type of object you have creating?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any sample QVW that you can post would help us to understand the issue.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 16:34:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-01T16:34:49Z</dc:date>
    <item>
      <title>Setting RGB</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064367#M935153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(num(LifSafetyScore) &amp;gt;=&amp;nbsp; 8 and (num(LifSafetyScore) &amp;lt;= 12 ,RED(),&lt;/P&gt;&lt;P&gt;if(num(lLifSafetyScore) &amp;gt;=&amp;nbsp; 13 and (num(LifSafetyScore) &amp;lt;= 18 ,GREEN(),&lt;/P&gt;&lt;P&gt;if(num(LifSafetyScore) &amp;gt;=&amp;nbsp; 18 and (num(LifSafetyScore) &amp;lt;= 22 ,Yellow()))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above script is not working.How can write it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 16:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064367#M935153</guid>
      <dc:creator />
      <dc:date>2016-03-01T16:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RGB</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064368#M935159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you let us know where you are writing this script and what type of object you have creating?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any sample QVW that you can post would help us to understand the issue.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 16:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064368#M935159</guid>
      <dc:creator />
      <dc:date>2016-03-01T16:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RGB</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064369#M935160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(LifSafetyScore &amp;gt;=&amp;nbsp; 8 and LifSafetyScore &amp;lt;= 12, Red(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(LifSafetyScore &amp;gt;= 13 and LifSafetyScore &amp;lt;= 18, Green(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(LifSafetyScore &amp;gt;= 18 and LifSafetyScore &amp;lt;= 22, Yellow())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;UPDATE: I think the issue might be related to the parenthesis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 16:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064369#M935160</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-01T16:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RGB</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064370#M935162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You seem to have too many parentheses. Try removing the ones in bold from below.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(num(LifSafetyScore) &amp;gt;=&amp;nbsp; 8 and &lt;STRONG&gt;(&lt;/STRONG&gt;num(LifSafetyScore) &amp;lt;= 12 ,RED(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(num(lLifSafetyScore) &amp;gt;=&amp;nbsp; 13 and &lt;STRONG&gt;(&lt;/STRONG&gt;num(LifSafetyScore) &amp;lt;= 18 ,GREEN(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(num(LifSafetyScore) &amp;gt;=&amp;nbsp; 18 and &lt;STRONG&gt;(&lt;/STRONG&gt;num(LifSafetyScore) &amp;lt;= 22 ,Yellow())))&lt;STRONG&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 16:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064370#M935162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T16:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RGB</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064371#M935163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe parenthesis issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(num(LifSafetyScore) &amp;gt;=&amp;nbsp; 8 and num(LifSafetyScore) &amp;lt;= 12 ,RED(),&lt;/P&gt;&lt;P&gt;if(num(lLifSafetyScore) &amp;gt;=&amp;nbsp; 13 and num(LifSafetyScore) &amp;lt;= 18 ,GREEN(),&lt;/P&gt;&lt;P&gt;if(num(LifSafetyScore) &amp;gt;=&amp;nbsp; 18 and num(LifSafetyScore) &amp;lt;= 22 ,Yellow() ))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maurice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 16:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064371#M935163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T16:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RGB</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064372#M935165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp; agree&amp;nbsp; with Sunny T , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;the issue might be&amp;nbsp; to the parenthesis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if(num(LifSafetyScore) &amp;gt;=&amp;nbsp; 8 and (num(LifSafetyScore) &amp;lt;= 12 ,RED(),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(num(lLifSafetyScore) &amp;gt;=&amp;nbsp; 13 and (num(LifSafetyScore) &amp;lt;= 18 ,GREEN(),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(num(LifSafetyScore) &amp;gt;=&amp;nbsp; 18 and (num(LifSafetyScore) &amp;lt;= 22 ,Yellow()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 17:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064372#M935165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T17:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RGB</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064373#M935167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Pavana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this one, I hope you are looking for that one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(num(LifSafetyScore) &amp;gt;= 8 and (num(LifSafetyScore) &amp;lt;= 12), RED(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(num(lLifSafetyScore) &amp;gt;= 13 and (num(LifSafetyScore) &amp;lt;= 18), GREEN(),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(num(LifSafetyScore) &amp;gt;= 19 and (num(LifSafetyScore) &amp;lt;= 22), Yellow())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 04:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064373#M935167</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-03-02T04:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RGB</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064374#M935168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The num()* function does nothing here, so you can remove it. You can also reduce the number of conditionals, so the expression becomes much simpler:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(LifSafetyScore &amp;gt;= 8, &lt;/P&gt;&lt;P&gt;&amp;nbsp; If(LifSafetyScore &amp;lt;= 12 ,Red(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(LifSafetyScore &amp;lt;= 18 ,Green(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(LifSafetyScore &amp;lt;= 22 ,Yellow())))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Num() is a formatting function, and it does not affect the underlying value. The comparisons are on the underlying values so they are not affected in any way by the Num().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT - minor correction to the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 05:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064374#M935168</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-02T05:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RGB</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064375#M935170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(num(LifSafetyScore) &amp;gt;=&amp;nbsp; 8 and &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(&lt;/STRONG&gt;num(LifSafetyScore) &amp;lt;= 12 ,RED(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(num(lLifSafetyScore) &amp;gt;=&amp;nbsp; 13 and &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(&lt;/STRONG&gt;num(LifSafetyScore) &amp;lt;= 18 ,GREEN(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(num(LifSafetyScore) &amp;gt;=&amp;nbsp; 18 and &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(&lt;/STRONG&gt;num(LifSafetyScore) &amp;lt;= 22 ,Yellow())))&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 05:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064375#M935170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-02T05:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RGB</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064376#M935172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the LifSafetyScore is not being recognised as a number, you may need the &lt;STRONG&gt;Num#() &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num#(&amp;lt;a string&amp;gt;) is the number &lt;EM&gt;interpretation &lt;/EM&gt;function takes a &lt;EM&gt;string&lt;/EM&gt; and outputs a dual number&lt;/P&gt;&lt;P&gt;Num(&amp;lt;a number&amp;gt;) is the number format &lt;EM&gt;function&lt;/EM&gt; and takes a &lt;EM&gt;number&lt;/EM&gt; and outputs a dual value formatted as specified&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 05:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-RGB/m-p/1064376#M935172</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-02T05:07:14Z</dc:date>
    </item>
  </channel>
</rss>

