<?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, Date-calendar, replace, if, range of date, getfieldselection in a if in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-Date-calendar-replace-if-range-of-date-getfieldselection-in/m-p/1780512#M60709</link>
    <description>&lt;P&gt;&lt;BR /&gt;Good morning, I have a date field valued with '31/12/9999' that would indicate the still active validity of that data, also I have a calendar where to select a date whose max date = today, so I would like to replace the '31/12/9999' of the date field with the selection of the calendar date, otherwise I can not view the records at 31/12/9999, I pended to do:&lt;/P&gt;&lt;P&gt;=replace(DATE_FIELD ,'31/12/9999', getfieldselections(Data_calendar)), but is not valuing getfieldselection, or&lt;/P&gt;&lt;P&gt;=if(DATE_FIELD = date('31/12/9999','DD/MM/YYYY'), dates(GetFieldSelections(Data_calendar),'DD/MM/YYYY'), dates(DATE_FIELD , 'DD/MM/YYYY')) and does not work.&lt;/P&gt;&lt;P&gt;so I tried to put the variable instead of getfieldselections, but it doesn't work, does not value it, I hope I have explained myself, thanks to everyone for the availability, do you have suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx Billy&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:40:39 GMT</pubDate>
    <dc:creator>Billy_u</dc:creator>
    <dc:date>2024-11-16T00:40:39Z</dc:date>
    <item>
      <title>Date, Date-calendar, replace, if, range of date, getfieldselection in a if</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Date-calendar-replace-if-range-of-date-getfieldselection-in/m-p/1780512#M60709</link>
      <description>&lt;P&gt;&lt;BR /&gt;Good morning, I have a date field valued with '31/12/9999' that would indicate the still active validity of that data, also I have a calendar where to select a date whose max date = today, so I would like to replace the '31/12/9999' of the date field with the selection of the calendar date, otherwise I can not view the records at 31/12/9999, I pended to do:&lt;/P&gt;&lt;P&gt;=replace(DATE_FIELD ,'31/12/9999', getfieldselections(Data_calendar)), but is not valuing getfieldselection, or&lt;/P&gt;&lt;P&gt;=if(DATE_FIELD = date('31/12/9999','DD/MM/YYYY'), dates(GetFieldSelections(Data_calendar),'DD/MM/YYYY'), dates(DATE_FIELD , 'DD/MM/YYYY')) and does not work.&lt;/P&gt;&lt;P&gt;so I tried to put the variable instead of getfieldselections, but it doesn't work, does not value it, I hope I have explained myself, thanks to everyone for the availability, do you have suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx Billy&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Date-calendar-replace-if-range-of-date-getfieldselection-in/m-p/1780512#M60709</guid>
      <dc:creator>Billy_u</dc:creator>
      <dc:date>2024-11-16T00:40:39Z</dc:date>
    </item>
  </channel>
</rss>

