<?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 Re: Calculate weekend date from week and year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-weekend-date-from-week-and-year/m-p/679196#M246324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MakeWeekDate(year, week, 6) = Sunday&lt;/P&gt;&lt;P&gt;MakeWeekDate(year, week, 5) = Saturday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Sep 2014 08:25:57 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-09-01T08:25:57Z</dc:date>
    <item>
      <title>Calculate weekend date from week and year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-weekend-date-from-week-and-year/m-p/679194#M246322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have week and year with me and I want to find weekend date from that.&lt;/P&gt;&lt;P&gt;I have used this logic&lt;/P&gt;&lt;P&gt;floor(num(date((MakeDate(left(trim([Year Week]),4),1,1)-WEEKDAY(MakeDate(left(trim([Year Week]),4),1,3))+ WEEK *7) + 1) ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but If I check&amp;nbsp; 01-Jan-2012 but its weekend comes 31-Dec whereas it should come as 01-Jan .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to correct it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in anticipation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 07:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-weekend-date-from-week-and-year/m-p/679194#M246322</guid>
      <dc:creator>neha_sri</dc:creator>
      <dc:date>2014-09-01T07:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate weekend date from week and year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-weekend-date-from-week-and-year/m-p/679195#M246323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LunarWeekend()&lt;/P&gt;&lt;P&gt;LunarWeekStart()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;LunarWeekStart(YearStart(Today()))&lt;/P&gt;&lt;P&gt;LunarWeekEnd(YearStart(Today()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 07:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-weekend-date-from-week-and-year/m-p/679195#M246323</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-01T07:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate weekend date from week and year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-weekend-date-from-week-and-year/m-p/679196#M246324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MakeWeekDate(year, week, 6) = Sunday&lt;/P&gt;&lt;P&gt;MakeWeekDate(year, week, 5) = Saturday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 08:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-weekend-date-from-week-and-year/m-p/679196#M246324</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-01T08:25:57Z</dc:date>
    </item>
  </channel>
</rss>

