<?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: binary load and order by in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588673#M218303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it works if i do order by in the original one but i can not do it there because i need to binary load this file in many different report qvws and all have different requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 11:39:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-18T11:39:23Z</dc:date>
    <item>
      <title>binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588671#M218301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;i am doing binary load of my data model in my report qvw.&lt;/P&gt;&lt;P&gt;i want to do "order by" operation on the table which has come as part of binary load in my report qvw but it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any relation between binary load and order by?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Binary data.qvw;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Txn:&lt;/P&gt;&lt;P&gt;Load * resident Tmp_Txn&lt;/P&gt;&lt;P&gt;where isnull(IsInvTable)&lt;/P&gt;&lt;P&gt;order by TxnId, TxnDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Tmp_Txn has come from binary load.&lt;/P&gt;&lt;P&gt;the "where" clause works but 'order by" has no effect.&lt;/P&gt;&lt;P&gt;Am i missing anything here?&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 11:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588671#M218301</guid>
      <dc:creator />
      <dc:date>2014-03-18T11:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588672#M218302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should work,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to order in your original document (the one you load into the second) and verify if it works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 11:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588672#M218302</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-18T11:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588673#M218303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it works if i do order by in the original one but i can not do it there because i need to binary load this file in many different report qvws and all have different requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 11:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588673#M218303</guid>
      <dc:creator />
      <dc:date>2014-03-18T11:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588674#M218304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;The Order By works fine&lt;/EM&gt;&lt;/SPAN&gt;, also with a Binary load. However, there is a trap...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do a &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TxnId, TxnDate&lt;/SPAN&gt; Resident ... Order By TxnId, TxnDate;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;then the data table will be sorted correctly, &lt;EM style="text-decoration: underline;"&gt;but the symbol tables will not change&lt;/EM&gt;: The old ones will be used. This means that "Sort by load order" in the UI will not be affected by the Order By.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But if you instead do a &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TxnId as NewID, TxnDate as NewDate&lt;/SPAN&gt; Resident ... Order By TxnId, TxnDate;&lt;/P&gt;&lt;P&gt;then both data tables and symbol tables will be new and sorted according to your demand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See more on &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/11/20/symbol-tables-and-bit-stuffed-pointers" title="http://community.qlik.com/blogs/qlikviewdesignblog/2012/11/20/symbol-tables-and-bit-stuffed-pointers"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/11/20/symbol-tables-and-bit-stuffed-pointers&lt;/A&gt;&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, 18 Mar 2014 14:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588674#M218304</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-03-18T14:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588675#M218305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am going to try this...&lt;/P&gt;&lt;P&gt;few questions...&lt;/P&gt;&lt;P&gt;do i need to rename all columns or just those on which i am doing order by?&lt;/P&gt;&lt;P&gt;so after renaming these columns will be available with new name...is it right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 19:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588675#M218305</guid>
      <dc:creator />
      <dc:date>2014-03-18T19:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588676#M218306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to rename the fields that you want re-ordered. &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, 18 Mar 2014 19:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588676#M218306</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-03-18T19:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588677#M218307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my old script&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Txn:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * resident Tmp_Txn&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where isnull(IsInvTable)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;order by TxnId, TxnDate;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;New script&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *, TxnId as NewID, TxnDate as NewTxnDate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where isnull(IsInvTable)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;order by TxnId, TxnDate;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It is not working.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Do you think it is because of "*" used in the statement because it will bring TxnID and TxnDate as well along with NewID and NewTxnDate?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 02:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588677#M218307</guid>
      <dc:creator />
      <dc:date>2014-03-19T02:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588678#M218308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Unless you specify "NoConcatenate", the&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.727272033691406px; font-family: 'courier new', courier;"&gt;Load * resident Tmp_Txn&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;does not create a new table, correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;2. Why do you want to do the order by? i.e. how will you use that order?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 03:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588678#M218308</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-03-19T03:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588679#M218309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;you try this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Txn:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;noconcatenate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * resident Tmp_Txn&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where isnull(IsInvTable)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;order by TxnId, TxnDate;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;drop table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Tmp_Txn&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 03:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588679#M218309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T03:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588680#M218310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing NoConcatenate in my load script. It is not shown here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to order by because i need to show report in a certain order....in this case it is by TxnID and TxnDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 03:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588680#M218310</guid>
      <dc:creator />
      <dc:date>2014-03-19T03:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588681#M218311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could generalize it a bit by using this script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUALIFY *;&lt;/P&gt;&lt;P&gt;data2:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD * Resident data&lt;/P&gt;&lt;P&gt;Order BY X DESC&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;UNQUALIFY *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE data;&lt;/P&gt;&lt;P&gt;FOR i = 1 to NoOfFields('data2')&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET voldname = FieldName($(i), 'data2');&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vnewname = SubField('$(voldname)', '.',2);&lt;/P&gt;&lt;P&gt;&amp;nbsp; RENAME FIELD [$(voldname)] TO [$(vnewname)];&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 03:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588681#M218311</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-03-19T03:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588682#M218312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;Thanks for providing scripts....&lt;/P&gt;&lt;P&gt;one question&lt;/P&gt;&lt;P&gt;Are you saying that Henric's suggestion is not working for me because of I am Using * in my load statement so I should try to rename all fields using your given script?&lt;/P&gt;&lt;P&gt;Saurabh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 03:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588682#M218312</guid>
      <dc:creator />
      <dc:date>2014-03-19T03:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588683#M218313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure because I'm still not seeing the whole picture. Are you saying the NewId and NewTxnDate fields are both not in the order you expect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me that if you want to display your chart by TxnId and TxnDate you can just specify a numeric sort for those two dimensions in the chart sort properties. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Load Order can sometimes be useful in charts, but not in this case because the order by is strictly numeric. Also the Load Order in charts would not be the pair on TxnId &amp;amp; TxnDate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, perhaps a question for Henric. Does the Order By contract provide that the symbol tables will be in that order? Or just that the rows will be delivered in that input order by LOAD? Expecting a particular symbol order seems especially sketchy when two or more fields are given in the Order By.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 04:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588683#M218313</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-03-19T04:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588684#M218314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;Here is my problem statement....&lt;/P&gt;&lt;P&gt;I am doing binary load of my data model in different reports (Pivot and straight table). Each report has its own "order by" needs so I need to do "order by" in the qvw which includes the binary file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//------&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Binary data.qvw;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Txn:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Load * resident Tmp_Txn&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;where isnull(IsInvTable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;order by TxnId, TxnDate;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;//-------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields TxnId and TxnDate are in the data model loaded by the binary statement. &lt;/P&gt;&lt;P&gt;But they do not work because my report is not sorted by them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Henric suggested a solution &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt; Load &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TxnId as NewID, TxnDate as NewDate&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt; Resident ... Order By TxnId, TxnDate;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;It is to rename those fields which are being used in "order by" .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I tried that but it is still not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;My next question to him if &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;It is not working because i am doing something like this (given below) because of using * in my load statement which makes my load statement look something like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Load TxnID, TxnDate, TxnID as NewID, TxnDate as NewDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Order by TxnID, TxnDate.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You replied to this question with a script to rename fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saurabh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 04:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588684#M218314</guid>
      <dc:creator />
      <dc:date>2014-03-19T04:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588685#M218315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramya,&lt;/P&gt;&lt;P&gt;I just got a doubt why you are trying to do order by clause in Script?&lt;/P&gt;&lt;P&gt;You have a sorting option in the charts right, you can very well use of it.&lt;/P&gt;&lt;P&gt;Any other specific logic/necessity that you are going to do in script based on this order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 06:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588685#M218315</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-03-19T06:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588686#M218316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Celambarasan&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I need to order by in load scipt because the columns can removed from the pivot chart and the user removes the column on which we want to do order by then the sorting ins gone...so i need to do sorting in load script.&lt;/P&gt;&lt;P&gt;Saurabh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 06:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588686#M218316</guid>
      <dc:creator />
      <dc:date>2014-03-19T06:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588687#M218317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/2286"&gt;Rob Wunderlich&lt;/A&gt;: You ask "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Does the Order By contract provide that the symbol tables will be in that order?&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally, yes. But it will &lt;EM style="text-decoration: underline;"&gt;not&lt;/EM&gt; change the order of existing symbol tables. So, if the same field name is used first in a temporary table, then in the final table, you will get the symbol tables from the temporary table. Hence "wrong" sort order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 06:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588687#M218317</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-03-19T06:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588688#M218318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats not better way to deal with it.&lt;/P&gt;&lt;P&gt;Instead of giving a control to user to remove and add. You could give a filter to choose the field that need to shown in the chart.&lt;/P&gt;&lt;P&gt;Like the one QlikTech have demo file "Whats new in QlikView11"&lt;/P&gt;&lt;P&gt;&lt;A href="http://ap-b.demo.qlik.com/QvAJAXZfc/opendoc.htm?document=qvdocs%2FWhats%20New%20in%20QlikView11.qvw&amp;amp;host=Demo11" title="http://ap-b.demo.qlik.com/QvAJAXZfc/opendoc.htm?document=qvdocs%2FWhats%20New%20in%20QlikView11.qvw&amp;amp;host=Demo11"&gt;Click here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check the Reports tab. Hope you can provide that kind of solution, it is not that much good to make user to add and remove fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 06:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588688#M218318</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-03-19T06:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588689#M218319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric,&lt;/P&gt;&lt;P&gt;Thanks for clarification...&lt;/P&gt;&lt;P&gt;I now am trying&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Quantity, Txndate as Newdate, TxnID as NewID&lt;/P&gt;&lt;P&gt;order by Txndate, TxnId&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is still not working.&lt;/P&gt;&lt;P&gt;what am i missing here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 06:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588689#M218319</guid>
      <dc:creator />
      <dc:date>2014-03-19T06:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: binary load and order by</title>
      <link>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588690#M218320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/135042"&gt;Ramya Saurabh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;order by TxnId, TxnDate;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is the desired Sort, can't you just specify those fields in the chart Sort properties? I still don't understand the need for sorting in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 15:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/binary-load-and-order-by/m-p/588690#M218320</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-03-19T15:22:55Z</dc:date>
    </item>
  </channel>
</rss>

