<?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: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981855#M335155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt; thanks, very interesing example.&lt;/P&gt;&lt;P&gt;But it has same logics like valuelist() case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The target of my question is understand of "why Evaluation() function which must return text, cant"?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And globally this solution can extend current functionality of reportiong.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus, now, using of $() is closest solution, but it cant get array of arguments linked to dimention, it calculates once per chart and incert single (not dimention dependent) string in $(=) or numeric in $(#=) value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Dec 2015 23:47:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-23T23:47:37Z</dc:date>
    <item>
      <title>AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981846#M335146</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;ActiveDocument.Evaluate() works fine at MSGBOX, for example:&lt;/P&gt;&lt;P&gt;msgbox ActiveDocument.Evaluate("subfield('a,b,c', ',', 2)") &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But dnt work at interface TextObject with AllowMacroFunctionsInExpressions=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface object must contain "=&lt;SPAN style="font-size: 13.3333px;"&gt;fEvaluate('&lt;SPAN style="font-size: 13.3333px;"&gt;subfield('a,b,c', ',', 2)')" without double quotes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Work&lt;/STRONG&gt; example (use Eval() VBS function):&lt;/P&gt;&lt;P&gt;FUNCTION fEvaluate(N)&lt;/P&gt;&lt;P&gt;&amp;nbsp; fEvaluate = Eval(N)&lt;/P&gt;&lt;P&gt;END FUNCTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dnt work&lt;/STRONG&gt; sample:&lt;/P&gt;&lt;P&gt;FUNCTION fEvaluate(N)&lt;/P&gt;&lt;P&gt;&amp;nbsp; fEvaluate = ActiveDocument.Evaluate(N)&lt;/P&gt;&lt;P&gt;END FUNCTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can someone help me make it work?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 14:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981846#M335146</guid>
      <dc:creator />
      <dc:date>2015-12-23T14:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981847#M335147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A first note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Eval() function of VBS is something completely different from the Evaluate member of the QlikView Automation API. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you want to evaluate something that you can do directly in a textbox expression anyway? Is this just a "toy" example that you pose - not what you really need to do with Evaluate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 14:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981847#M335147</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-12-23T14:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981848#M335148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes its a toy example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My case need to calculate text string expression contained in a field linked to title field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For real example i need to build chart of KPIs, with dimention and expressions like this picture:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="109856" alt="img-2015-12-23-18-24-51.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109856_img-2015-12-23-18-24-51.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Now i beat it using &lt;STRONG&gt;VALUELIST('BUDGET','ACTUAL','VARIANCE')&lt;/STRONG&gt; as dimention and expressions like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; VALUELIST('BUDGET','ACTUAL','VARIANCE')='BUDGET'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,IF(VALUELIST('BUDGET','ACTUAL','VARIANCE')='ACTUAL'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,IF(VALUELIST('BUDGET','ACTUAL','VARIANCE')='VARIANCE'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But its simple case and i need to add more dimentions and expressions.&lt;/P&gt;&lt;P&gt;When i put first column as dimention and convert expression as other columns, ill happy. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Evaluate() this case must work with script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Title, Budget, Actial, Variance&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Total Flights, sum(A), sum(B), &lt;SPAN style="font-size: 13.3333px;"&gt;sum(A)-&lt;SPAN style="font-size: 13.3333px;"&gt;sum(B)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;And chart with dimention Title and expressions like &lt;STRONG&gt;=fEvaluate([Budget])&lt;/STRONG&gt; for Budget column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--kind refards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 15:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981848#M335148</guid>
      <dc:creator />
      <dc:date>2015-12-23T15:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981849#M335149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What should be the use of macro-functions in your case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 15:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981849#M335149</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-23T15:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981850#M335150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;previous post corrected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 15:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981850#M335150</guid>
      <dc:creator />
      <dc:date>2015-12-23T15:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981851#M335151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use &lt;A href="https://community.qlik.com/qlik-blogpost/3444"&gt;The Magic of Dollar Expansions&lt;/A&gt; for this, like: $(=Budget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 16:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981851#M335151</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-23T16:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981852#M335152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus, $() calculate once per chart, am tryin' it already. May be other solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 16:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981852#M335152</guid>
      <dc:creator />
      <dc:date>2015-12-23T16:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981853#M335153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What didn't work? I think it would be helpful you post more details. In general it's possible to create a table-chart without a real dimension and assign certain expression to the virtual dimension without macro-functions (are the absolute worst case) and $-sign expansion (which could be very often applied).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 19:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981853#M335153</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-23T19:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981854#M335154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could something like this work for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-12-23 #1.PNG" class="jive-image image-1" src="/legacyfs/online/109861_2015-12-23 #1.PNG" style="height: 217px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the QVW too for you to have a look at...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 20:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981854#M335154</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-12-23T20:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981855#M335155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt; thanks, very interesing example.&lt;/P&gt;&lt;P&gt;But it has same logics like valuelist() case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The target of my question is understand of "why Evaluation() function which must return text, cant"?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And globally this solution can extend current functionality of reportiong.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus, now, using of $() is closest solution, but it cant get array of arguments linked to dimention, it calculates once per chart and incert single (not dimention dependent) string in $(=) or numeric in $(#=) value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 23:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981855#M335155</guid>
      <dc:creator />
      <dc:date>2015-12-23T23:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981856#M335156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you call a VBScript function in a Macro this function can't use the QlikView object model. So you are limited to using standard VBScript. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why there is a difference between calling the same VBScript function from a Macro and from an expression in the QlikView UI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 00:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981856#M335156</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-12-24T00:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981857#M335157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really? Are there ways to use the object model of the current document in the interface? In my opinion, a bit strange limitation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 08:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981857#M335157</guid>
      <dc:creator />
      <dc:date>2015-12-24T08:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981858#M335158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did some testing to verify it. It is really not so strange because making a sort of loop-back call like you want to do might lead to serious performance issues and other issues. One of the environments should be the host and the other the client. What you wish for is that both are hosts and clients to each other at the same time...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 08:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981858#M335158</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-12-24T08:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981859#M335159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe. But at the moment into QlikView is not possible to interpret a text string as an expression. Rather at the moment only through the Eval() of VBS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 08:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981859#M335159</guid>
      <dc:creator />
      <dc:date>2015-12-24T08:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981860#M335160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macro functions within the gui-objects are really rarely useful - only by iterations or other kind of loops it's easier or the only possibility - everything else could be done with the normal qlikview functions. Using variables as user-defined functions, parametrized and with $-sign expansion are very powerful and flexible: &lt;A href="https://community.qlik.com/docs/DOC-14559"&gt;Variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 11:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981860#M335160</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-24T11:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981861#M335161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I maked sample to try variables, but any arguments need to be sended in $( ).&lt;/P&gt;&lt;P&gt;But $( ) dont see chart dimentions.&lt;/P&gt;&lt;P&gt;Can you help me here?&lt;/P&gt;&lt;P&gt;Included solution with vbs eval() function, but it beat only simple expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 10:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981861#M335161</guid>
      <dc:creator />
      <dc:date>2015-12-28T10:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981862#M335162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand yet what do you are trying to do. QlikView isn't excel where each cell could have their own calculation completely independent to other cells or data - qv processed data which are structured in fields and tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are exceptions possible like in the example from Petter which is quite near to your example and I didn't understand what isn't suitable (at least as starting point). I think your approach with macro-functions and any eval-functions led into a deadlock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 13:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981862#M335162</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-28T13:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981863#M335163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am tryin to avoid charts with 300+ expressions or expressions with 5k symbols of code, when making reports like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* each row of included sample has different calculations. Now i beat it using mapping and many IFs.&lt;/P&gt;&lt;P&gt;** and included pdf isnt hardest sample &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you answered my question about macroses and evaluate function, you said i can make it using variables and arguments. I just ask how to use variables to give em field value as parameter and not isolate it from chart dimention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter's sample require expression, of many thouthands symbols inside. Its very difficult to implement and support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 14:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981863#M335163</guid>
      <dc:creator />
      <dc:date>2015-12-28T14:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981864#M335164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With all due respect I think you are over-complicating this quite a bit. You don't need 300+ expressions with 5k symbols of code.... If you you really do then you don't need a BI software tool you need to program in some programming language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you attached looks very similar to things that people solve everyday with QlikView and Qlik Sense without having to resort to endless numbers of expressions. Often when people approach new tools they will over-complicate things - that is very common - even with Qlik products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't start with what you think is the solution - you have to come up with a clearly stated requirement without demanding that it should be solved in a particular way. Then most likely someone can advise you on how to approach it in an efficient way in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might very well be that you should pre-calculate a lot of the data while you run the load script. Then again it might be that you shouldn't. It all depends on speed, size of the data model, the necessary flexibility and freedom you need in your UI while doing your analysis. It is all a matter of balance and sometimes a fine art and not a simple checklist you can use without modification to any kind of problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are plenty of people here on the forum that will be more than happy to help you - just be clear about requirements and what kind of data that you have at your disposal initially. Providing some test data and some figures about the nature of this data will speed the process tremendously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Petter Skjolden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 16:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981864#M335164</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-12-28T16:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: AllowMacroFunctionsInExpressions AND ActiveDocument.Evaluate()</title>
      <link>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981865#M335165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree completely with Petter. Thinking in the structures of other languages/tools like SQL or excel is rather obstructive then helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless I have looked for a way to automate such expressions and with the use of a structured expressions-concat with rowno() and a parametrized expression-variable within a pick-expression (a larger pick could be created within a loop) comes it quite near to your idea (a direct evalute won't be possible neither with $-sign expansion or macro-functions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you should really rethink your approach and use the power of qlikview which is the associative datamodel and where the main-logic is within the dimensions and quite simple expressions like sum(sales/budget) or count(order) against those dimensions is enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 10:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AllowMacroFunctionsInExpressions-AND-ActiveDocument-Evaluate/m-p/981865#M335165</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-29T10:19:40Z</dc:date>
    </item>
  </channel>
</rss>

