<?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 prior to MAX date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-prior-to-MAX-date/m-p/1708938#M54411</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have created a dashboard for Accounts Receivable, the data is manually taken from the source system and stored in an excel file containing the date in the name. The date in the name of the file is then used in the dashboard to show the latest balances by using the following formula:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Report Date.autoCalendar.Date]={"$(=date(max([Report Date.autoCalendar.Date]),'DD/MM/YYYY'))"}&amp;gt;}[Balance EUR])&lt;/P&gt;&lt;P&gt;This gives me the latest balance coming from the excel file with the latest date. However i would like to add a feature to the&amp;nbsp; dashboard that it shows also the change versus the prior download. This way we can see easily which invoices were paid or which new invoices have been issued.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So basically it would still be the above mentioned formula, but instead of finding the MAX date, i need to find the date prior to MAX date. How can i do that? I cannot&amp;nbsp; work with a fixed interval of days, because we run the report manually and it is not&amp;nbsp; always exactly 1 week in between.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2020 08:11:02 GMT</pubDate>
    <dc:creator>StephanK</dc:creator>
    <dc:date>2020-06-08T08:11:02Z</dc:date>
    <item>
      <title>Date prior to MAX date</title>
      <link>https://community.qlik.com/t5/App-Development/Date-prior-to-MAX-date/m-p/1708938#M54411</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have created a dashboard for Accounts Receivable, the data is manually taken from the source system and stored in an excel file containing the date in the name. The date in the name of the file is then used in the dashboard to show the latest balances by using the following formula:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Report Date.autoCalendar.Date]={"$(=date(max([Report Date.autoCalendar.Date]),'DD/MM/YYYY'))"}&amp;gt;}[Balance EUR])&lt;/P&gt;&lt;P&gt;This gives me the latest balance coming from the excel file with the latest date. However i would like to add a feature to the&amp;nbsp; dashboard that it shows also the change versus the prior download. This way we can see easily which invoices were paid or which new invoices have been issued.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So basically it would still be the above mentioned formula, but instead of finding the MAX date, i need to find the date prior to MAX date. How can i do that? I cannot&amp;nbsp; work with a fixed interval of days, because we run the report manually and it is not&amp;nbsp; always exactly 1 week in between.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 08:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-prior-to-MAX-date/m-p/1708938#M54411</guid>
      <dc:creator>StephanK</dc:creator>
      <dc:date>2020-06-08T08:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date prior to MAX date</title>
      <link>https://community.qlik.com/t5/App-Development/Date-prior-to-MAX-date/m-p/1708940#M54412</link>
      <description>&lt;P&gt;You are essentially looking foe &lt;STRONG&gt;second-max&lt;/STRONG&gt; date. Try using rank parameter in max(), like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;max([Report Date.autoCalendar.Date]&amp;nbsp;&lt;STRONG&gt;, 2&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 08:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-prior-to-MAX-date/m-p/1708940#M54412</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-06-08T08:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date prior to MAX date</title>
      <link>https://community.qlik.com/t5/App-Development/Date-prior-to-MAX-date/m-p/1708948#M54414</link>
      <description>&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;Wow that was quick and easier&amp;nbsp; than expected &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 08:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-prior-to-MAX-date/m-p/1708948#M54414</guid>
      <dc:creator>StephanK</dc:creator>
      <dc:date>2020-06-08T08:24:41Z</dc:date>
    </item>
  </channel>
</rss>

