<?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 problem with sort by expression in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-sort-by-expression-in-pivot-table/m-p/414153#M566469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am a beginer of qlik and i have a simple question (i think) that I have not found an answer in the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;given this data&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 50%; border: 1px solid rgb(0, 0, 0);"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="background-color: #6690bc; color: #333333; text-align: -webkit-center; padding: 3px; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;ag&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="background-color: #6690bc; color: #333333; text-align: -webkit-center; padding: 3px; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;cli&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="background-color: #6690bc; color: #333333; text-align: -webkit-center; padding: 3px; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;qty&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="background-color: #6690bc; color: #333333; text-align: -webkit-center; padding: 3px; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;imp&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;A&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C001&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;A&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C002&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;A&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C003&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;A&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C004&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;0&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;1,01&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;B&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C001&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C006&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a pivot table i want to sort by AG in alphabetical, and then CLI by descending sum(imp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i cannot find the correct way to do this.&lt;/P&gt;&lt;P&gt;the problem is the CLI C001 is present ni AGE A and B ..... this situation make incorrect order by expression&lt;/P&gt;&lt;P&gt;as you can see in the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2012 16:34:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-06T16:34:28Z</dc:date>
    <item>
      <title>problem with sort by expression in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-sort-by-expression-in-pivot-table/m-p/414153#M566469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am a beginer of qlik and i have a simple question (i think) that I have not found an answer in the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;given this data&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 50%; border: 1px solid rgb(0, 0, 0);"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="background-color: #6690bc; color: #333333; text-align: -webkit-center; padding: 3px; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;ag&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="background-color: #6690bc; color: #333333; text-align: -webkit-center; padding: 3px; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;cli&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="background-color: #6690bc; color: #333333; text-align: -webkit-center; padding: 3px; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;qty&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="background-color: #6690bc; color: #333333; text-align: -webkit-center; padding: 3px; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;imp&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;A&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C001&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;A&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C002&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;A&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C003&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;A&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C004&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;0&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;1,01&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;B&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C001&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;C006&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 3px; background-color: transparent;"&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a pivot table i want to sort by AG in alphabetical, and then CLI by descending sum(imp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i cannot find the correct way to do this.&lt;/P&gt;&lt;P&gt;the problem is the CLI C001 is present ni AGE A and B ..... this situation make incorrect order by expression&lt;/P&gt;&lt;P&gt;as you can see in the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 16:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-sort-by-expression-in-pivot-table/m-p/414153#M566469</guid>
      <dc:creator />
      <dc:date>2012-12-06T16:34:28Z</dc:date>
    </item>
  </channel>
</rss>

