<?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: Change sort-priority in straight table with macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-sort-priority-in-straight-table-with-macro/m-p/1519782#M437408</link>
    <description>&lt;P&gt;set chart=ActiveDocument.GetSheetObject("CH11")&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;STRONG&gt;chart.SortBy 10&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;set Prop = chart.GetProperties&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prop.Dimensions&lt;/SPAN&gt;.Item(0).SortCriteria.&lt;SPAN&gt;SortByNumeric =&amp;nbsp;1&lt;/SPAN&gt;&lt;BR /&gt;Prop.Expressions.Item(0).Item(0).Data.ExpressionData.SortCriteria.SortByNumeric =&amp;nbsp;1&lt;/P&gt;&lt;P&gt;chart.SetProperties Prop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2018 11:50:30 GMT</pubDate>
    <dc:creator>warfollowmy_ver</dc:creator>
    <dc:date>2018-12-12T11:50:30Z</dc:date>
    <item>
      <title>Change sort-priority in straight table with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Change-sort-priority-in-straight-table-with-macro/m-p/1519732#M437403</link>
      <description>&lt;P&gt;I understood how to change the sorting order in expressions and dimensions of a direct table, but this doesn’t do anything for my task until I can control the sorting priority.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I use the macro to change the sort priority order in a straight table?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set chart=ActiveDocument.GetSheetObject("CH11")&lt;/P&gt;&lt;P&gt;set Prop = chart.GetProperties&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prop.Dimensions&lt;/SPAN&gt;.Item(0).SortCriteria.&lt;SPAN&gt;SortByNumeric =&amp;nbsp;1&lt;/SPAN&gt;&lt;BR /&gt;Prop.Expressions.Item(0).Item(0).Data.ExpressionData.SortCriteria.SortByNumeric =&amp;nbsp;1&lt;/P&gt;&lt;P&gt;chart.SetProperties Prop&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:59:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-sort-priority-in-straight-table-with-macro/m-p/1519732#M437403</guid>
      <dc:creator>warfollowmy_ver</dc:creator>
      <dc:date>2024-11-16T04:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change sort-priority in straight table with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Change-sort-priority-in-straight-table-with-macro/m-p/1519782#M437408</link>
      <description>&lt;P&gt;set chart=ActiveDocument.GetSheetObject("CH11")&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;STRONG&gt;chart.SortBy 10&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;set Prop = chart.GetProperties&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prop.Dimensions&lt;/SPAN&gt;.Item(0).SortCriteria.&lt;SPAN&gt;SortByNumeric =&amp;nbsp;1&lt;/SPAN&gt;&lt;BR /&gt;Prop.Expressions.Item(0).Item(0).Data.ExpressionData.SortCriteria.SortByNumeric =&amp;nbsp;1&lt;/P&gt;&lt;P&gt;chart.SetProperties Prop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 11:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-sort-priority-in-straight-table-with-macro/m-p/1519782#M437408</guid>
      <dc:creator>warfollowmy_ver</dc:creator>
      <dc:date>2018-12-12T11:50:30Z</dc:date>
    </item>
  </channel>
</rss>

