<?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: Above Date Compare in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Above-Date-Compare/m-p/1620089#M445705</link>
    <description>&lt;P&gt;How silly of me to not think of 'BELOW' too. That's worked for me, thanks Sunny!&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 13:34:34 GMT</pubDate>
    <dc:creator>keithlawrence</dc:creator>
    <dc:date>2019-09-04T13:34:34Z</dc:date>
    <item>
      <title>Above Date Compare</title>
      <link>https://community.qlik.com/t5/QlikView/Above-Date-Compare/m-p/1619915#M445684</link>
      <description>&lt;P&gt;I have a need to put a chart my dashboard that looks at dates in the above row and compare it to information in the current row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a basic view of my data:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;ID, Name, Start Date, End Date&lt;BR /&gt;123, ABC DEF, 16/10/2017, 10/07/2018&lt;BR /&gt;234, ABC DEF, 13/04/2018,&lt;BR /&gt;124, GHJ KLM, 02/03/2018, 16/03/2018&lt;BR /&gt;237, GHJ KLM, 30/04/2018,&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first name has a start date which is before the end date of the prior row. I can get an expression to flag this row as being invalid but I need to flag both rows which is where I'm failing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using this formula:&lt;/P&gt;&lt;P&gt;If( Above( TOTAL [Name] ) = [Name],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If( [Start Date] - Above( TOTAL [End Date] ) &amp;lt; 0,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; ),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0 )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It flags my second row with a 1. I need a 1 to appear in BOTH rows so I can limit the table to anything over 0. I'm sure I need to use an aggr but I can't get the function to return any results. Even looked at RangeSum but again not getting what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone offer any advice?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Above-Date-Compare/m-p/1619915#M445684</guid>
      <dc:creator>keithlawrence</dc:creator>
      <dc:date>2024-11-16T02:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Above Date Compare</title>
      <link>https://community.qlik.com/t5/QlikView/Above-Date-Compare/m-p/1620016#M445688</link>
      <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(
	(Above(TOTAL [Name]) = [Name] and [Start Date] - Above(TOTAL [End Date]) &amp;lt; 0) or
	(Below(TOTAL [Name]) = [Name] and Below(TOTAL [Start Date]) - [End Date] &amp;lt; 0)
, 1, 0)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 04 Sep 2019 12:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Above-Date-Compare/m-p/1620016#M445688</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-04T12:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Above Date Compare</title>
      <link>https://community.qlik.com/t5/QlikView/Above-Date-Compare/m-p/1620089#M445705</link>
      <description>&lt;P&gt;How silly of me to not think of 'BELOW' too. That's worked for me, thanks Sunny!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 13:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Above-Date-Compare/m-p/1620089#M445705</guid>
      <dc:creator>keithlawrence</dc:creator>
      <dc:date>2019-09-04T13:34:34Z</dc:date>
    </item>
  </channel>
</rss>

