<?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: IF Statement within a Text Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-Statement-within-a-Text-Box/m-p/719754#M1069820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(&lt;STRONG&gt;Max&lt;/STRONG&gt;( &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ActivityType&lt;/SPAN&gt;='RiskProgressRAG' &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Qty&lt;/SPAN&gt; = 'Green',1,0))=1, 'Geen'),&lt;/P&gt;&lt;P&gt;If(&lt;STRONG&gt;Max&lt;/STRONG&gt;( &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ActivityType&lt;/SPAN&gt;='RiskProgressRAG' &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Qty&lt;/SPAN&gt; = 'Red',1,0))=1, 'Red'), 'Blank'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2014 09:08:52 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-08-21T09:08:52Z</dc:date>
    <item>
      <title>IF Statement within a Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-within-a-Text-Box/m-p/719752#M1069818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I've used the below formula in a textbox&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ActivityType&lt;/SPAN&gt;='RiskProgressRAG' &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Qty&lt;/SPAN&gt; = 'Green','Green',&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ActivityType&lt;/SPAN&gt;='RiskProgressRAG' &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; = 'Red', 'Red','Blank')) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I'm hoping that this will give me the Text&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Green, Red or Blank. However it only works when i select the ActivityType, otherwise it always returns blank. Is there a formula that will give me the result without having to make the selection within the ActivityType Field. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Many Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 09:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-within-a-Text-Box/m-p/719752#M1069818</guid>
      <dc:creator />
      <dc:date>2014-08-21T09:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement within a Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-within-a-Text-Box/m-p/719753#M1069819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where you need the colour green you have ti mention the RGB Value of green&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ActivityType&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;='RiskProgressRAG' &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Qty&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt; = 'Green', RGB(0,127,0), &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ActivityType&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;='RiskProgressRAG' &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = 'Red', RGB(255,0,0), RGB(255,255,255))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 09:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-within-a-Text-Box/m-p/719753#M1069819</guid>
      <dc:creator>hannan_t</dc:creator>
      <dc:date>2014-08-21T09:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement within a Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-within-a-Text-Box/m-p/719754#M1069820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(&lt;STRONG&gt;Max&lt;/STRONG&gt;( &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ActivityType&lt;/SPAN&gt;='RiskProgressRAG' &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Qty&lt;/SPAN&gt; = 'Green',1,0))=1, 'Geen'),&lt;/P&gt;&lt;P&gt;If(&lt;STRONG&gt;Max&lt;/STRONG&gt;( &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ActivityType&lt;/SPAN&gt;='RiskProgressRAG' &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Qty&lt;/SPAN&gt; = 'Red',1,0))=1, 'Red'), 'Blank'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 09:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-within-a-Text-Box/m-p/719754#M1069820</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-21T09:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement within a Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-within-a-Text-Box/m-p/719755#M1069821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou Very Much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 09:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-within-a-Text-Box/m-p/719755#M1069821</guid>
      <dc:creator />
      <dc:date>2014-08-21T09:44:57Z</dc:date>
    </item>
  </channel>
</rss>

