<?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 The date problem! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227366#M391545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A small challenge regarding dates. I have a table with two dates in it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pic1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156581_pic1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Date B will always be greater than Date A. I also have a another date column(calendar) with a list of continuous date values from 1st Jan 2016 to 31/12/2017. I want to&amp;nbsp; any date from from the calendar column, and then check if the selected date is 10 days ahead of the maximum date in Date A column. If yes then show the ID in the straight table in one column, Date A in next&amp;nbsp; and show the maximum date in Date B in the 3rd column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example &lt;/P&gt;&lt;P&gt;if I select 01/09/2016 from the calendar date column, my straight table below should show me this&lt;/P&gt;&lt;P&gt;A&amp;nbsp; 15/08/2016 15/09/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the only line i should get as ID B has a maximum date in Date A 30/12/2016 is not 10 days ahead of the selected calendar date which is 01/09/2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the data if anyone is willing to have a look. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it should be done using first sorted value, aggr and calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Mar 2017 23:10:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-16T23:10:08Z</dc:date>
    <item>
      <title>The date problem!</title>
      <link>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227366#M391545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A small challenge regarding dates. I have a table with two dates in it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pic1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156581_pic1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Date B will always be greater than Date A. I also have a another date column(calendar) with a list of continuous date values from 1st Jan 2016 to 31/12/2017. I want to&amp;nbsp; any date from from the calendar column, and then check if the selected date is 10 days ahead of the maximum date in Date A column. If yes then show the ID in the straight table in one column, Date A in next&amp;nbsp; and show the maximum date in Date B in the 3rd column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example &lt;/P&gt;&lt;P&gt;if I select 01/09/2016 from the calendar date column, my straight table below should show me this&lt;/P&gt;&lt;P&gt;A&amp;nbsp; 15/08/2016 15/09/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the only line i should get as ID B has a maximum date in Date A 30/12/2016 is not 10 days ahead of the selected calendar date which is 01/09/2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the data if anyone is willing to have a look. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it should be done using first sorted value, aggr and calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 23:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227366#M391545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-16T23:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: The date problem!</title>
      <link>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227367#M391546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting, And we can do the same if you provide QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 03:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227367#M391546</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-17T03:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: The date problem!</title>
      <link>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227368#M391547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌will upload in a bit. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 08:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227368#M391547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-17T08:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: The date problem!</title>
      <link>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227369#M391548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've now attached the qvw file with data loaded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 09:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227369#M391548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-17T09:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: The date problem!</title>
      <link>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227370#M391549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your example, how are you picking 15/08/2016 for the date? It is neither the min, nor the max date A for ID A? I used Max([Date A]) to get 30/08/2016, but you can change that to whatever you want.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the solution will only work on a single selection of Calendar.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156626_Capture.PNG" style="height: 74px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Knowing you, I am sure this is just the beginning with more to come &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 11:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227370#M391549</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-17T11:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: The date problem!</title>
      <link>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227371#M391550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny. Thanks for your help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on another issue related to average. Would you be able to have a look at it for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link: &lt;A href="https://community.qlik.com/message/1235713"&gt;Simple Average Problem&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 17:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-date-problem/m-p/1227371#M391550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-21T17:11:45Z</dc:date>
    </item>
  </channel>
</rss>

