<?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: Storing Date Formatted as YearWeek in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Storing-Date-Formatted-as-YearWeek/m-p/683620#M1083366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that is possible. Try&lt;/P&gt;&lt;P&gt;&amp;nbsp; MakeWeekDate(Left(YearWeek,4),Mid(YearWeek,5,2)) as Date,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2014 08:48:36 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2014-07-01T08:48:36Z</dc:date>
    <item>
      <title>Storing Date Formatted as YearWeek</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-Date-Formatted-as-YearWeek/m-p/683617#M1083363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date in the format YearWeek (e.g. 201214 corresponds to the 14th week in the year 2012). Is there anyway to store this in QlikView in a way that will allow me to use a Master Calander? Everything I've tried so far returns a date in a format similar to '245047' (year=2450 week=47 when it should be year=2012, week=14).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found similar posts that recommend using the weekname() function, but that seems to only work if the date is already formatted in a D/M/Y like format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any suggestions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 22:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-Date-Formatted-as-YearWeek/m-p/683617#M1083363</guid>
      <dc:creator />
      <dc:date>2014-06-30T22:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Storing Date Formatted as YearWeek</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-Date-Formatted-as-YearWeek/m-p/683618#M1083364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is a way to store it in the master calendar as this does not correspond to a VALID date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 23:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-Date-Formatted-as-YearWeek/m-p/683618#M1083364</guid>
      <dc:creator />
      <dc:date>2014-06-30T23:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Storing Date Formatted as YearWeek</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-Date-Formatted-as-YearWeek/m-p/683619#M1083365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what you need is a Week Starting or Week Ending Date along side your YearWeek field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this by building a calendar from scratch&amp;nbsp; with Date, YearWeek and weeks starting/ending date (using WeekStart() or WeekEnd() function). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You then Left Join the generated YearWeek and Week Starting/Ending Date to your your existing data. Make sure to load distinct values for YearWeek and Week Starting/Ending Date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 00:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-Date-Formatted-as-YearWeek/m-p/683619#M1083365</guid>
      <dc:creator />
      <dc:date>2014-07-01T00:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Storing Date Formatted as YearWeek</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-Date-Formatted-as-YearWeek/m-p/683620#M1083366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that is possible. Try&lt;/P&gt;&lt;P&gt;&amp;nbsp; MakeWeekDate(Left(YearWeek,4),Mid(YearWeek,5,2)) as Date,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 08:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-Date-Formatted-as-YearWeek/m-p/683620#M1083366</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-07-01T08:48:36Z</dc:date>
    </item>
  </channel>
</rss>

