<?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 Sorting pivot by measure only max Year, or max month or max Year-month etc. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-pivot-by-measure-only-max-Year-or-max-month-or-max-Year/m-p/1650322#M447802</link>
    <description>&lt;P&gt;Hi could you help me create the right expression to sort data in pivot table&lt;/P&gt;&lt;P&gt;At the moment I am using SUM(Ammount) in sort by Expression [Descending]&lt;/P&gt;&lt;P&gt;But it works only on total or only for one year selected&lt;/P&gt;&lt;P&gt;I would force sorting always on the last period visible in the pivot table in this example 2019 amounts should sort the records.&lt;/P&gt;&lt;P&gt;There are also hidden view for different periods like Year-Quarter, Year-Monht, Quarter, Month&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2019 21:38:45 GMT</pubDate>
    <dc:creator>waszcma1</dc:creator>
    <dc:date>2019-11-22T21:38:45Z</dc:date>
    <item>
      <title>Sorting pivot by measure only max Year, or max month or max Year-month etc.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-pivot-by-measure-only-max-Year-or-max-month-or-max-Year/m-p/1650322#M447802</link>
      <description>&lt;P&gt;Hi could you help me create the right expression to sort data in pivot table&lt;/P&gt;&lt;P&gt;At the moment I am using SUM(Ammount) in sort by Expression [Descending]&lt;/P&gt;&lt;P&gt;But it works only on total or only for one year selected&lt;/P&gt;&lt;P&gt;I would force sorting always on the last period visible in the pivot table in this example 2019 amounts should sort the records.&lt;/P&gt;&lt;P&gt;There are also hidden view for different periods like Year-Quarter, Year-Monht, Quarter, Month&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 21:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-pivot-by-measure-only-max-Year-or-max-month-or-max-Year/m-p/1650322#M447802</guid>
      <dc:creator>waszcma1</dc:creator>
      <dc:date>2019-11-22T21:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting pivot by measure only max Year, or max month or max Year-month etc.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-pivot-by-measure-only-max-Year-or-max-month-or-max-Year/m-p/1650361#M447807</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please share the sample application&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 07:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-pivot-by-measure-only-max-Year-or-max-month-or-max-Year/m-p/1650361#M447807</guid>
      <dc:creator>tripatiqv</dc:creator>
      <dc:date>2019-11-23T07:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting pivot by measure only max Year, or max month or max Year-month etc.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-pivot-by-measure-only-max-Year-or-max-month-or-max-Year/m-p/1652797#M447971</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I think i have found solution:&lt;/P&gt;&lt;P&gt;To sort pivot by only latest year I need to use Set analysis in sort by expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={$(=max(Year))}&amp;gt;}worker_cost)&lt;/P&gt;&lt;P&gt;Similar for others periods but always just take only max of the displayed period&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 20:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-pivot-by-measure-only-max-Year-or-max-month-or-max-Year/m-p/1652797#M447971</guid>
      <dc:creator>waszcma1</dc:creator>
      <dc:date>2019-11-29T20:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting pivot by measure only max Year, or max month or max Year-month etc.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-pivot-by-measure-only-max-Year-or-max-month-or-max-Year/m-p/2049188#M1222942</link>
      <description>&lt;P&gt;Excellent!&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 19:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-pivot-by-measure-only-max-Year-or-max-month-or-max-Year/m-p/2049188#M1222942</guid>
      <dc:creator>favio220</dc:creator>
      <dc:date>2023-03-14T19:45:19Z</dc:date>
    </item>
  </channel>
</rss>

