<?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 format code that gives week number? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266674#M497821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Pls replace &amp;lt;Inv Date&amp;gt; with what holds the date in your app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2011 18:45:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-21T18:45:51Z</dc:date>
    <item>
      <title>Date format code that gives week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266672#M497819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Does anyone know if I can get a week number from a QlikView date format code?&amp;nbsp;&amp;nbsp; Maybe something like&amp;nbsp; 2011W43&amp;nbsp; for the 43rd week of 2011 ?&amp;nbsp; I know there's a Week function that returns week number but I'd like to use a date format code so that I can avoid adding another expression to a big chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 18:00:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266672#M497819</guid>
      <dc:creator />
      <dc:date>2011-10-21T18:00:07Z</dc:date>
    </item>
    <item>
      <title>Date format code that gives week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266673#M497820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; try something like =Year([Inv Date])&amp;amp;'W'&amp;amp;Left(WeekName([Inv Date]),2) to get the result in the format YYYYW##.....if that works for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 18:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266673#M497820</guid>
      <dc:creator />
      <dc:date>2011-10-21T18:45:02Z</dc:date>
    </item>
    <item>
      <title>Date format code that gives week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266674#M497821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Pls replace &amp;lt;Inv Date&amp;gt; with what holds the date in your app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 18:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266674#M497821</guid>
      <dc:creator />
      <dc:date>2011-10-21T18:45:51Z</dc:date>
    </item>
    <item>
      <title>Date format code that gives week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266675#M497822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Pls use =Year([Inv Date])&amp;amp;'W'&amp;amp;Right(WeekName([Inv Date]),2) instead of the one above.....my date format was a bit different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 18:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266675#M497822</guid>
      <dc:creator />
      <dc:date>2011-10-21T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Date format code that gives week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266676#M497823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for the reply.&amp;nbsp; I was looking for a date format code not an expression. Oracle has a week of the year code that can be used like this&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO_CHAR(MYDATECOLUMN,'WW').&amp;nbsp; If I had a date format code then I could put it into the Document Properties Number tab and when I use the field in a chart dimension it wouldn't be a calculated dimension. I would need a calculated dimension in order to use an expression in the chart dimension and I wanted to avoid that for performance reasons.&amp;nbsp; I may try loading a small table of dates and week of year field and give the user a cycle group to choose between the regular date or a week of the year date.&amp;nbsp;&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 13:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266676#M497823</guid>
      <dc:creator />
      <dc:date>2011-11-03T13:44:05Z</dc:date>
    </item>
    <item>
      <title>Date format code that gives week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266677#M497825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it's all about avoiding the calculated dimension, why not add a field to your datamodel, with the date formatted like JasleenP_SR suggested? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 15:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266677#M497825</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-03T15:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date format code that gives week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266678#M497828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this might work. Order date format: 'MM/DD/YYYY'&lt;/P&gt;&lt;P&gt;replace(WeekName(OrderDate),'/','W') as WeekNum,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 13:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-code-that-gives-week-number/m-p/266678#M497828</guid>
      <dc:creator />
      <dc:date>2016-07-12T13:28:55Z</dc:date>
    </item>
  </channel>
</rss>

