<?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: Ignore selection from two fields in an if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-selection-from-two-fields-in-an-if-statement/m-p/928441#M528491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic Jonathan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2015 11:10:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-28T11:10:46Z</dc:date>
    <item>
      <title>Ignore selection from two fields in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selection-from-two-fields-in-an-if-statement/m-p/928439#M528488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an if statement that I use to change the background colour of an expression in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is as simple as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(monthstart(StartDate) &amp;lt;= monthstart(today()) or StartDate &amp;lt; 30, red())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression works as expected, but I would like the expression to ignore a selection from two specific fields in my app as when a user makes selections on those fields, the colour expression doesn't work as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please let me know if it is possible to exclude selections in an if statement and how to do it if possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 10:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selection-from-two-fields-in-an-if-statement/m-p/928439#M528488</guid>
      <dc:creator />
      <dc:date>2015-08-28T10:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selection from two fields in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selection-from-two-fields-in-an-if-statement/m-p/928440#M528489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Possibly this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(monthstart(Only({&amp;lt;Field1=, Field2=&amp;gt;} StartDate)) &amp;lt;= monthstart(today()) or Only({&amp;lt;Field1=, Field2=&amp;gt;} StartDate) &amp;lt; 30, red())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(change Field1, Field2 to the correct fieldnames)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 11:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selection-from-two-fields-in-an-if-statement/m-p/928440#M528489</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-28T11:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selection from two fields in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-selection-from-two-fields-in-an-if-statement/m-p/928441#M528491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic Jonathan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 11:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-selection-from-two-fields-in-an-if-statement/m-p/928441#M528491</guid>
      <dc:creator />
      <dc:date>2015-08-28T11:10:46Z</dc:date>
    </item>
  </channel>
</rss>

