<?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 chart us not able sort in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872218#M304887</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;Check in Sort tab, might be you have opted ascending in Numeric value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2015 12:27:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-22T12:27:15Z</dc:date>
    <item>
      <title>PIVOT chart us not able sort</title>
      <link>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872215#M304884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 226px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;&lt;STRONG&gt;Age Slot&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl64" width="128"&gt;&lt;STRONG&gt;# of Incidents&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;&amp;lt; 5 Days&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;5 to 10 Days&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;55&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;11 to 30 Days&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;124&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;&amp;gt; 30 Days&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;509&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;753&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi I have this PIVOT chart object. I am able to sort it perfectly like shown above. The AGE SLOT column is in order.&lt;/P&gt;&lt;P&gt;But when I do some selections - Like if I am selecting some team name then this order is getting changed as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any specific reasons?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 226px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Age Slot&lt;/TD&gt;&lt;TD class="xl64" width="128"&gt;# of Incidents&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;&lt;STRONG&gt;11 to 30 Days&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;&lt;STRONG&gt;&amp;gt; 30 Days&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;&lt;STRONG&gt;&amp;lt; 5 Days&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;&lt;STRONG&gt;5 to 10 Days&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 12:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872215#M304884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-22T12:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: PIVOT chart us not able sort</title>
      <link>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872216#M304885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried it with a dual-field from [Age Slot]?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dual(string-value, numeric-value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 12:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872216#M304885</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-22T12:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: PIVOT chart us not able sort</title>
      <link>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872217#M304886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to Sort -&amp;gt; check Expression -&amp;gt;&amp;nbsp; type&lt;/P&gt;&lt;P&gt;sum({1} Age)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this might help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 12:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872217#M304886</guid>
      <dc:creator />
      <dc:date>2015-06-22T12:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: PIVOT chart us not able sort</title>
      <link>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872218#M304887</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;Check in Sort tab, might be you have opted ascending in Numeric value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 12:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872218#M304887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-22T12:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: PIVOT chart us not able sort</title>
      <link>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872219#M304888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dual(string-value, numeric-value) and where I have to use it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 12:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872219#M304888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-22T12:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: PIVOT chart us not able sort</title>
      <link>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872220#M304889</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;If(Days &amp;lt; 5, Dual('&amp;lt;5 Days', 1),&lt;/P&gt;&lt;P&gt;If(Days &amp;lt;= 10, Dual('5 to 10 Days', 2),&lt;/P&gt;&lt;P&gt;if(Days &amp;lt;= 30, Dual('11 to 30 Days', 3), Dual('&amp;gt;30 Days', 4))) as "Age Slot"&lt;/P&gt;&lt;P&gt;from datasource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then&lt;/P&gt;&lt;P&gt;In Pivot table -&amp;gt; Sort , use Num([Age Slot]) in Expression&amp;nbsp; and Ascending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 12:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PIVOT-chart-us-not-able-sort/m-p/872220#M304889</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2015-06-22T12:42:54Z</dc:date>
    </item>
  </channel>
</rss>

