<?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 Date Comparison, Difference of Days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Comparison-Difference-of-Days/m-p/291387#M108162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add a filter for my dashboard that will display items that have shipped [Invoice Date] before they were due [Due Date]. My expression is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if ([IN Invoice Date]&amp;lt;[CO Due Date] and&amp;nbsp; NetWorkDays([CO Due Date],[IN Invoice Date] &amp;lt;= 10)&amp;nbsp; and (NetWorkDays([CO Due Date],[IN Invoice Date] &amp;gt;= 0)), NetWorkDays([CO Due Date],[IN Invoice Date]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression displays numbers 1-10 in my filter, but the data does not react to the filter. For example, when 1 is chosen, many orders still show up with more than one working day between the invoice date and the due date. My logic seems sounds and I'm not sure where to proceed from here. Any help would be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2011 17:08:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-15T17:08:24Z</dc:date>
    <item>
      <title>Date Comparison, Difference of Days</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Comparison-Difference-of-Days/m-p/291387#M108162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add a filter for my dashboard that will display items that have shipped [Invoice Date] before they were due [Due Date]. My expression is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if ([IN Invoice Date]&amp;lt;[CO Due Date] and&amp;nbsp; NetWorkDays([CO Due Date],[IN Invoice Date] &amp;lt;= 10)&amp;nbsp; and (NetWorkDays([CO Due Date],[IN Invoice Date] &amp;gt;= 0)), NetWorkDays([CO Due Date],[IN Invoice Date]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression displays numbers 1-10 in my filter, but the data does not react to the filter. For example, when 1 is chosen, many orders still show up with more than one working day between the invoice date and the due date. My logic seems sounds and I'm not sure where to proceed from here. Any help would be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 17:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Comparison-Difference-of-Days/m-p/291387#M108162</guid>
      <dc:creator />
      <dc:date>2011-06-15T17:08:24Z</dc:date>
    </item>
    <item>
      <title>Date Comparison, Difference of Days</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Comparison-Difference-of-Days/m-p/291388#M108163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would just add a field in the script that showed the difference between the two and you can just make selections that way.&amp;nbsp; I don't really know why your method isn't working...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 20:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Comparison-Difference-of-Days/m-p/291388#M108163</guid>
      <dc:creator />
      <dc:date>2011-06-15T20:49:55Z</dc:date>
    </item>
  </channel>
</rss>

