<?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: Table box not sorting correctly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189963#M883920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I modified my load script to include the dual() just like you showed it in above.&lt;/P&gt;&lt;P&gt;It still doesn't sort properly.&amp;nbsp; However if I include "FiscalMonth" in the display as one of the fields, then&lt;/P&gt;&lt;P&gt;it's fine.&amp;nbsp; Am I missing something??&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv6.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138224_qv6.jpg" style="height: 398px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2016 19:56:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-21T19:56:59Z</dc:date>
    <item>
      <title>Table box not sorting correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189959#M883916</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;I have a table box that looks like this.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv4.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138222_qv4.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;but I need the data to be presented like this without showing the "FiscalMonthVal" column to the user.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv5.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/138223_qv5.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I tried using the Sort -&amp;gt; Expression on "FiscalMonthVal" but it doesn't sort properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help or offer some suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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/Table-box-not-sorting-correctly/m-p/1189959#M883916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table box not sorting correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189960#M883917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could create your FiscalMonth values as dual values in your script using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dual(FiscalMonthName, FiscalMonthVal) as FiscalMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then this new field should sort properly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 19:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189960#M883917</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-21T19:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table box not sorting correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189961#M883918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to QV.&amp;nbsp; Could you provide a bit more details (or a snippet would certainly be great)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 19:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189961#M883918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-21T19:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table box not sorting correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189962#M883919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume the three fields in your table box are part of your load script, add the line with dual():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD FiscalYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FiscalMonthName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FiscalMonthVal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp; Dual(FiscalMonthName, FiscalMonthVal) as FiscalMonth&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2830"&gt;Data Types in QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 19:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189962#M883919</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-21T19:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table box not sorting correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189963#M883920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I modified my load script to include the dual() just like you showed it in above.&lt;/P&gt;&lt;P&gt;It still doesn't sort properly.&amp;nbsp; However if I include "FiscalMonth" in the display as one of the fields, then&lt;/P&gt;&lt;P&gt;it's fine.&amp;nbsp; Am I missing something??&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv6.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138224_qv6.jpg" style="height: 398px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 19:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189963#M883920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-21T19:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table box not sorting correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189964#M883921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I a was not clear in my suggestion, I would replace FiscalMonthName and FiscalMonthVal with the new field in the table box (so you only show FiscalYear and FiscalMonth)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 19:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189964#M883921</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-21T19:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table box not sorting correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189965#M883922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I apologize.&amp;nbsp; In looking at your dual() again, I realize I had the columns switched.&amp;nbsp; It should have been&lt;/P&gt;&lt;P&gt;dual(text, number).&amp;nbsp; It's working now.&amp;nbsp; Thanks for the tip !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 19:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189965#M883922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-21T19:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table box not sorting correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189966#M883923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm glad it's working but I don't quite understand how QV sorts though.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is what I ultimately end up having using the dual()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUL1&lt;/P&gt;&lt;P&gt;AUG2&lt;/P&gt;&lt;P&gt;SEP3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then does the sort -&amp;gt; expression actually evaluates only the number portion of the data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 20:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189966#M883923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-21T20:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table box not sorting correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189967#M883924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You shouldn't need to use a sort &lt;EM&gt;expression&lt;/EM&gt; at all, just use a numeric sort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 20:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189967#M883924</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-21T20:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Table box not sorting correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189968#M883925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&amp;nbsp; I see how the dual()&amp;nbsp; function is being used now.&amp;nbsp; I'm still displaying the text (JUL/AUG ...) on the screen&lt;/P&gt;&lt;P&gt;but QV will sort on the "number" portion of this data.&amp;nbsp; Nice tip!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 12:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-box-not-sorting-correctly/m-p/1189968#M883925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-22T12:21:40Z</dc:date>
    </item>
  </channel>
</rss>

