<?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 Counting If between numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-If-between-numbers/m-p/971879#M967353</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;&lt;/P&gt;&lt;P&gt;I am using a straight table and trying to multiple two columns and add background colour based on the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is Maths * English&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "Background Colour" Section under expressions, I added,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Maths&lt;/SPAN&gt; * &lt;SPAN style="color: #800000;"&gt;English&lt;/SPAN&gt;&amp;gt;12, &lt;SPAN style="color: #0000ff;"&gt;LightRed&lt;/SPAN&gt;(), &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Maths&lt;/SPAN&gt; * &lt;SPAN style="color: #800000;"&gt;English&lt;/SPAN&gt;&amp;lt;=12 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Maths&lt;/SPAN&gt; * &lt;SPAN style="color: #800000;"&gt;English&lt;/SPAN&gt;&amp;gt;=8, &lt;SPAN style="color: #0000ff;"&gt;LightMagenta&lt;/SPAN&gt;()), &lt;SPAN style="color: #0000ff;"&gt;LightGray&lt;/SPAN&gt;())).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first If works (&amp;gt;12 changes to LightRed()). However, LightGray() appears for the second category, i.e., values between 8 and 12. LightMagenta does not appear anywhere. Values below 8 has no background colour, appears in white. What am I doing wrong please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2015 15:21:49 GMT</pubDate>
    <dc:creator>infock12</dc:creator>
    <dc:date>2015-09-30T15:21:49Z</dc:date>
    <item>
      <title>Counting If between numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-If-between-numbers/m-p/971879#M967353</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;&lt;/P&gt;&lt;P&gt;I am using a straight table and trying to multiple two columns and add background colour based on the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is Maths * English&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "Background Colour" Section under expressions, I added,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Maths&lt;/SPAN&gt; * &lt;SPAN style="color: #800000;"&gt;English&lt;/SPAN&gt;&amp;gt;12, &lt;SPAN style="color: #0000ff;"&gt;LightRed&lt;/SPAN&gt;(), &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Maths&lt;/SPAN&gt; * &lt;SPAN style="color: #800000;"&gt;English&lt;/SPAN&gt;&amp;lt;=12 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Maths&lt;/SPAN&gt; * &lt;SPAN style="color: #800000;"&gt;English&lt;/SPAN&gt;&amp;gt;=8, &lt;SPAN style="color: #0000ff;"&gt;LightMagenta&lt;/SPAN&gt;()), &lt;SPAN style="color: #0000ff;"&gt;LightGray&lt;/SPAN&gt;())).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first If works (&amp;gt;12 changes to LightRed()). However, LightGray() appears for the second category, i.e., values between 8 and 12. LightMagenta does not appear anywhere. Values below 8 has no background colour, appears in white. What am I doing wrong please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 15:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-If-between-numbers/m-p/971879#M967353</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2015-09-30T15:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Counting If between numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-If-between-numbers/m-p/971880#M967354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik, try with this:&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Maths&lt;/SPAN&gt; * &lt;SPAN style="color: #800000;"&gt;English&lt;/SPAN&gt;&amp;gt;12, &lt;SPAN style="color: #0000ff;"&gt;LightRed&lt;/SPAN&gt;(), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Maths&lt;/SPAN&gt; * &lt;SPAN style="color: #800000;"&gt;English&lt;/SPAN&gt;&amp;gt;=8, &lt;SPAN style="color: #0000ff;"&gt;LightMagenta&lt;/SPAN&gt;(), &lt;SPAN style="color: #0000ff;"&gt;LightGray&lt;/SPAN&gt;())).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 15:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-If-between-numbers/m-p/971880#M967354</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-09-30T15:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Counting If between numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-If-between-numbers/m-p/971881#M967355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it works. Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 15:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-If-between-numbers/m-p/971881#M967355</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2015-09-30T15:32:47Z</dc:date>
    </item>
  </channel>
</rss>

