<?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: Pivot Table - Sort top article per month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250209#M864645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One solution is to create a new expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Jahr + Monat/1E5 - Sum(Sales)/1E10)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which you can then hide using the following macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUB Squeeze&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; CALL HideColumn("CH04", 4)&lt;/STRONG&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;&lt;STRONG&gt;PRIVATE SUB HideColumn(ch, n)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; SET ch = ActiveDocument.GetSheetObject(ch)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ch.SetPixWidth (n-1), 2&lt;/STRONG&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;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147926_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Dec 2016 15:20:54 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-12-29T15:20:54Z</dc:date>
    <item>
      <title>Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250205#M864641</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;I started the discussion here &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2016/12/12/pareto-analysis" title="https://community.qlik.com/blogs/qlikviewdesignblog/2016/12/12/pareto-analysis" target="_blank"&gt;https://community.qlik.com/blogs/qlikviewdesignblog/2016/12/12/pareto-analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I have found a better solution for the following question: In need a Pivottable that shows the "top articles" in each Month of the Year. The sort order should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sort YEAR numerically ASC&lt;/P&gt;&lt;P&gt;- Sort Month numerically ASC&lt;/P&gt;&lt;P&gt;- Sort Articels by sum (Sales) in each month. (highest Sales first)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a small example .qvw here: content.heldendaten.eu/SortPivot_TopArticlePerMonth.zip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current solution (see yellow box in the screenshot) is quite wacky, and I hope that someone has a better solution (maybe with the new sortable aggr?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorting all 3 dimensions by y-Value does not help, as then year and month get sorted the wrong way!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-12-29 14_32_35-QlikView x64 - Testversion - [C__Users_rva_AppData_Local_Temp_Temp1_SortPivot_To.png" class="jive-image image-1" src="/legacyfs/online/147900_2016-12-29 14_32_35-QlikView x64 - Testversion - [C__Users_rva_AppData_Local_Temp_Temp1_SortPivot_To.png" style="height: 334px; width: 620px;" /&gt;&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/Pivot-Table-Sort-top-article-per-month/m-p/1250205#M864641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250206#M864642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post the app here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 13:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250206#M864642</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-29T13:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250207#M864643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here the .qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 14:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250207#M864643</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-29T14:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250208#M864644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think &lt;SPAN style="font-size: 10pt;"&gt;sort by "y-Value" is the only usefull way..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 15:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250208#M864644</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2016-12-29T15:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250209#M864645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One solution is to create a new expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Jahr + Monat/1E5 - Sum(Sales)/1E10)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which you can then hide using the following macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUB Squeeze&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; CALL HideColumn("CH04", 4)&lt;/STRONG&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;&lt;STRONG&gt;PRIVATE SUB HideColumn(ch, n)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; SET ch = ActiveDocument.GetSheetObject(ch)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ch.SetPixWidth (n-1), 2&lt;/STRONG&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;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147926_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 15:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250209#M864645</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-29T15:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250210#M864646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree that sorting in QV12.10 SR1 via "y-Value" is better than it was in QV11.20SR15.&lt;/P&gt;&lt;P&gt;At least the year+month seem to stay in DESC order. See the two screenshots in comparision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However in my special case it is a customer bugging me for years, that a BI-Tool should be able to&lt;/P&gt;&lt;P&gt;- Sort Year+Month ASC&lt;/P&gt;&lt;P&gt;- Sort Articles by sum(Sales) DESC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So probably for both of us the Sort in QV12.10SR1 is good enough, but not for my customer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QV12.10SR1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-12-29 16_26_10-QlikView x64 - Testversion - [C__Users_rva_Desktop_SortPivot_TopArticlePerMonth..png" class="jive-image image-2" src="/legacyfs/online/147930_2016-12-29 16_26_10-QlikView x64 - Testversion - [C__Users_rva_Desktop_SortPivot_TopArticlePerMonth..png" style="height: 585px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QV11.20SR15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV1120SR15.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147929_QV1120SR15.png" style="height: 794px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 15:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250210#M864646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-29T15:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250211#M864647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately the hidden column is added when this is exported to Excel. Any idea how to overcome this issue?&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 15:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250211#M864647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-29T15:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250212#M864648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can think of two ways to handle this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Use macro to export the chart where Macro can handle which columns to export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Use Dual function to show blank space instead of the numbers. The column will still export, but hopefully it will be an empty column&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 15:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250212#M864648</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-29T15:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250213#M864649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Implemented the 2 suggestion here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dual(' ', RangeSum(Jahr + Monat/1E5 - Sum(Sales)/1E10))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 15:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250213#M864649</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-29T15:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250214#M864650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree: a BI tool must have reliable sorting options! Which we do not have in full here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, you can set Year and Month sorting to DESC &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/alert.png" /&gt; (don't know why this seems to be the opposite than expected) and then set sort by y-Value on Year (see attached).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 15:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250214#M864650</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2016-12-29T15:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250215#M864651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, that's interesting &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Exactly what I want!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you talked to someone "official" if this is how it will work in &lt;STRONG style="text-decoration: underline;"&gt;all&lt;/STRONG&gt; future releases?&lt;/P&gt;&lt;P&gt;Wenn was it changed at all? Was the sorting changed in QV12.00 Initial Release?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Danke für deinen Einsatz heute! Guten Rutsch &amp;amp; VG nach Deutschland!&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 15:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250215#M864651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-29T15:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250216#M864652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One follow up question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance to sort the pivottable when the Month is in the columns.&lt;/P&gt;&lt;P&gt;Again I can achieve this using my "Aggr"-Dynamic Dimension, but I would love to avoid it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See again attached .qvw. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 16:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250216#M864652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-29T16:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - Sort top article per month</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250217#M864653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found it myself by playing with the options. I think if someone submits this issue (unexpected behavior) this might change in the future. So, still not reliable but a temporarily workaround..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VG und einen angenehmen Jahreswechsel nach Österreich!&lt;/P&gt;&lt;P&gt;Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 17:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Sort-top-article-per-month/m-p/1250217#M864653</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2016-12-29T17:14:32Z</dc:date>
    </item>
  </channel>
</rss>

