<?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 Order alphabetically with a expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Order-alphabetically-with-a-expression/m-p/36573#M6165</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 field called %&lt;SPAN style="font-size: 13.3333px;"&gt;OrderType, which has values KG or Box. What I want is that when the user select KG or Box, a dimension of a graph is orderer by an expression. This is working. But if there is no expression selected, I want the dimension to be ordered alphabetically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The dimension is "Especie" and this is the expression that I am using:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(%&lt;SPAN style="font-size: 13.3333px;"&gt;OrderType&lt;/SPAN&gt;='KG',Sum(#Kg)/1000,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(%&lt;SPAN style="font-size: 13.3333px;"&gt;OrderType&lt;/SPAN&gt;='Box',Sum(#Box)/1000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Especie])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about how to order alphabetically is nothing is selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2018 18:24:29 GMT</pubDate>
    <dc:creator>cristian_av</dc:creator>
    <dc:date>2018-03-01T18:24:29Z</dc:date>
    <item>
      <title>Order alphabetically with a expression</title>
      <link>https://community.qlik.com/t5/QlikView/Order-alphabetically-with-a-expression/m-p/36573#M6165</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 field called %&lt;SPAN style="font-size: 13.3333px;"&gt;OrderType, which has values KG or Box. What I want is that when the user select KG or Box, a dimension of a graph is orderer by an expression. This is working. But if there is no expression selected, I want the dimension to be ordered alphabetically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The dimension is "Especie" and this is the expression that I am using:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(%&lt;SPAN style="font-size: 13.3333px;"&gt;OrderType&lt;/SPAN&gt;='KG',Sum(#Kg)/1000,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(%&lt;SPAN style="font-size: 13.3333px;"&gt;OrderType&lt;/SPAN&gt;='Box',Sum(#Box)/1000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Especie])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about how to order alphabetically is nothing is selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 18:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Order-alphabetically-with-a-expression/m-p/36573#M6165</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2018-03-01T18:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Order alphabetically with a expression</title>
      <link>https://community.qlik.com/t5/QlikView/Order-alphabetically-with-a-expression/m-p/36574#M6166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=If(%OrderType = 'KG',Sum(#Kg)/1000, If(%OrderType = 'Box', Sum(#Box)/1000,&lt;SPAN style="color: #ff0000;"&gt; (Count(DISTINCT [Especie]) - Rank([Especie]))&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 18:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Order-alphabetically-with-a-expression/m-p/36574#M6166</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-01T18:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Order alphabetically with a expression</title>
      <link>https://community.qlik.com/t5/QlikView/Order-alphabetically-with-a-expression/m-p/36575#M6167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found an easier way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(%&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;OrderType&lt;/SPAN&gt;='KG',Sum(#Kg)/1000,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; if(%&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;OrderType&lt;/SPAN&gt;='Box',Sum(#Box)/1000,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; null() )))&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;And select the order alphabetically in the GUI &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 20:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Order-alphabetically-with-a-expression/m-p/36575#M6167</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2018-03-01T20:25:02Z</dc:date>
    </item>
  </channel>
</rss>

