<?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: how to apply background color using multiple if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916120#M990542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ipsita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;worked example attached!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH - Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2015 15:03:56 GMT</pubDate>
    <dc:creator>awhitfield</dc:creator>
    <dc:date>2015-07-27T15:03:56Z</dc:date>
    <item>
      <title>how to apply background color using multiple if statement</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916116#M990533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;How to write an expression in QlikView for multiple if.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;If(budget=1,back ground color green)if (budget=2,background color orange,if budget=3,back ground color red)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;pls suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 14:21:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916116#M990533</guid>
      <dc:creator />
      <dc:date>2015-07-27T14:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to apply background color using multiple if statement</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916117#M990535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(budget=1, green,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(budget =2, orange,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(budget=3, red)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 14:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916117#M990535</guid>
      <dc:creator>manideep78</dc:creator>
      <dc:date>2015-07-27T14:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to apply background color using multiple if statement</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916118#M990538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;budget=1, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;back ground color green, if (budget=2, background color orange, if (budget=3,back ground color red)))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 14:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916118#M990538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-27T14:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to apply background color using multiple if statement</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916119#M990540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;=if(budget=1, green(), if(budget =2, rgb(255,128,64),if(budget=3, red())))&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'comic sans ms', sans-serif;"&gt;Feeling Qlikngry?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="8342" data-objecttype="102" href="https://community.qlik.com/docs/DOC-8342" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;How To /Missing Manual(18 articles)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 14:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916119#M990540</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-07-27T14:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to apply background color using multiple if statement</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916120#M990542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ipsita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;worked example attached!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH - Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 15:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916120#M990542</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-07-27T15:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to apply background color using multiple if statement</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916121#M990544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ipsita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 3re ways to apply background colors,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1st Way:&lt;/STRONG&gt; Please note, there is&lt;STRONG&gt; no orange color function into QlikView&lt;/STRONG&gt;. Therefore, Orange color will not work and you have to use color code such as, mentioned in 2nd Way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;budget =&lt;/SPAN&gt; 1, Green(),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;budget = &lt;/SPAN&gt;2, Orange(),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;budget &lt;/SPAN&gt;= 3, Red())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd Way:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=If (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;budget =&lt;/SPAN&gt; 1, RGB(0,255,0),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;budget = &lt;/SPAN&gt;2, RGB(255,153,0),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;budget &lt;/SPAN&gt;= 3, RGB(255,0,0))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3rd Way:&lt;/STRONG&gt; (Best way for big projects)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Create variables&lt;SPAN style="font-size: 13.3333330154419px;"&gt; for each color and use them where you need, such as given below:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Settings &amp;gt; Variable Overview &amp;gt; Add &amp;gt; variableName ( ex. &lt;SPAN style="font-size: 13.3333330154419px;"&gt;vColorGreen )&lt;/SPAN&gt; &amp;gt; Select Variable &amp;gt; Give value into variable Definition ( ex. &lt;SPAN style="font-size: 13.3333330154419px;"&gt;RGB(0,255,0) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vColorGreen = &lt;SPAN style="font-size: 13.3333330154419px;"&gt;RGB(0,255,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;vColorOrange = &lt;SPAN style="font-size: 13.3333330154419px;"&gt;RGB(255,153,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vColorRed = &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;RGB(255,0,0)&lt;/SPAN&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=If (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;budget =&lt;/SPAN&gt; 1, $(vColorGreen),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;budget = &lt;/SPAN&gt;2, $(vColorOrange),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;budget &lt;/SPAN&gt;= 3, $(vColorRed))))&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>Mon, 27 Jul 2015 15:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916121#M990544</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2015-07-27T15:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to apply background color using multiple if statement</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916122#M990546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u Ahmed.It worked..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 16:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-apply-background-color-using-multiple-if-statement/m-p/916122#M990546</guid>
      <dc:creator />
      <dc:date>2015-07-27T16:05:26Z</dc:date>
    </item>
  </channel>
</rss>

