<?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 number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819509#M1037160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried the Loadorder - Orginal under the sort tab? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2015 14:09:44 GMT</pubDate>
    <dc:creator>nirmalraj_kj</dc:creator>
    <dc:date>2015-01-20T14:09:44Z</dc:date>
    <item>
      <title>Sorting by week number</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819507#M1037158</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 have a listbox which shows me the Weekstart date - Weekend date and the Week number.&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;Dual(num(if( month(WeekStart( RE_DAY) )&amp;lt;&amp;gt; month(RE_DAY), 1 , day(WeekStart( RE_DAY) )),'00')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;amp;' - '&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Num(if( month(WeekEnd(RE_DAY))&amp;lt;&amp;gt; month(RE_DAY), day(RE_DAY) , day(WeekEnd( RE_DAY) )),'00'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If(month(WeekStart( RE_DAY) )&amp;lt;&amp;gt; month( RE_DAY), 1 , day(WeekStart( RE_DAY) ))) &amp;amp;' Week '&amp;amp; Week(RE_DAY)as Weeks&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-01-20_15-50-08.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75760_2015-01-20_15-50-08.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I would like to sort this by Week from smallest to largest e.g &lt;/P&gt;&lt;P&gt;Week 2&lt;/P&gt;&lt;P&gt;Week 3&lt;/P&gt;&lt;P&gt;Week 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this cause the listbox sort propeties is not helping?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 13:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819507#M1037158</guid>
      <dc:creator />
      <dc:date>2015-01-20T13:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by week number</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819508#M1037159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a "formula" checkbox on the "Sort" tab in the dialog, no?&lt;/P&gt;&lt;P&gt;There you can enter the formula (using Subfield()) to split out the number which is the last segment in your constructed "Weeks"_field and specify ascending sort order.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 14:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819508#M1037159</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-01-20T14:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by week number</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819509#M1037160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried the Loadorder - Orginal under the sort tab? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 14:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819509#M1037160</guid>
      <dc:creator>nirmalraj_kj</dc:creator>
      <dc:date>2015-01-20T14:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by week number</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819510#M1037161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to sort tab and select expression .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write&amp;nbsp; &lt;/P&gt;&lt;P&gt;=num(mid(Weeks,15,2))&lt;/P&gt;&lt;P&gt;you need to count your actual strings till 'k' (last string before numeric week no. ex.. 1 ,2 etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your problem will be resolve.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75768_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 14:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819510#M1037161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-20T14:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by week number</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819511#M1037162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 16:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819511#M1037162</guid>
      <dc:creator />
      <dc:date>2015-01-20T16:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by week number</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819512#M1037163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ur welcome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 10:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-week-number/m-p/819512#M1037163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-21T10:50:17Z</dc:date>
    </item>
  </channel>
</rss>

