<?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: Sorting by expression with no dimension in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-by-expression-with-no-dimension-in-pivot-table/m-p/1788999#M1210388</link>
    <description>&lt;P&gt;one brute force approach is to use a valuelist() as dimension:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Valuelist('Total Cusromr','Age', 'Postal Code', 'Customer Segment')&lt;/LI-CODE&gt;&lt;P&gt;in your expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pick(match(Valuelist('Total Cusromr','Age', 'Postal Code', 'Customer Segment'),'Total Cusromr','Age', 'Postal Code', 'Customer Segment'),
count(...),
count(...),
count(...),
count(...))&lt;/LI-CODE&gt;&lt;P&gt;using your expressions&lt;/P&gt;</description>
    <pubDate>Sun, 07 Mar 2021 17:47:57 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-03-07T17:47:57Z</dc:date>
    <item>
      <title>Sorting by expression with no dimension in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-expression-with-no-dimension-in-pivot-table/m-p/1788738#M1210343</link>
      <description>&lt;P&gt;Hi qlik community,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have been looking around for some hint but no luck. I am stuck with a problem in regards to sort data in a pivot table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am creating an adhoc waterfall chart where users can select parameters and see calculated results based on their selections.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a pivot table where we do not have a dimension and we have 4 measure.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhi1490_0-1614955627777.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50527i4CCEFE334B316BEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhi1490_0-1614955627777.png" alt="abhi1490_0-1614955627777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhi1490_1-1614955734555.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50528iC5EDC22A9B3450C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhi1490_1-1614955734555.png" alt="abhi1490_1-1614955734555.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are my formulas&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhi1490_2-1614955775460.png" style="width: 526px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50529i81B2CC7DBF381816/image-dimensions/526x149?v=v2" width="526" height="149" role="button" title="abhi1490_2-1614955775460.png" alt="abhi1490_2-1614955775460.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to sort the expression in ascending&amp;nbsp;order or descending order&amp;nbsp;based on the expression value that we get based on the adhoc selections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhi1490_3-1614955830879.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50530i9DE3E34AB3EC4847/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhi1490_3-1614955830879.png" alt="abhi1490_3-1614955830879.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to use the sorting functionality on the the pivot table, flagging the Descending order sorting by expression but with no luck&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any suggestion on how this can be achieved? I will keep looking if there is a work around.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance for your help.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Abhishek&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 15:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-expression-with-no-dimension-in-pivot-table/m-p/1788738#M1210343</guid>
      <dc:creator>abhi1490</dc:creator>
      <dc:date>2021-03-05T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by expression with no dimension in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-expression-with-no-dimension-in-pivot-table/m-p/1788999#M1210388</link>
      <description>&lt;P&gt;one brute force approach is to use a valuelist() as dimension:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Valuelist('Total Cusromr','Age', 'Postal Code', 'Customer Segment')&lt;/LI-CODE&gt;&lt;P&gt;in your expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pick(match(Valuelist('Total Cusromr','Age', 'Postal Code', 'Customer Segment'),'Total Cusromr','Age', 'Postal Code', 'Customer Segment'),
count(...),
count(...),
count(...),
count(...))&lt;/LI-CODE&gt;&lt;P&gt;using your expressions&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 17:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-expression-with-no-dimension-in-pivot-table/m-p/1788999#M1210388</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-03-07T17:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by expression with no dimension in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-expression-with-no-dimension-in-pivot-table/m-p/1789057#M1210400</link>
      <description>&lt;P&gt;Thanks Edwin. That solution worked well.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 06:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-expression-with-no-dimension-in-pivot-table/m-p/1789057#M1210400</guid>
      <dc:creator>abhi1490</dc:creator>
      <dc:date>2021-03-08T06:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by expression with no dimension in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-by-expression-with-no-dimension-in-pivot-table/m-p/1789247#M1210419</link>
      <description>&lt;P&gt;yw&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 14:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-by-expression-with-no-dimension-in-pivot-table/m-p/1789247#M1210419</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-03-08T14:52:17Z</dc:date>
    </item>
  </channel>
</rss>

