<?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: Background Color Expression Issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-Issue/m-p/1809521#M65963</link>
    <description>&lt;P&gt;&lt;SPAN&gt;LastUsedASIA would need to be a date field for Today() - [LastUsedASIA] &amp;lt; 14 to make sense.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 May 2021 16:22:49 GMT</pubDate>
    <dc:creator>GaryGiles</dc:creator>
    <dc:date>2021-05-20T16:22:49Z</dc:date>
    <item>
      <title>Background Color Expression Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-Issue/m-p/1809496#M65959</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an background color expression as below for a field (Field A&amp;nbsp; is made up of an expression)&lt;/P&gt;&lt;P&gt;=if([User Access Last&amp;nbsp; Used APAC] = 'Never', RGB(255,150,150),&lt;BR /&gt;if(Today() - [User Access Last Used APAC] OR Today() - [LastUsedASIA] &amp;lt; 14 , RGB(150,255,150),&lt;BR /&gt;if(Today() - [User Access Last Used APAC] &amp;lt; 30 , RGB(255,255,000),&lt;BR /&gt;if(Today() - [User Access Last Used APAC] &amp;lt; 60 , RGB(255,180,000), RGB(255,150,150) ))))&lt;/P&gt;&lt;P&gt;The issue is that the second IF condition is not working. (especially this one -&amp;nbsp;Today() - [LastUsedASIA] )&lt;/P&gt;&lt;P&gt;Can anyone please suggest me what is wrong?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 15:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Color-Expression-Issue/m-p/1809496#M65959</guid>
      <dc:creator>jpjust</dc:creator>
      <dc:date>2021-05-20T15:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color Expression Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-Issue/m-p/1809503#M65960</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You need to specify &amp;lt; 14 for both sides of the OR operator, like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=if([User Access Last&amp;nbsp; Used APAC] = 'Never', RGB(255,150,150),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(Today() - [User Access Last Used APAC] &amp;lt; 14 OR Today() - [LastUsedASIA] &amp;lt; 14 , RGB(150,255,150),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(Today() - [User Access Last Used APAC] &amp;lt; 30 , RGB(255,255,000),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(Today() - [User Access Last Used APAC] &amp;lt; 60 , RGB(255,180,000), RGB(255,150,150) ))))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 15:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Color-Expression-Issue/m-p/1809503#M65960</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-05-20T15:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color Expression Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-Issue/m-p/1809512#M65962</link>
      <description>&lt;P&gt;Thanks Gary for the response.&lt;/P&gt;&lt;P&gt;I wish it would work but it is still not working.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For eg.,&amp;nbsp; [User Access Last Used APAC] is empty and&amp;nbsp;[LastUsedASIA] is 2 , so I think the OR condition should&amp;nbsp;take care of this and should highlight with the color&amp;nbsp;RGB(150,255,150) but it is the taking the first IF condition and highlighting as&amp;nbsp;RGB(255,150,150)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 15:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Color-Expression-Issue/m-p/1809512#M65962</guid>
      <dc:creator>jpjust</dc:creator>
      <dc:date>2021-05-20T15:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color Expression Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-Issue/m-p/1809521#M65963</link>
      <description>&lt;P&gt;&lt;SPAN&gt;LastUsedASIA would need to be a date field for Today() - [LastUsedASIA] &amp;lt; 14 to make sense.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 16:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Color-Expression-Issue/m-p/1809521#M65963</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-05-20T16:22:49Z</dc:date>
    </item>
  </channel>
</rss>

