<?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: sort by expression retrieved from input field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sort-by-expression-retrieved-from-input-field/m-p/702183#M253357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to define the Variable in another way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2014 10:20:27 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2014-08-19T10:20:27Z</dc:date>
    <item>
      <title>sort by expression retrieved from input field</title>
      <link>https://community.qlik.com/t5/QlikView/sort-by-expression-retrieved-from-input-field/m-p/702182#M253356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to achieve the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've several buttons which adjust the expression in inputfield "vSort"&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;Button 1: change variable vSort, value: =only({1} Present)&lt;/P&gt;&lt;P&gt;Button 2: change variable vSort, value: etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to sort a table by expression, using as expression =vSort, but this does not work because vSort is already a calculated value of the expression: =only({1} Present) and not the expression itself.&lt;/P&gt;&lt;P&gt;So i would like to change the sorting easily by clicking the buttons (which can have some extensive expressions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your help would be much appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sort-by-expression-retrieved-from-input-field/m-p/702182#M253356</guid>
      <dc:creator>pepe2209</dc:creator>
      <dc:date>2014-08-19T10:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: sort by expression retrieved from input field</title>
      <link>https://community.qlik.com/t5/QlikView/sort-by-expression-retrieved-from-input-field/m-p/702183#M253357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to define the Variable in another way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sort-by-expression-retrieved-from-input-field/m-p/702183#M253357</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-08-19T10:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: sort by expression retrieved from input field</title>
      <link>https://community.qlik.com/t5/QlikView/sort-by-expression-retrieved-from-input-field/m-p/702184#M253358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;1) When you define the variable value in the button, don't use the'=' sign - i.e. instead of "=only({1} Present)" use "only({1} Present)"&lt;/P&gt;&lt;P&gt;2) Depending what is in the chart sort expression, you may then need to use a dollar expansion, i.e. =$(vSort)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1 should store the expression text in the variable, rather than the expression result.&amp;nbsp; Step 2 will then give you the result of the expression (if required).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sort-by-expression-retrieved-from-input-field/m-p/702184#M253358</guid>
      <dc:creator>northerner</dc:creator>
      <dc:date>2014-08-19T10:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: sort by expression retrieved from input field</title>
      <link>https://community.qlik.com/t5/QlikView/sort-by-expression-retrieved-from-input-field/m-p/702185#M253359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this works for me, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 11:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sort-by-expression-retrieved-from-input-field/m-p/702185#M253359</guid>
      <dc:creator>pepe2209</dc:creator>
      <dc:date>2014-08-19T11:14:30Z</dc:date>
    </item>
  </channel>
</rss>

