<?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 Days from date field value filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Days-from-date-field-value-filter/m-p/1565437#M41178</link>
    <description>&lt;P&gt;I've been struggling with a requirement for a couple of weeks now that I can't seem to get right. It seems like it should be a simple one, but I'm not getting the results I'm looking for.&lt;/P&gt;&lt;P&gt;I have a date field in my data set called DISCHARGE_DATE, and another called ADMIT_DATE. I want to create a filter like "10 days, 20 days, 30 days, est..." that will filter for all admit dates occurring within those days of a DISCHARGE_DATE. Where I'm at now:&lt;/P&gt;&lt;P&gt;=if(ADMIT_DATE&amp;lt;=date(DISCHARGE_DATE,+10),'10 Days',if(ADMIT_DATE&amp;lt;=date(DISCHARGE_DATE,+20),'20 Days',''))&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2019 20:11:01 GMT</pubDate>
    <dc:creator>sgagliardi</dc:creator>
    <dc:date>2019-04-04T20:11:01Z</dc:date>
    <item>
      <title>Days from date field value filter</title>
      <link>https://community.qlik.com/t5/App-Development/Days-from-date-field-value-filter/m-p/1565437#M41178</link>
      <description>&lt;P&gt;I've been struggling with a requirement for a couple of weeks now that I can't seem to get right. It seems like it should be a simple one, but I'm not getting the results I'm looking for.&lt;/P&gt;&lt;P&gt;I have a date field in my data set called DISCHARGE_DATE, and another called ADMIT_DATE. I want to create a filter like "10 days, 20 days, 30 days, est..." that will filter for all admit dates occurring within those days of a DISCHARGE_DATE. Where I'm at now:&lt;/P&gt;&lt;P&gt;=if(ADMIT_DATE&amp;lt;=date(DISCHARGE_DATE,+10),'10 Days',if(ADMIT_DATE&amp;lt;=date(DISCHARGE_DATE,+20),'20 Days',''))&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 20:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Days-from-date-field-value-filter/m-p/1565437#M41178</guid>
      <dc:creator>sgagliardi</dc:creator>
      <dc:date>2019-04-04T20:11:01Z</dc:date>
    </item>
  </channel>
</rss>

