<?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 If im within the last 2 calendar weeks from a date, give back a certain answer in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-im-within-the-last-2-calendar-weeks-from-a-date-give-back-a/m-p/1775282#M718286</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gustavofred_0-1610977615600.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/47258i90FDDFD403954937/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gustavofred_0-1610977615600.png" alt="gustavofred_0-1610977615600.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to visualize it in the image.&lt;/P&gt;&lt;P&gt;I have a special data (lets say 22.02.2021) and i want to give back the answer "yes", if my currently selected CALENDAR WEEK is within the last 2 calendar weeks (red line) from my special date.&lt;/P&gt;&lt;P&gt;i tried something like:&lt;/P&gt;&lt;P&gt;if(special_date&amp;gt;=Date(MakeWeekDate(Year,CW,0)-14) and special_date&amp;lt;Date(MakeWeekDate(Year,CW,6)-7) and ,'Yes','No')&lt;/P&gt;&lt;P&gt;the date is always a fix data, it cant be changed! The CW and the year is variable and is based on a selection.&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 05:48:42 GMT</pubDate>
    <dc:creator>gustavofred</dc:creator>
    <dc:date>2021-01-19T05:48:42Z</dc:date>
    <item>
      <title>If im within the last 2 calendar weeks from a date, give back a certain answer</title>
      <link>https://community.qlik.com/t5/QlikView/If-im-within-the-last-2-calendar-weeks-from-a-date-give-back-a/m-p/1775282#M718286</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gustavofred_0-1610977615600.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/47258i90FDDFD403954937/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gustavofred_0-1610977615600.png" alt="gustavofred_0-1610977615600.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to visualize it in the image.&lt;/P&gt;&lt;P&gt;I have a special data (lets say 22.02.2021) and i want to give back the answer "yes", if my currently selected CALENDAR WEEK is within the last 2 calendar weeks (red line) from my special date.&lt;/P&gt;&lt;P&gt;i tried something like:&lt;/P&gt;&lt;P&gt;if(special_date&amp;gt;=Date(MakeWeekDate(Year,CW,0)-14) and special_date&amp;lt;Date(MakeWeekDate(Year,CW,6)-7) and ,'Yes','No')&lt;/P&gt;&lt;P&gt;the date is always a fix data, it cant be changed! The CW and the year is variable and is based on a selection.&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 05:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-im-within-the-last-2-calendar-weeks-from-a-date-give-back-a/m-p/1775282#M718286</guid>
      <dc:creator>gustavofred</dc:creator>
      <dc:date>2021-01-19T05:48:42Z</dc:date>
    </item>
  </channel>
</rss>

