<?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 Retrieving date field from ListBox Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Retrieving-date-field-from-ListBox-Selection/m-p/1794343#M1211008</link>
    <description>&lt;P&gt;Hey experts,&lt;/P&gt;&lt;P&gt;Retrieving date value selected from Listbox is easy , using&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATE(GetFieldSelections(DATA_DATE))&lt;/P&gt;&lt;P&gt;How to get the previous Max value.&lt;/P&gt;&lt;P&gt;I have last business day of each month in a ListBox starting Jan 31-2020 .&lt;/P&gt;&lt;P&gt;Here are the values :&amp;nbsp;&lt;/P&gt;&lt;P&gt;31-Jan-2020&lt;BR /&gt;28-Feb-2020&lt;BR /&gt;31-Mar-2020&lt;BR /&gt;30-Apr-2020&lt;BR /&gt;29-May-2020&lt;BR /&gt;30-Jun-2020&lt;BR /&gt;31-Jul-2020&lt;BR /&gt;31-Aug-2020&lt;BR /&gt;30-Sep-2020&lt;BR /&gt;30-Oct-2020&lt;BR /&gt;30-Nov-2020&lt;BR /&gt;31-Dec-2020&lt;BR /&gt;29-Jan-2021&lt;BR /&gt;26-Feb-2021&lt;/P&gt;&lt;P&gt;Suppose user selects 30-Jun-2020 , I need Previous Max value 29-May-2020 in a variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 09:24:14 GMT</pubDate>
    <dc:creator>swati_rastogi27</dc:creator>
    <dc:date>2021-03-25T09:24:14Z</dc:date>
    <item>
      <title>Retrieving date field from ListBox Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-date-field-from-ListBox-Selection/m-p/1794343#M1211008</link>
      <description>&lt;P&gt;Hey experts,&lt;/P&gt;&lt;P&gt;Retrieving date value selected from Listbox is easy , using&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATE(GetFieldSelections(DATA_DATE))&lt;/P&gt;&lt;P&gt;How to get the previous Max value.&lt;/P&gt;&lt;P&gt;I have last business day of each month in a ListBox starting Jan 31-2020 .&lt;/P&gt;&lt;P&gt;Here are the values :&amp;nbsp;&lt;/P&gt;&lt;P&gt;31-Jan-2020&lt;BR /&gt;28-Feb-2020&lt;BR /&gt;31-Mar-2020&lt;BR /&gt;30-Apr-2020&lt;BR /&gt;29-May-2020&lt;BR /&gt;30-Jun-2020&lt;BR /&gt;31-Jul-2020&lt;BR /&gt;31-Aug-2020&lt;BR /&gt;30-Sep-2020&lt;BR /&gt;30-Oct-2020&lt;BR /&gt;30-Nov-2020&lt;BR /&gt;31-Dec-2020&lt;BR /&gt;29-Jan-2021&lt;BR /&gt;26-Feb-2021&lt;/P&gt;&lt;P&gt;Suppose user selects 30-Jun-2020 , I need Previous Max value 29-May-2020 in a variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 09:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-date-field-from-ListBox-Selection/m-p/1794343#M1211008</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2021-03-25T09:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving date field from ListBox Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-date-field-from-ListBox-Selection/m-p/1794349#M1211009</link>
      <description>&lt;P&gt;First, you don't need that structure to get the selected value - as long as a value has been selected, you can just use =DATA_DATE. If no value has been selected this won't work, but neither will your formula (you can't date() multiple values).&lt;/P&gt;&lt;P&gt;Second, I believe this should get you the last date that's smaller than the selected one, providing a selection has been made:&lt;/P&gt;&lt;P&gt;max({&amp;lt;DATA_DATE= {"&amp;lt;$(=[DATA_DATE])"} &amp;gt;} DATA_DATE)&lt;/P&gt;&lt;P&gt;Note that this assumes your values are already valid dates, as this won't work correctly on text strings.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 09:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-date-field-from-ListBox-Selection/m-p/1794349#M1211009</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-03-25T09:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving date field from ListBox Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-date-field-from-ListBox-Selection/m-p/1794352#M1211010</link>
      <description>&lt;P&gt;Thanks , that worked!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 09:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-date-field-from-ListBox-Selection/m-p/1794352#M1211010</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2021-03-25T09:58:23Z</dc:date>
    </item>
  </channel>
</rss>

