<?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 in a pivot table on 2 dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-in-a-pivot-table-on-2-dimensions/m-p/2161654#M1225148</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I'm struggling to fins a solution to enable me to sort a pivot table correctly using the expression and 1 of the dimensions.&lt;/P&gt;
&lt;P&gt;My pivot table has 2 dimension..&lt;/P&gt;
&lt;P&gt;Site (as a column) and Month (which has been pivoted).&lt;/P&gt;
&lt;P&gt;There is 1 expression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to sort it descending&amp;nbsp; on the expression but for a specific month.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached an example, in the example there are 3 months - Nov, Dec, Jan&lt;/P&gt;
&lt;P&gt;I want to sort it using the expression and Dec.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help please?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jan 2024 13:08:33 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2024-01-15T13:08:33Z</dc:date>
    <item>
      <title>Sorting in a pivot table on 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-a-pivot-table-on-2-dimensions/m-p/2161654#M1225148</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I'm struggling to fins a solution to enable me to sort a pivot table correctly using the expression and 1 of the dimensions.&lt;/P&gt;
&lt;P&gt;My pivot table has 2 dimension..&lt;/P&gt;
&lt;P&gt;Site (as a column) and Month (which has been pivoted).&lt;/P&gt;
&lt;P&gt;There is 1 expression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to sort it descending&amp;nbsp; on the expression but for a specific month.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached an example, in the example there are 3 months - Nov, Dec, Jan&lt;/P&gt;
&lt;P&gt;I want to sort it using the expression and Dec.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help please?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 13:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-a-pivot-table-on-2-dimensions/m-p/2161654#M1225148</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2024-01-15T13:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in a pivot table on 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-a-pivot-table-on-2-dimensions/m-p/2162084#M1225158</link>
      <description>&lt;P&gt;Does anyone have any ideas on this please?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 16:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-a-pivot-table-on-2-dimensions/m-p/2162084#M1225158</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2024-01-16T16:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in a pivot table on 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-a-pivot-table-on-2-dimensions/m-p/2162116#M1225159</link>
      <description>&lt;P&gt;Use a sorting like below.&lt;BR /&gt;&lt;BR /&gt;if(Month = 'Dec', -YourExpression, 0)&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 17:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-a-pivot-table-on-2-dimensions/m-p/2162116#M1225159</guid>
      <dc:creator>Aasir</dc:creator>
      <dc:date>2024-01-16T17:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in a pivot table on 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-a-pivot-table-on-2-dimensions/m-p/2162310#M1225163</link>
      <description>&lt;P&gt;Hi, thanks for the reply, I've already tried that but it doesn't work. I can't figure out what the sort it after applying that logic but its not what i need.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hopkinsc_0-1705481623401.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127198i3AB995FCC35FB9B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hopkinsc_0-1705481623401.png" alt="hopkinsc_0-1705481623401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sorting works in the Dec column until values appear in the Nov or Jan column then the sorting in the Dec column stops working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The values in Dec up until the nulls start are descending, then the 3 values after the 3 nulls are bigger than the values above the nulls, so these 3 values should be before the all of the values in the screenshot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could this be a limitation in the pivot table object itself?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 08:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-a-pivot-table-on-2-dimensions/m-p/2162310#M1225163</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2024-01-17T08:57:23Z</dc:date>
    </item>
  </channel>
</rss>

