<?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 Sort by expression in pivot with a macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-by-expression-in-pivot-with-a-macro/m-p/1107745#M890445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with pivot table with years and quarters pivoted and need to sort by expressions&lt;/P&gt;&lt;P&gt;The expressions i have: amount and an annual growth rate, I can sort by any amount but not growth rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main doubt i have is, can i use 'ColumnNo()' function for using in a SortByExpression in macros ??&lt;/P&gt;&lt;P&gt;Why this function? To calculate de annual growth rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently this does not work, any ideas ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached the sample, thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Sort by expression in pivot with a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-expression-in-pivot-with-a-macro/m-p/1107745#M890445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with pivot table with years and quarters pivoted and need to sort by expressions&lt;/P&gt;&lt;P&gt;The expressions i have: amount and an annual growth rate, I can sort by any amount but not growth rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main doubt i have is, can i use 'ColumnNo()' function for using in a SortByExpression in macros ??&lt;/P&gt;&lt;P&gt;Why this function? To calculate de annual growth rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently this does not work, any ideas ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached the sample, thanks in advance&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/Sort-by-expression-in-pivot-with-a-macro/m-p/1107745#M890445</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

