<?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: Next and Previous date based on current date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Next-and-Previous-date-based-on-current-date/m-p/1665307#M50063</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use a set expression like so for previous date:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Max({&amp;lt;Date = {"&amp;lt;=$(=Date(Today()))"}&amp;gt;} Date)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;And like so for the next:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Min({&amp;lt;Date = {"&amp;gt;$(=Date(Today()))"}&amp;gt;} Date)&lt;/LI-CODE&gt;&lt;P&gt;Remember to be mindful of date formats!&lt;/P&gt;&lt;P&gt;I hope that helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Stoyan&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jan 2020 09:49:43 GMT</pubDate>
    <dc:creator>Stoyan_Terziev</dc:creator>
    <dc:date>2020-01-14T09:49:43Z</dc:date>
    <item>
      <title>Next and Previous date based on current date</title>
      <link>https://community.qlik.com/t5/App-Development/Next-and-Previous-date-based-on-current-date/m-p/1665300#M50062</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;12/27/19&lt;/P&gt;&lt;P&gt;1/15/20&lt;/P&gt;&lt;P&gt;2/13/20&lt;/P&gt;&lt;P&gt;I need to find the next date and the previous date based on today's date in this table.&lt;/P&gt;&lt;P&gt;Ex: Today 1/13/20 then Next date- 1/15/20 Previous date-12/27/19&lt;/P&gt;&lt;P&gt;How can I do that in Qlik Sense?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Next-and-Previous-date-based-on-current-date/m-p/1665300#M50062</guid>
      <dc:creator>Naushad07</dc:creator>
      <dc:date>2024-11-16T19:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Next and Previous date based on current date</title>
      <link>https://community.qlik.com/t5/App-Development/Next-and-Previous-date-based-on-current-date/m-p/1665307#M50063</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use a set expression like so for previous date:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Max({&amp;lt;Date = {"&amp;lt;=$(=Date(Today()))"}&amp;gt;} Date)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;And like so for the next:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Min({&amp;lt;Date = {"&amp;gt;$(=Date(Today()))"}&amp;gt;} Date)&lt;/LI-CODE&gt;&lt;P&gt;Remember to be mindful of date formats!&lt;/P&gt;&lt;P&gt;I hope that helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Stoyan&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 09:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Next-and-Previous-date-based-on-current-date/m-p/1665307#M50063</guid>
      <dc:creator>Stoyan_Terziev</dc:creator>
      <dc:date>2020-01-14T09:49:43Z</dc:date>
    </item>
  </channel>
</rss>

