<?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: sorting by week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1565997#M793999</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for the generic question - Can you sort a dimension by another? I ask this&amp;nbsp; because in my case, I'd like to show only the week number (51, 52,01, 02..) and not the year-week; this is just for aesthetics. Is there a way to accomplish this? Show week numbers but sort the week number of year week? It works perfectly when you sort a dimension on measure (like sales etc.)&amp;nbsp; but somehow it doesn't work when the expression is a dimension&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2019 19:39:44 GMT</pubDate>
    <dc:creator>Aditya</dc:creator>
    <dc:date>2019-04-05T19:39:44Z</dc:date>
    <item>
      <title>sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460605#M793990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a chart sorting it by week but the problem is that I need to show the last weeks of the year then the 1st week of&amp;nbsp; this year ..can any one help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460605#M793990</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460606#M793991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460606#M793991</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-08T12:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460607#M793992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;week number&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;52 (2017)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1 (2018)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2 (2018)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460607#M793992</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-08T12:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460608#M793993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort using YearWeek field rather than just Week... YearWeek will make sure that sorting is also based on Year field and not just week field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460608#M793993</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-08T12:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460609#M793994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new field in the script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Year * 100) + Week as YearWeek&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460609#M793994</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-08T12:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460610#M793995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460610#M793995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-08T12:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460611#M793996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new field like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(Year * 100) + Week as YearWeek&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then may be use this as a dimension&amp;nbsp; or use it for sorting purposes..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460611#M793996</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-08T12:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460612#M793997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would call Year as Sorting option instead Week number this case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460612#M793997</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-08T12:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460613#M793998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks , will try it now and update you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1460613#M793998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-08T12:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1565997#M793999</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for the generic question - Can you sort a dimension by another? I ask this&amp;nbsp; because in my case, I'd like to show only the week number (51, 52,01, 02..) and not the year-week; this is just for aesthetics. Is there a way to accomplish this? Show week numbers but sort the week number of year week? It works perfectly when you sort a dimension on measure (like sales etc.)&amp;nbsp; but somehow it doesn't work when the expression is a dimension&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 19:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1565997#M793999</guid>
      <dc:creator>Aditya</dc:creator>
      <dc:date>2019-04-05T19:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1566078#M794000</link>
      <description>&lt;P&gt;Yes. You can use Week as dimension with YearWeek ascending as sort order.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2019 02:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1566078#M794000</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2019-04-07T02:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: sorting by week</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1566138#M794001</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Create a new field in the script like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Year * 100) + Week as YearWeek&lt;/STRONG&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Be aware that week year expressions created by week and year field will have issues in December certain years.&lt;/P&gt;&lt;P&gt;E.g. 2018-12-31 which is in week 1! and year 2018, but it should not be considered as 201801, but 201901.&lt;/P&gt;&lt;P&gt;An better approach would be to create YearWeek using monthname(dateField,'YYYYMM')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2019 14:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-by-week/m-p/1566138#M794001</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-07T14:59:40Z</dc:date>
    </item>
  </channel>
</rss>

