<?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: how to finde max data before a selected data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962588#M956101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your complete answer.&lt;/P&gt;&lt;P&gt;Now how can I add some additional Condition to the expression, for example count person code that in addition to previous condition,&amp;nbsp; their age is less than 30 or something like this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Nov 2015 09:29:40 GMT</pubDate>
    <dc:creator>marjan_it</dc:creator>
    <dc:date>2015-11-14T09:29:40Z</dc:date>
    <item>
      <title>how to finde max data before a selected data</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962584#M956097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PersonCode&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;RegisteredDate&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11/9/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10/4/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7/4/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11/8/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23/7/2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table like this.and I have registeredDate in Listbox. when I Clike on a date in registeredDate I want to find&amp;nbsp; maximum Date of personcode that is lower or equal tahan the selected registered Date.&lt;/P&gt;&lt;P&gt;for example when I clik on 11/8/2015 return 10/4/2015 for personcode=1 and return 11/8/2015 for personcode=2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962584#M956097</guid>
      <dc:creator>marjan_it</dc:creator>
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to finde max data before a selected data</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962585#M956098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Look at the attached example. It uses set analysis and dollar sign expansion to go outside of the current selection on the date. When using dates in set analysis I find it easiest to have a numeric version of the field. The table to the left with the source data is in another alternate state and is not affected by the changes in the field to the right. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 19:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962585#M956098</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2015-11-09T19:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to finde max data before a selected data</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962586#M956099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your complete answer. It is work by GREGORIAN_DATE. but I have another problem. I shoud change my date to persian date and in selective listbox use persian date. when I change date to persian it is not work again.&lt;/P&gt;&lt;P&gt;for changin to persian I try both way use of m2sh function and use of a table with 2 field &lt;SPAN style="font-size: 13.3333px;"&gt;GREGORIAN_DATE and its equivalent&amp;nbsp; persian date. but it does not work. what shuld I do now?!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 07:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962586#M956099</guid>
      <dc:creator>marjan_it</dc:creator>
      <dc:date>2015-11-10T07:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to finde max data before a selected data</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962587#M956100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I have never worked with Persian dates. If the Persian date is in another field you probably need to remove that selection in the set analysis as well:&lt;BR /&gt;date(max({&amp;lt;PersianPregisteredDate=, RegisteredDate=, RegisteredDateNum={"&amp;lt;= $(=RegisteredDateNum)"}&amp;gt;} RegisteredDate),'D/M/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 20:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962587#M956100</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2015-11-10T20:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to finde max data before a selected data</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962588#M956101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your complete answer.&lt;/P&gt;&lt;P&gt;Now how can I add some additional Condition to the expression, for example count person code that in addition to previous condition,&amp;nbsp; their age is less than 30 or something like this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 09:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-finde-max-data-before-a-selected-data/m-p/962588#M956101</guid>
      <dc:creator>marjan_it</dc:creator>
      <dc:date>2015-11-14T09:29:40Z</dc:date>
    </item>
  </channel>
</rss>

