<?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: Issue with sorting a straight table with multiple expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-sorting-a-straight-table-with-multiple-expression/m-p/764016#M271570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in sort tab uncheck all (sort by) for expression 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use dual in expression2 and sort number&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(top($(vCalc_Nsr))&amp;gt;1000000, dual('million', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vCalc_Nsr)&lt;/SPAN&gt;), dual('thousand', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vCalc_Nsr)&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Mar 2015 16:54:11 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-03-21T16:54:11Z</dc:date>
    <item>
      <title>Issue with sorting a straight table with multiple expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-sorting-a-straight-table-with-multiple-expression/m-p/764014#M271568</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 have a straight table with 5 dimensions and 2 expressions. I am facing issues with sorting by expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1 calculates Revenue in million or thousands ( eg: 5.0, 4.2, 4.1):&lt;/P&gt;&lt;P&gt;=if($(vCalc_Nsr)&amp;gt;1000000, DUAL(NUM($(vCalc_Nsr)*0.000001,'#,##0.0'),$(vCalc_Nsr)), DUAL(NUM($(vCalc_Nsr)*0.001,'#,##0'),$(vCalc_Nsr)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 2 indicates the text value as Million or thousand ( Million or thousand):&lt;/P&gt;&lt;P&gt;=if(top($(vCalc_Nsr))&amp;gt;1000000, 'million', 'thousand')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So overall the straight table values appears as 5.0 Million, 4.3 million, 3.0 thousand and so on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the problem is with sorting. I am able to get values in right sort order if expression 2 is disabled. but If I include expression 2, the sort order is getting disturbed. is there any way I can exclude expression 2 from sorting but should be shown in chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: I need to have two expressions mandatory because the client need a different font size for both. Expression1 for revenue with font size 10 and expression2 with font size 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2015 15:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-sorting-a-straight-table-with-multiple-expression/m-p/764014#M271568</guid>
      <dc:creator>pavanpatha</dc:creator>
      <dc:date>2015-03-21T15:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sorting a straight table with multiple expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-sorting-a-straight-table-with-multiple-expression/m-p/764015#M271569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried it without sort-expression. In a straight-table you could sort by a double-click on the column-header from each column. Another possibility is to use only one expression-column and add for thousands/millions simply a "k" or "m" then to show this in full-length is no added 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>Sat, 21 Mar 2015 16:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-sorting-a-straight-table-with-multiple-expression/m-p/764015#M271569</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-03-21T16:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sorting a straight table with multiple expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-sorting-a-straight-table-with-multiple-expression/m-p/764016#M271570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in sort tab uncheck all (sort by) for expression 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use dual in expression2 and sort number&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(top($(vCalc_Nsr))&amp;gt;1000000, dual('million', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vCalc_Nsr)&lt;/SPAN&gt;), dual('thousand', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vCalc_Nsr)&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2015 16:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-sorting-a-straight-table-with-multiple-expression/m-p/764016#M271570</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-21T16:54:11Z</dc:date>
    </item>
  </channel>
</rss>

