<?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 problems in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-statement-problems/m-p/245255#M93509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Try this...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;IF( Left([Referral_Date], 2) = '01', Referral_Date, &lt;SPAN style="color: #ff0000;"&gt;'')&lt;/SPAN&gt; AS Date2&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I had highlighted else bit in red color.. so that you can replace whatever you wanted.&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cheers - DV&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2011 10:52:44 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2011-06-30T10:52:44Z</dc:date>
    <item>
      <title>if statement problems</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-problems/m-p/245254#M93508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(left([Referral_Date], 2) = '01'), Referral_Date as Date2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me what is wrong with this if statement? I keep getting this error... "Error in expression:If takes 2-3 parameters" Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 10:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-problems/m-p/245254#M93508</guid>
      <dc:creator />
      <dc:date>2011-06-30T10:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: if statement problems</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-problems/m-p/245255#M93509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Try this...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;IF( Left([Referral_Date], 2) = '01', Referral_Date, &lt;SPAN style="color: #ff0000;"&gt;'')&lt;/SPAN&gt; AS Date2&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I had highlighted else bit in red color.. so that you can replace whatever you wanted.&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cheers - DV&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 10:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-problems/m-p/245255#M93509</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-06-30T10:52:44Z</dc:date>
    </item>
  </channel>
</rss>

