<?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 Changing column order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447183#M166838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table with columns from the dimensions tab as well as the expressions tab. There is one column at the end (dimension column) that will not move to a different position when I drag it. I played around by adding other dimensions after it and they too refuse to move.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help / advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2012 06:10:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-27T06:10:25Z</dc:date>
    <item>
      <title>Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447183#M166838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table with columns from the dimensions tab as well as the expressions tab. There is one column at the end (dimension column) that will not move to a different position when I drag it. I played around by adding other dimensions after it and they too refuse to move.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help / advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 06:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447183#M166838</guid>
      <dc:creator />
      <dc:date>2012-09-27T06:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447184#M166839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In presentation Tab there is an option allow Drag and Drop..&lt;/P&gt;&lt;P&gt;Check that column.. hope to help... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 06:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447184#M166839</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2012-09-27T06:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447185#M166840</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;Thanks for the suggestion. The Drag and Drop option was already checked though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 06:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447185#M166840</guid>
      <dc:creator />
      <dc:date>2012-09-27T06:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447186#M166841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is weird did u try to create a new table does ot behaves the same?? or post ur sample we will check..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 06:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447186#M166841</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2012-09-27T06:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447187#M166842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've also experienced this problem, but recreating is not feasible and the table has complex expressions and labels and is part of a template that I hope to deploy relatively seemlessly.&lt;/P&gt;&lt;P&gt;In the attached file shows the Currency dimension appears to the right of the expressions, and not to the right of the Company dimension as expected. Of the 18 expressions, 12 have show conditons set on the presentation properties.&lt;/P&gt;&lt;P&gt;Some observations:&lt;/P&gt;&lt;P&gt;1. The problem occurs after a save, close and reopen, unlike some presentation level issues&lt;/P&gt;&lt;P&gt;2. The problem occurs in desktop as well as on an Ajax client&lt;/P&gt;&lt;P&gt;3. Asked to save on closing the file, after just doing a failed attempt at moving the dimension. Seems something is done but not being displayed&lt;/P&gt;&lt;P&gt;4. It is possible to move dimensions that are already in the expected position to the left of the expressions&lt;/P&gt;&lt;P&gt;Some remedies:&lt;/P&gt;&lt;P&gt;1. Removing the conditonal show on the Presentation properties, and setting to Show always, did not help&lt;/P&gt;&lt;P&gt;2. Deactivating all the expressions that have a conditional show solved the problem&lt;/P&gt;&lt;P&gt;3. Copying and pasting the table help on one occassion, presumably by recreating the table as suggested by Rajni above&lt;/P&gt;&lt;P&gt;4. Once reordering is possible expressions can be reactivated with it still working&lt;/P&gt;&lt;P&gt;5. Adding another dimension after a reordering is possible again results in the problem reoccuring&lt;/P&gt;&lt;P&gt;Remedies 2 and 3 were not always consistent.&lt;/P&gt;&lt;P&gt;Has anyone any idea what might be happening ? Are dimensions ever meant to appear to the right of the expressions ?&lt;/P&gt;&lt;P&gt;The table is presumably corrupted, but works if all the complexity is removed from it. Perhaps just one or more columns are being corrupted.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 12:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447187#M166842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-07T12:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447188#M166843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found an issue report about this in the Partner Portal entitiled "Hiding dimension or expression in straight table object may result in column order shifting": &lt;A class="loading" href="https://eu1.salesforce.com/articles/Diagnostic/Hiding-dimension-or-expression-in-straight-table-object-may-result-in-column-order-shifting?popup=true" title="https://eu1.salesforce.com/articles/Diagnostic/Hiding-dimension-or-expression-in-straight-table-object-may-result-in-column-order-shifting?popup=true"&gt;https://eu1.salesforce.com/articles/Diagnostic/Hiding-dimension-or-expression-in-straight-table-object-may-result-in-column-order-shifting?popup=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Reason is that "The straight table dimensions and expressions are handled separately. This means that when a dimension is hidden the next dimension in line will take the spot, and if an expression is hidden the next expression in line will take the sport. &lt;/P&gt;&lt;P&gt;Suggested fix is to use expressions for the dimensions.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 10:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447188#M166843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-08T10:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447189#M166844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at this a bit yesterday and the file you supplied did indeed have the final dimension positioned after the expressions.&amp;nbsp; When promoting the 4th &amp;amp; final dimension to position three it swaps dimensions 3 and 4 as expected but still has the (new) final dimension after the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After disabling all expressions then re-enabling them (also had to re-enable the conditional show boxes too) the issue was fixed and seemed to remain so even after closing, rebooting pc etc..&amp;nbsp; However if you then add a new dimension it goes to the wrong position again and the issue is re-introduced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the problem is cuased when adding dimensions after conditional expressions already exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 11:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447189#M166844</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-01-08T11:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447190#M166845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try running this macro against the table - seems to fix it for me and for future dimensions added.&amp;nbsp; Only thing is I'm not sure how this DisplayOrder setting is supposed to work, might be worth passing on to Qliktech for their opinion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub test1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'get the current sort order &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;d = cp.TableProperties.DisplayOrder&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for i = lbound(d) to ubound(d)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;msgbox d(i)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set chart = ActiveDocument.getsheetobject("CH1112")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cp = chart.GetProperties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.TableProperties.DisplayOrder = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.setproperties cp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'get the new sort order &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;d = cp.TableProperties.DisplayOrder&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for i = lbound(d) to ubound(d)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;msgbox d(i)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 14:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447190#M166845</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-01-08T14:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447191#M166846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've just come across the DisplayOrder which believe would be very useful for some macro's I use that attempt to add extra dimensions into charts, and sometimes get this scenario where puts into wrong place.&amp;nbsp; I did some testing and think I now get the DisplayOrder setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's an array of integers.&lt;/P&gt;&lt;P&gt;The first value indicates how many dimensions to display first (taking from the dimensions in order).&lt;/P&gt;&lt;P&gt;Second value is how many expressions to display after that (taken from the expressions in order).&lt;/P&gt;&lt;P&gt;Third value is how many dimensions to display after that.&lt;/P&gt;&lt;P&gt;And so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I setup a chart where shifted dimensions and expressions around.&amp;nbsp; I then got a displayorder of:&lt;/P&gt;&lt;P&gt;4,1,4,1,1,5.&lt;/P&gt;&lt;P&gt;Which matched my columns being:&lt;/P&gt;&lt;P&gt;1st 4 dimensions.&lt;/P&gt;&lt;P&gt;1 expression&lt;/P&gt;&lt;P&gt;Next 4 more dimensions&lt;/P&gt;&lt;P&gt;Next 1 expression&lt;/P&gt;&lt;P&gt;Last 1 dimension&lt;/P&gt;&lt;P&gt;and the final 5 expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume setting the value to simply 1 forces Qlikview to show first all the dimensions, then the expressions (in there normal order).&amp;nbsp; When I applied your macro above to this chart, that's what it did.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 04:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447191#M166846</guid>
      <dc:creator>michael_anthony</dc:creator>
      <dc:date>2013-08-21T04:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447192#M166847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macro does not run for me.&amp;nbsp; Could you please double check the syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The top part is the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d = cp.TableProperties.DisplayOrder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = lbound(d) to ubound(d)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;msgbox d(i)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 12:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447192#M166847</guid>
      <dc:creator>dgreenberg</dc:creator>
      <dc:date>2015-09-28T12:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447193#M166848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind figured it out&lt;/P&gt;&lt;P&gt; set chart = ActiveDocument.getsheetobject("CH1112")&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cp = chart.GetProperties &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;need to be at the top of the macro not in the middle.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 15:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447193#M166848</guid>
      <dc:creator>dgreenberg</dc:creator>
      <dc:date>2015-10-01T15:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447194#M166849</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;if you use straight table you have flexibility to mix the dimension and expression Oder,&lt;/P&gt;&lt;P&gt;for example if you have the flowing&amp;nbsp; table with&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Region,OrderID as dimensions,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;QTY, Amount,Discount as expression &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&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 style="font-size: 13.3333px;"&gt;Region&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;OrderID&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;QTY&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Amount&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Discount&lt;/SPAN&gt;&lt;/TH&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;TD style="padding: 2px;"&gt;&lt;/TD&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;P&gt; you can drag them to be like &lt;/P&gt;&lt;P&gt;&lt;/P&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;&lt;STRONG style="color: #ffffff; font-size: 13.3333px; text-align: center;"&gt;Region&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="color: #ffffff; font-size: 13.3333px; text-align: center; background-color: #6690bc;"&gt;QTY&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="color: #ffffff; font-size: 13.3333px; text-align: center; background-color: #6690bc;"&gt;Amount&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style="text-align: center; color: #ffffff; font-size: 13.3333px; background-color: #6690bc;"&gt;OrderID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style="text-align: center; color: #ffffff; font-size: 13.3333px; background-color: #6690bc;"&gt;Discount&lt;/STRONG&gt;&lt;/TH&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;TD style="padding: 2px;"&gt;&lt;/TD&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;P&gt;&lt;/P&gt;&lt;P&gt;hope it helpful for you,&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 16:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447194#M166849</guid>
      <dc:creator />
      <dc:date>2015-10-01T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447195#M166850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bump... just in case someone is feeling lazy. Worked a treat, thanks all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub fixtablesort&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; set chart = ActiveDocument.getsheetobject("CH336")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; set cp = chart.GetProperties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'get the current sort order&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;d = cp.TableProperties.DisplayOrder&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for i = lbound(d) to ubound(d)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;msgbox d(i)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.TableProperties.DisplayOrder = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.setproperties cp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'get the new sort order&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;d = cp.TableProperties.DisplayOrder&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for i = lbound(d) to ubound(d)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;msgbox d(i)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 21:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447195#M166850</guid>
      <dc:creator>reanfadyl</dc:creator>
      <dc:date>2016-06-07T21:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447196#M166851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I just spent 30 min. trying to find a solution to my straight table ordering issues with expressions among dimensions that would not move order until your simple suggestion of dragging and dropping worked like a charm!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 13:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/447196#M166851</guid>
      <dc:creator>kwarren1</dc:creator>
      <dc:date>2016-11-18T13:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/1814719#M1212899</link>
      <description>&lt;P&gt;I'm on April 2020 SR4. It's been almost 10 years since this issue got posted, and I'm still running into this problem. As noted in earlier comments, drag/drop doesn't work in my case even after unhiding all the columns.&amp;nbsp; Being stuck on a such a seemingly simple step is immensely frustrating, not to mention extremely difficult to explain to management.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jun 2021 13:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/1814719#M1212899</guid>
      <dc:creator>jwaligora</dc:creator>
      <dc:date>2021-06-13T13:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Changing column order</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/2460186#M1225776</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;BR /&gt;I know it's been a while, but thought I would add this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I had the same issue and have found a possible solution using the files in the -prj folder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a folder in the same directory as your .qvw file called the same as the qvw, but with -prj as the name of the folder. in this example I created this folder Dimension order 2-prj&amp;nbsp; .&amp;nbsp;&lt;BR /&gt;When you save the file&amp;nbsp;&amp;nbsp;Dimension order 2.qvw, it will populate the -prj folder with many files.&amp;nbsp;&lt;BR /&gt;Your example file with the problem table, the chart id was CH1112.&amp;nbsp;&lt;BR /&gt;Open the CH1112.xml file in the -prj folder and search for &amp;lt;DisplayOrder&amp;gt;&amp;nbsp;&lt;BR /&gt;Your original was like this&lt;BR /&gt;&amp;lt;DisplayOrder&amp;gt;&lt;BR /&gt;&amp;lt;int&amp;gt;3&amp;lt;/int&amp;gt;&lt;BR /&gt;&amp;lt;int&amp;gt;18&amp;lt;/int&amp;gt;&lt;BR /&gt;&amp;lt;int&amp;gt;1&amp;lt;/int&amp;gt;&lt;BR /&gt;&amp;lt;/DisplayOrder&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;This means that the chart will show the 1st 3 dims, then 18 Expressions, then 1 other Dim.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I deleted the 3rd line and changed the 1st line to be 4, (for 4 Dims)&amp;nbsp;&lt;BR /&gt;Like this:&lt;BR /&gt;&amp;lt;DisplayOrder&amp;gt;&lt;BR /&gt;&amp;lt;int&amp;gt;4&amp;lt;/int&amp;gt;&lt;BR /&gt;&amp;lt;int&amp;gt;18&amp;lt;/int&amp;gt;&lt;BR /&gt;&amp;lt;/DisplayOrder&amp;gt;&lt;BR /&gt;Then save the file and close it.&lt;/P&gt;
&lt;P&gt;Close you application and reopen it.&amp;nbsp; When the app opens it checks to see if there is a -prj folder and if so, takes the settings from this folder for the app. &lt;BR /&gt;(Thanks Rob Wunderlich for the pointer using your Cookbook site)&lt;/P&gt;
&lt;P&gt;The table now has the right sort order for the Dims and Expressions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="greenee_1-1717752923065.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167512i794B26CF52561F0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="greenee_1-1717752923065.png" alt="greenee_1-1717752923065.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps, as its taken me a few days to figure this out also with the help of the macro post above, I got to know what the numbers actually meant in the pop up box.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Even by dragging and dropping, disabling and re-enabling expressions and Dims, the error can persist on access point.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;SPAN&gt;greenee&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 09:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-column-order/m-p/2460186#M1225776</guid>
      <dc:creator>greenee</dc:creator>
      <dc:date>2024-06-07T09:43:24Z</dc:date>
    </item>
  </channel>
</rss>

