<?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 Evaluate function in chart! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330088#M574029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;i have a classic problem! i need to use evaluate() function in my Expression, ofcurse "This string function can not be used in chart expressions.", as stated in refrence manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="17594" class="jive-image-thumbnail jive-image" height="269" onclick="" alt="Unbenannt.JPG" src="https://community.qlik.com/legacyfs/online/17594_Unbenannt.JPG" style="height: 269px; width: 786.0389610389611px;" width="786" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you can see i have calculated a string for every Month, my only dimension. But i need to evaluate the value of this string at the next column and evaluate dosn't works here!&lt;/P&gt;&lt;P&gt;i hope some QV genius could help me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Peyman &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2012 17:58:50 GMT</pubDate>
    <dc:creator>azimabadi</dc:creator>
    <dc:date>2012-07-02T17:58:50Z</dc:date>
    <item>
      <title>Evaluate function in chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330088#M574029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;i have a classic problem! i need to use evaluate() function in my Expression, ofcurse "This string function can not be used in chart expressions.", as stated in refrence manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="17594" class="jive-image-thumbnail jive-image" height="269" onclick="" alt="Unbenannt.JPG" src="https://community.qlik.com/legacyfs/online/17594_Unbenannt.JPG" style="height: 269px; width: 786.0389610389611px;" width="786" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you can see i have calculated a string for every Month, my only dimension. But i need to evaluate the value of this string at the next column and evaluate dosn't works here!&lt;/P&gt;&lt;P&gt;i hope some QV genius could help me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Peyman &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 17:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330088#M574029</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2012-07-02T17:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate function in chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330089#M574030</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;Just put your string (with the = sign) into a variable vExpression, then in your chart expression use $(vExpression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 19:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330089#M574030</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-07-02T19:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate function in chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330090#M574031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help Jason,&lt;/P&gt;&lt;P&gt;but this will not work. QV evaluate Vars when are used in Expressions only one time when wants to refresh the chart. This means that variable will not recalculate for every dimension and this is exactly what i need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 19:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330090#M574031</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2012-07-02T19:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate function in chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330091#M574032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peyman, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that you want to create a set expression in the context of the dimension by using this kind of variable creation. As you also noticed, I believe that will not work this way, due to the constraints of expression evaluation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This discussion might help you, I think using a pick/match combination and an expression branch per dimension value, you could achieve what you want, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=pick(match(Month,'Jan','Feb'),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SETEXPRESSION_JAN,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SETEXPRESSION_FEB&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/docs/DOC-1335"&gt;http://community.qlik.com/docs/DOC-1335&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;EM&gt;,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 19:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330091#M574032</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-02T19:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate function in chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330092#M574033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;thank you for help. I think this can be the solution if i could use variabels for expersions in pick command. my expression is something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;= 'Count( {&amp;lt;Kalender.Datum={"&amp;gt;=' &amp;amp; MonthStart( AddMonths( AddYears( MakeDate( Year(Today()) , MinString( Kalender.Monat ) ) , -1 ) , 1 ) ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp; '&amp;lt;=' &amp;amp; MonthEnd( MakeDate( Year( Today() ) , MinString( Kalender.Monat ) ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp; '"}&amp;gt;} TOTAL Kalender.Datum )'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need for every month calculate a sum for past 11 month plus that month, this means for &lt;SPAN style="color: #0000ff;"&gt;2012,01&lt;/SPAN&gt; i have to make a some from &lt;SPAN style="color: #008000;"&gt;2011.02.01&lt;/SPAN&gt; to&amp;nbsp; &lt;SPAN style="color: #008000;"&gt;2012.01.30&lt;/SPAN&gt; and so on.&lt;/P&gt;&lt;P&gt;It's really late &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; and i'm going to test this tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 20:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330092#M574033</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2012-07-02T20:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate function in chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330093#M574034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using an set expression with dollar sign expansion in the field modifier, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;=pick(match(Month,'Jan','Feb'),&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Count( {&amp;lt;Kalender.Datum={"&amp;gt;=$(=MonthStart( AddMonths( AddYears( MakeDate( Year(Today()) , MinString( Kalender.Monat ) ) , -1 ) , 1 ) ))&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;lt;=$(=MonthEnd( MakeDate( Year( Today() ) , MinString( Kalender.Monat ) ) ))&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;"}&amp;gt;} TOTAL Kalender.Datum )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;....&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 20:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330093#M574034</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-02T20:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate function in chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330094#M574035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There may be another way round this. Are you able to post your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330094#M574035</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-07-03T07:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate function in chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330095#M574037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QVW is really BIG and is customer data, so i', not allowed to post the real file. But i will make a sample and post it as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 08:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-function-in-chart/m-p/330095#M574037</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2012-07-03T08:57:50Z</dc:date>
    </item>
  </channel>
</rss>

