<?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: How to sort list box with an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224033#M849176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect that the "blank" buyer isn't really blank. Maybe it's a space or a number of spaces.&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Len(trim(Buyer))&amp;gt;0,Buyer)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Mar 2017 15:11:39 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2017-03-16T15:11:39Z</dc:date>
    <item>
      <title>How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224025#M849168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a list box that has some blanks in it, so I used an expression to remove them.&amp;nbsp; Upon doing so, the sort no longer works as it did previously.&amp;nbsp; I want to sort ascending.&amp;nbsp; I tried changing the sort from State - Auto Ascending to Expression - Ascending and then placing the expression in the box below, but it does not seem to work.&amp;nbsp; Here is the expression I am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Len(Buyer)&amp;gt;0,Buyer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224025#M849168</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224026#M849169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried sorting by Text in ascending?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 14:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224026#M849169</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T14:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224027#M849170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it does not change.&amp;nbsp; When I just choose to sort by Text Ascending, I still get the blank value on top even with the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 14:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224027#M849170</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2017-03-16T14:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224028#M849171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you removed checks from auto and expression, just with Text it isn't working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 14:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224028#M849171</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T14:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224029#M849172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct.&amp;nbsp; It does sort them Ascending, but the blank still shows up first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224029#M849172</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2017-03-16T15:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224030#M849173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expression used for the list box? Isn't it this guy?&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;&lt;STRONG&gt;=If(Len(Buyer)&amp;gt;0,Buyer)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224030#M849173</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T15:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224031#M849174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that is the expression that I am using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224031#M849174</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2017-03-16T15:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224032#M849175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why are you even seeing blanks then? You have me completely confused? Can you share sample or images?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224032#M849175</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T15:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224033#M849176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect that the "blank" buyer isn't really blank. Maybe it's a space or a number of spaces.&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Len(trim(Buyer))&amp;gt;0,Buyer)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224033#M849176</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2017-03-16T15:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224034#M849177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added a sample QVW file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:16:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224034#M849177</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2017-03-16T15:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224035#M849178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Len(trim(PurgeChar(Buyer, Chr(48))))&amp;gt;0, Buyer)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224035#M849178</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T15:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224036#M849182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does that do exactly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224036#M849182</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2017-03-16T15:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224037#M849186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two types of blanks.... one is normal blank and the other one is some sort of character which seems to be Chr(48).... I purged it while checking for blanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224037#M849186</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T15:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224038#M849189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, thanks again!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-list-box-with-an-expression/m-p/1224038#M849189</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2017-03-16T15:23:36Z</dc:date>
    </item>
  </channel>
</rss>

