<?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: FirstSortedValue cannot be used in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756937#M1030064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right. Fixed the previous post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2015 05:47:48 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2015-02-20T05:47:48Z</dc:date>
    <item>
      <title>FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756933#M1030058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have done this thing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee:&lt;/P&gt;&lt;P&gt;load * Inline [&lt;/P&gt;&lt;P&gt;Employee ID, Age, Customer Name, Sales&lt;/P&gt;&lt;P&gt;Sandip Ghosh, 34, Customer1, 1000&lt;/P&gt;&lt;P&gt;Ananya Ghosh, 29, Customer2, 1200&lt;/P&gt;&lt;P&gt;Amit Das, 35, Customer3, 3000&lt;/P&gt;&lt;P&gt;Kaushik Dhar, 55, Customer4, 5400&lt;/P&gt;&lt;P&gt;Sudhir Ghosh, 74, Customer5, 5980&lt;/P&gt;&lt;P&gt;Sandip Ghosh, 34, Customer6, 54670&lt;/P&gt;&lt;P&gt;Sandip Ghosh, 34, Customer7, 45675&lt;/P&gt;&lt;P&gt;Kaushik Dhar, 55, Customer8, 15400&lt;/P&gt;&lt;P&gt;Kaushik Dhar, 55, Customer9, 45400&lt;/P&gt;&lt;P&gt;Sudhir Ghosh, 74, Customer10, 6598&lt;/P&gt;&lt;P&gt;Ananya Ghosh, 29, Customer2, 16200&lt;/P&gt;&lt;P&gt;Sudhir Ghosh, 74, Customer5, 5980&lt;/P&gt;&lt;P&gt;Sudhir Ghosh, 74, Customer6, 2980&lt;/P&gt;&lt;P&gt;Ananya Ghosh, 29, Customer2, 12900&lt;/P&gt;&lt;P&gt;Ananya Ghosh, 29, Customer2, 12070&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vHighestSalary = FirstSortedValue([Customer Name], -Sales);&lt;/P&gt;&lt;P&gt;SET vSalary =&amp;nbsp; 'Highest Salary = ' &amp;amp; vHighestSalary;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now show the variable in textbox object as =$(vSalary), but it only show&amp;nbsp; 'Highest Salary = ' and value is not showing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 05:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756933#M1030058</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2015-02-20T05:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756934#M1030059</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;It needs to be in a load statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_Fsv:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FirstSortedValue([Customer Name], -Sales) As Fsv&lt;/SPAN&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident Employee;&lt;/SPAN&gt;&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;BR /&gt;&lt;/SPAN&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vHighestSalary = Peek('Fsv');&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let v&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Salary =&amp;nbsp; 'Highest Salary = ' &amp;amp; vHighestSalary;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DROP TABLE &lt;SPAN style="font-size: 13.3333330154419px;"&gt;T_Fsv;&lt;/SPAN&gt;&lt;/SPAN&gt;&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;BR /&gt;&lt;/SPAN&gt;&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;HTH&lt;/SPAN&gt;&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;Jonathan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 05:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756934#M1030059</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-20T05:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756935#M1030060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can directly write the below expression in Text box or you assign the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FirstSortedValue()&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; expression to a variable in UI using Variable overview&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;='Highest Salary = ' &amp;amp; &lt;/SPAN&gt;FirstSortedValue([Customer Name], -Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 05:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756935#M1030060</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-02-20T05:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756936#M1030062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If semicolon is used at the end of the script it will give garbage error. So drop that semicolon : &lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 05:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756936#M1030062</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2015-02-20T05:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756937#M1030064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right. Fixed the previous post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 05:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756937#M1030064</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-02-20T05:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756938#M1030066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can it be written as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_Fsv:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Customer Name], max&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Sales) As Fsv&lt;/SPAN&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident Employee group by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Customer Name]&lt;/SPAN&gt;;&lt;/SPAN&gt;&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;BR /&gt;&lt;/SPAN&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vHighestSalary = Peek('Fsv');&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let v&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Salary =&amp;nbsp; 'Highest Salary = ' &amp;amp; vHighestSalary;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DROP TABLE &lt;SPAN style="font-size: 13.3333330154419px;"&gt;T_Fsv;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 10:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756938#M1030066</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2015-03-24T10:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756939#M1030068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or change your script by dropping the &lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vHighestSalary...&lt;/SPAN&gt; statement and modifying the SET statement into something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SET vSalary=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;'Highest Salary = ' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;FirstSortedValue([Customer Name], -Sales);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to change any expressions in the UI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 11:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756939#M1030068</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-03-24T11:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756940#M1030070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried this:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vHighestSalary = FirstSortedValue([Customer Name], -Sales);&lt;/P&gt;&lt;P&gt;SET vSalary =&amp;nbsp; 'Highest Salary = ' &amp;amp; vHighestSalary;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it does not work for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 12:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756940#M1030070</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2015-03-24T12:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756941#M1030072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LET vHighestSalary = 'FirstSortedValue([Customer Name], -Sales)';&lt;/P&gt;&lt;P&gt;SET vSalary =&amp;nbsp; 'Highest Salary = ' &amp;amp; $(vHighestSalary);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Text box, use this expr&lt;/P&gt;&lt;P&gt;=$(=vSalary )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 13:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756941#M1030072</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-24T13:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756942#M1030074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because the LET statement evaluates the expression on the right of the equal sign, and that part is invalid (or doesn't return a value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SET statement doesn't do a such thing. It just stores everything after the equal sign as literal text in your variable for later use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop the LET statement, and use the SET statement version from my post.&lt;/P&gt;&lt;P&gt;Or use the version that Anbu posted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 14:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756942#M1030074</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-03-24T14:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756943#M1030077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u tell me what is the use of double equals to(=) and $ sign here? or why I am using = sign insight the () ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give an explanation with an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 03:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756943#M1030077</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2015-03-25T03:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756944#M1030081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check these links&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3444"&gt;The Magic of Dollar Expansions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 04:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756944#M1030081</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-25T04:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue cannot be used in script</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756945#M1030083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no double equal sign in my examples. Moreover, you won't need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the theory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The first equal sign is necessary for QlikVies to interprete the text as an expression (just like in Excel). First the text after the first equal sign will be evaluated as a regular QlikView expression and the result of evaluation will be used/displayed.&lt;/LI&gt;&lt;LI&gt;$-sign substitution always comes before any evaluation.&lt;/LI&gt;&lt;LI&gt;Usually a $(varname) construct will we replaced by the text value that is stored in variable varname. Varname can be prefixed by one of two 'modifiers':&lt;BR /&gt;- a # means substitute with the numerical value of varname&lt;BR /&gt;- a = means substitute with the result of evaluating the text after the equal sign (again an expression)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 07:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-cannot-be-used-in-script/m-p/756945#M1030083</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-03-25T07:22:04Z</dc:date>
    </item>
  </channel>
</rss>

