<?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: If Expression Using a Date Field and Today in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-Expression-Using-a-Date-Field-and-Today/m-p/1536297#M38704</link>
    <description>&lt;P&gt;If TestDate is a field, and there is more than one possible value in the context of this calculation, then TestDate will evaluate to null, so the expression will be false. Perhaps you need:&lt;/P&gt;&lt;PRE&gt;Sum(If(TestDate &amp;lt;= Today(), ...))&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;Sum({&amp;lt;TestDate = {"&amp;lt;=$(=Today())"}&amp;gt;} ....)&lt;/PRE&gt;</description>
    <pubDate>Tue, 29 Jan 2019 06:12:28 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-01-29T06:12:28Z</dc:date>
    <item>
      <title>If Expression Using a Date Field and Today</title>
      <link>https://community.qlik.com/t5/App-Development/If-Expression-Using-a-Date-Field-and-Today/m-p/1536185#M38694</link>
      <description>&lt;P&gt;I am attempting to write an If Expression using a Date Field and the Today Function.&lt;/P&gt;&lt;P&gt;I currently have:&lt;/P&gt;&lt;P&gt;=IF(TestDate &amp;lt;= Today(), Sum(Cost),&amp;nbsp;'-'))&lt;/P&gt;&lt;P&gt;However, I can only get the else portion of this IF statement to display. Where am I making a mistake in this expression?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 20:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Expression-Using-a-Date-Field-and-Today/m-p/1536185#M38694</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-01-28T20:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: If Expression Using a Date Field and Today</title>
      <link>https://community.qlik.com/t5/App-Development/If-Expression-Using-a-Date-Field-and-Today/m-p/1536191#M38696</link>
      <description>Suggest to Check format of TestDate field</description>
      <pubDate>Mon, 28 Jan 2019 21:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Expression-Using-a-Date-Field-and-Today/m-p/1536191#M38696</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-28T21:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: If Expression Using a Date Field and Today</title>
      <link>https://community.qlik.com/t5/App-Development/If-Expression-Using-a-Date-Field-and-Today/m-p/1536194#M38698</link>
      <description>&lt;P&gt;I believe there are in the same format, however how would I format them to be the same in the event they weren't&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 21:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Expression-Using-a-Date-Field-and-Today/m-p/1536194#M38698</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-01-28T21:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: If Expression Using a Date Field and Today</title>
      <link>https://community.qlik.com/t5/App-Development/If-Expression-Using-a-Date-Field-and-Today/m-p/1536297#M38704</link>
      <description>&lt;P&gt;If TestDate is a field, and there is more than one possible value in the context of this calculation, then TestDate will evaluate to null, so the expression will be false. Perhaps you need:&lt;/P&gt;&lt;PRE&gt;Sum(If(TestDate &amp;lt;= Today(), ...))&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;Sum({&amp;lt;TestDate = {"&amp;lt;=$(=Today())"}&amp;gt;} ....)&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Jan 2019 06:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Expression-Using-a-Date-Field-and-Today/m-p/1536297#M38704</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-01-29T06:12:28Z</dc:date>
    </item>
  </channel>
</rss>

