<?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 IF Statements in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-Statements/m-p/408851#M1157287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I have a table where one field has a list of code (4 Number or Letters)&lt;/P&gt;&lt;P&gt;2. I only want to view the codes with all 4 digits being letter i.e. ABCD&lt;/P&gt;&lt;P&gt;3. Can I use an IF statement to change the codes &amp;lt;= 9999 to show as -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel If Statement would be;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =IF(A1 =&amp;lt; 9999, "-", A1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming that the range above would be the 'Column Name' in QV!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight forward but this doesn't work as an expression against the field!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew Savage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2013 15:03:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-05T15:03:34Z</dc:date>
    <item>
      <title>IF Statements</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statements/m-p/408851#M1157287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I have a table where one field has a list of code (4 Number or Letters)&lt;/P&gt;&lt;P&gt;2. I only want to view the codes with all 4 digits being letter i.e. ABCD&lt;/P&gt;&lt;P&gt;3. Can I use an IF statement to change the codes &amp;lt;= 9999 to show as -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel If Statement would be;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =IF(A1 =&amp;lt; 9999, "-", A1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming that the range above would be the 'Column Name' in QV!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight forward but this doesn't work as an expression against the field!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew Savage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 15:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statements/m-p/408851#M1157287</guid>
      <dc:creator />
      <dc:date>2013-03-05T15:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statements</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statements/m-p/408852#M1157288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;P&gt;=IF(Num(A1) &amp;gt; 0, Null(), A1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 15:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statements/m-p/408852#M1157288</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-03-05T15:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statements</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statements/m-p/408853#M1157289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Len(KeepChar(A1, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')) = Len(A1), A1, '-')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 15:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statements/m-p/408853#M1157289</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-03-05T15:16:44Z</dc:date>
    </item>
  </channel>
</rss>

