<?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 Manage frequently used expressions in script editor in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Manage-frequently-used-expressions-in-script-editor/m-p/198892#M504076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx NMiller!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jan 2010 18:19:25 GMT</pubDate>
    <dc:creator>dpietersz</dc:creator>
    <dc:date>2010-01-04T18:19:25Z</dc:date>
    <item>
      <title>Manage frequently used expressions in script editor</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-frequently-used-expressions-in-script-editor/m-p/198890#M504074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following code in my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;SET eYTD = 'sum({$&amp;lt;Year = {$(=max(Year))}, Month = {"&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} Month))"}&amp;gt;} LineSalesAmount)';&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I want to use "eYTD" in my charts as an expression. But after a reload the content of "eYTD" is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;sum({$&amp;lt;Year = {(internal error)}, Month = {"&amp;lt;=(internal error)"}&amp;gt;} LineSalesAmount)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 20:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-frequently-used-expressions-in-script-editor/m-p/198890#M504074</guid>
      <dc:creator>dpietersz</dc:creator>
      <dc:date>2009-12-30T20:48:01Z</dc:date>
    </item>
    <item>
      <title>Manage frequently used expressions in script editor</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-frequently-used-expressions-in-script-editor/m-p/198891#M504075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, you want to use Let instead of Set. Then in your expressions, replace all of the dollar signs with:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;' &amp;amp; Chr(36) &amp;amp; '&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;So:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LET eYTD = 'sum({' &amp;amp; Chr(36) &amp;amp; '&amp;lt;Year = {' &amp;amp; Chr(36) &amp;amp; '(=max(Year))},&lt;BR /&gt;Month = {"&amp;lt;=' &amp;amp; Chr(36) &amp;amp; '(=max({&amp;lt;Year={' &amp;amp; Chr(36) &amp;amp; '(=max(Year))}&amp;gt;} Month))"}&amp;gt;} LineSalesAmount)';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then once you reload, QlikView will put in the dollar signs, but not evaluate the dollar sign expansion. Your variable should contain the Set Analysis expression and it should work in your charts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 22:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-frequently-used-expressions-in-script-editor/m-p/198891#M504075</guid>
      <dc:creator />
      <dc:date>2009-12-30T22:48:47Z</dc:date>
    </item>
    <item>
      <title>Manage frequently used expressions in script editor</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-frequently-used-expressions-in-script-editor/m-p/198892#M504076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx NMiller!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 18:19:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-frequently-used-expressions-in-script-editor/m-p/198892#M504076</guid>
      <dc:creator>dpietersz</dc:creator>
      <dc:date>2010-01-04T18:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Manage frequently used expressions in script editor</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-frequently-used-expressions-in-script-editor/m-p/198893#M504077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dimitri and NMiller,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you have used the eYTD field in your expressions in chart?&lt;/P&gt;&lt;P&gt;I used it like&lt;/P&gt;&lt;P&gt;I gave just =eYTD in the expression in the chart,&lt;/P&gt;&lt;P&gt;the table is showing the whole expression instead of evaluating that expression.&lt;/P&gt;&lt;P&gt;so how to use that eYTD in expression in chart?&lt;/P&gt;&lt;P&gt;Can you please help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 10:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-frequently-used-expressions-in-script-editor/m-p/198893#M504077</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2012-11-29T10:30:59Z</dc:date>
    </item>
  </channel>
</rss>

