<?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: Nested If not working :( in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832031#M292778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;If(Wildmatch(Incident_SLA_Target_Day_New,'Unknown'),'Unknown',If(Wildmatch(Incident_SLA_Target_Day_New,'Awaiting Information'),'Awaiting Information',&lt;BR /&gt; If(Wildmatch(Status,'CLOSED'),if(((Amended_Duration) / Incident_SLA_Target_Day * 100)&amp;gt;=95,'SLA Breached','Not Breached'),&lt;BR /&gt; If(Wildmatch(Status,'ACTIVE'),if(((Amended_Duration) / Incident_SLA_Target_Day * 100)&amp;gt;=95,'SLA Breached',if(((Amended_Duration) / Incident_SLA_Target_Day * 100)&amp;lt;75,'Safe','Danger'&lt;BR /&gt; &lt;BR /&gt; ))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But please have a check on the brackets and syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2015 09:45:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-11T09:45:01Z</dc:date>
    <item>
      <title>Nested If not working :(</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832027#M292774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help with a nested If statement.&amp;nbsp; It's not giving me what I need.&amp;nbsp; I have two main criteria : CLOSED Status and ACTIVE status.&amp;nbsp; For CLOSED status there could only be two scenarios : OUT of breach and NOT breached.&amp;nbsp; For ACTIVE status theres are a few scenarios.&amp;nbsp; But for some reason all my ACTIVE scenarios are returned even when the Status is CLOSED. Here is my current Nested If.&amp;nbsp; Or maybe you can propose another method :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;UPPER&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) = 'CLOSED' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;And&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amended_Duration&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_SLA_Target_Day&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * 100&amp;nbsp; &amp;gt;= 95, 'SLA Breached',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;UPPER&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) = 'CLOSED' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;And&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amended_Duration&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_SLA_Target_Day&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * 100&amp;nbsp; &amp;lt; 95, 'Not Breached',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_SLA_Target_Day_New&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = 'Unknown' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;AND&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = 'ACTIVE', 'Unknown',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_SLA_Target_Day_New&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = 'Awaiting Information', 'Awaiting Information',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = 'ACTIVE' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amended_Duration&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_SLA_Target_Day&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * 100&amp;nbsp; &amp;gt;= 95, 'SLA Breached',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = 'ACTIVE' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;And&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amended_Duration&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_SLA_Target_Day&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * 100&amp;nbsp; &amp;gt;= 75 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;And&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amended_Duration&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_SLA_Target_Day&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * 100&amp;nbsp; &amp;lt; 95, 'Danger',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = 'ACTIVE' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;And&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amended_Duration&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_SLA_Target_Day&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * 100&amp;nbsp; &amp;lt; 75, 'Safe',&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_Final_SLA_Status &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832027#M292774</guid>
      <dc:creator />
      <dc:date>2015-05-11T09:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If not working :(</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832028#M292775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post your data or qvw file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832028#M292775</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-05-11T09:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If not working :(</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832029#M292776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The IF statement looks good. The only thing I observed is that you have only used UPPER(Status) when CLOSED. Why is that so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832029#M292776</guid>
      <dc:creator />
      <dc:date>2015-05-11T09:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If not working :(</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832030#M292777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats just one of the things I've tried when nothing else worked....&amp;nbsp; The original data only has Uppercase though, so I doubt it would make a difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:44:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832030#M292777</guid>
      <dc:creator />
      <dc:date>2015-05-11T09:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If not working :(</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832031#M292778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;If(Wildmatch(Incident_SLA_Target_Day_New,'Unknown'),'Unknown',If(Wildmatch(Incident_SLA_Target_Day_New,'Awaiting Information'),'Awaiting Information',&lt;BR /&gt; If(Wildmatch(Status,'CLOSED'),if(((Amended_Duration) / Incident_SLA_Target_Day * 100)&amp;gt;=95,'SLA Breached','Not Breached'),&lt;BR /&gt; If(Wildmatch(Status,'ACTIVE'),if(((Amended_Duration) / Incident_SLA_Target_Day * 100)&amp;gt;=95,'SLA Breached',if(((Amended_Duration) / Incident_SLA_Target_Day * 100)&amp;lt;75,'Safe','Danger'&lt;BR /&gt; &lt;BR /&gt; ))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But please have a check on the brackets and syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832031#M292778</guid>
      <dc:creator />
      <dc:date>2015-05-11T09:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If not working :(</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832032#M292779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;it's not clear how&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amended_Duration&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_SLA_Target_Day&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * 100 &lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;has to be considered in combination of&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Incident_SLA_Target_Day_New &lt;SPAN style="color: #333333; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;value: when &lt;SPAN style="font-size: 9pt; font-family: 'Courier New';"&gt;'Unknown', &lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;when &lt;/SPAN&gt; '&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New';"&gt;Awaiting Information' &lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;or could it assume other values?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="color: #333333; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Here a more compact version of your expression:&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF (UPPER(Status) = 'CLOSED', if((Amended_Duration) / Incident_SLA_Target_Day * 100&amp;nbsp; &amp;gt;= 95, 'SLA Breached', 'Not Breached'),&lt;/P&gt;&lt;P&gt;IF(Incident_SLA_Target_Day_New = 'Unknown', 'Unknown', &lt;/P&gt;&lt;P&gt;IF(Incident_SLA_Target_Day_New = 'Awaiting Information', 'Awaiting Information',&lt;/P&gt;&lt;P&gt;IF((Amended_Duration) / Incident_SLA_Target_Day * 100&amp;nbsp; &amp;gt;= 95, 'SLA Breached',&lt;/P&gt;&lt;P&gt;IF((Amended_Duration) / Incident_SLA_Target_Day * 100&amp;nbsp; &amp;gt;= 75 And (Amended_Duration) / Incident_SLA_Target_Day * 100&amp;nbsp; &amp;lt; 95, 'Danger', 'Safe'&lt;/P&gt;&lt;P&gt;))))) As Incident_Final_SLA_Status &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832032#M292779</guid>
      <dc:creator>mrossoit</dc:creator>
      <dc:date>2015-05-11T09:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If not working :(</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832033#M292780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please attached the sample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832033#M292780</guid>
      <dc:creator>sagarkharpude</dc:creator>
      <dc:date>2015-05-11T09:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If not working :(</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832034#M292781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll give this a go quickly... Thanks Mass&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832034#M292781</guid>
      <dc:creator />
      <dc:date>2015-05-11T09:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If not working :(</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832035#M292782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((Amended_Duration) / Incident_SLA_Target_Day * 100 &amp;gt;= 95, 'SLA Breached',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(UPPER(Status) = 'CLOSED' AND (Amended_Duration) / Incident_SLA_Target_Day * 100&amp;nbsp; &amp;lt; 95, 'Not Breached',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(UPPER(Status) = 'ACTIVE' And (Amended_Duration) / Incident_SLA_Target_Day * 100&amp;nbsp; &amp;gt;= 75 And (Amended_Duration) / Incident_SLA_Target_Day * 100&amp;nbsp; &amp;lt; 95, 'Danger',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(UPPER(Status) = 'ACTIVE' And (Amended_Duration) / Incident_SLA_Target_Day * 100&amp;nbsp; &amp;lt; 75, 'Safe',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Incident_SLA_Target_Day_New = 'Awaiting Information', 'Awaiting Information','Unknown')&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-not-working/m-p/832035#M292782</guid>
      <dc:creator />
      <dc:date>2015-05-11T09:57:37Z</dc:date>
    </item>
  </channel>
</rss>

