<?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 Statement with multiple conditions on a straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-Statement-with-multiple-conditions-on-a-straight-table/m-p/227210#M79333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any issues there. Are you trying to display the Watch expression without the Check fields?&lt;/P&gt;&lt;P&gt;If so, try:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;IF (LR_Delq &amp;gt;= .05 AND AEB &amp;gt;= 1000000, 'Watch', 'OK' )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It looks like Watch should display if both Check conditions are false, so I'm using the opposite of those consitionals. You could also switch around the True and False values in the equation and keep your same conditions.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;IF (LR_Delq &amp;lt; .05 AND AEB &amp;lt; 1000000, 'OK', 'Watch')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Either of those should be equivilent to your statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2009 22:40:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-28T22:40:56Z</dc:date>
    <item>
      <title>IF Statement with multiple conditions on a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-with-multiple-conditions-on-a-straight-table/m-p/227209#M79332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a straight table in which I have created variables. I want to use the value of the variables in a IF statement. I am not able to get the multiple if statament to work.&lt;/P&gt;&lt;P&gt;I have created variables under the expressions tab.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Check 1&lt;/STRONG&gt; = If (LR_Delq &amp;lt; .05, 'No Delqs', 'X') // If LR_Delq is less than .05 THEN put No Delqs as Check 1 value ELSE put X as check 1 value&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Check 2&lt;/STRONG&gt; = IF (AEB &amp;lt; 1000000, 'Less than $1Mil', 'X') // If AEB is less than 1Mil then put Less than 1 Mil in Check 2 ELSE put X as the value in Check 2&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Watch&lt;/STRONG&gt; = IF ([Check 1] = 'X' AND [Check 2] = 'X', 'Watch', 'OK' ) // IF Check 1 and Check 2 have the value X then place Watch as the value ELSE record is ok and place OK in as the value in Watch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I check both conditions in one statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 21:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-with-multiple-conditions-on-a-straight-table/m-p/227209#M79332</guid>
      <dc:creator>ttwward</dc:creator>
      <dc:date>2009-10-28T21:29:57Z</dc:date>
    </item>
    <item>
      <title>IF Statement with multiple conditions on a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-with-multiple-conditions-on-a-straight-table/m-p/227210#M79333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any issues there. Are you trying to display the Watch expression without the Check fields?&lt;/P&gt;&lt;P&gt;If so, try:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;IF (LR_Delq &amp;gt;= .05 AND AEB &amp;gt;= 1000000, 'Watch', 'OK' )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It looks like Watch should display if both Check conditions are false, so I'm using the opposite of those consitionals. You could also switch around the True and False values in the equation and keep your same conditions.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;IF (LR_Delq &amp;lt; .05 AND AEB &amp;lt; 1000000, 'OK', 'Watch')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Either of those should be equivilent to your statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 22:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-with-multiple-conditions-on-a-straight-table/m-p/227210#M79333</guid>
      <dc:creator />
      <dc:date>2009-10-28T22:40:56Z</dc:date>
    </item>
    <item>
      <title>IF Statement with multiple conditions on a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-with-multiple-conditions-on-a-straight-table/m-p/227211#M79334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this our&lt;/P&gt;&lt;P&gt;If(LR_Delq &amp;lt; .05, 'No Delqs',If(AEB &amp;lt; 1000000, 'Less than $1Mil','X'))&lt;/P&gt;&lt;P&gt;Talha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 22:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-with-multiple-conditions-on-a-straight-table/m-p/227211#M79334</guid>
      <dc:creator />
      <dc:date>2009-10-28T22:50:48Z</dc:date>
    </item>
  </channel>
</rss>

