<?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: Advanced Expressions as Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462598#M792138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide a small example which displayed this behaviour.&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, 11 Jan 2018 17:55:09 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-01-11T17:55:09Z</dc:date>
    <item>
      <title>Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462592#M792132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been transferring all the expressions that the company uses over to variables that are saved in Excel.&amp;nbsp; Simple ones like this work no problem: (In Excel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;$1, $2, $3, $4, $5, $6, $7, $8, $9&amp;gt;} [Item sales-net])&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 741px;"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 741px;"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then call it inside Qlikview like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(e_Sls($(vSO_Closed_Only)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This becomes a problem in 2 areas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, there are certain places that we are passing more than 9 arguments in Set Analysis and if I increase the number of arguments with $10, $11, etc. it is interpreted as $1(0), $1(1), etc.&amp;nbsp; Passing the second digit to the $1 argument. is there a way I can get more than 9 variables passed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, if I am passing a variable that is outside the set analysis, it won't work. I tried the following: (In Excel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;$1, $2, $3, $4, $5, $6, $7, $8&amp;gt;} $9 [Item sales-net])&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then call it inside Qlikview like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(e_Sls_Test(SO_Closed={1}, [Customer Terms Code]-={60,90}, [Chain store code]={'PAN'}, Item=, [Source for PG Report]) TOTAL &amp;lt;[Invoice Number]&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(e_Sls_Test(SO_Closed={1}, [Customer Terms Code]-={60,90}, [Chain store code]={'PAN'}, Item=, [Source for PG Report],,,) TOTAL &amp;lt;[Invoice Number]&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(e_Sls_Test(SO_Closed={1}, [Customer Terms Code]-={60,90}, [Chain store code]={'PAN'}, Item=, [Source for PG Report],Null,Null,Null) TOTAL &amp;lt;[Invoice Number]&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(e_Sls_Test(SO_Closed={1}, [Customer Terms Code]-={60,90}, [Chain store code]={'PAN'}, Item=, [Source for PG Report],,,,TOTAL &amp;lt;[Invoice Number]&amp;gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;None of them are working.&amp;nbsp; It is not recognizing the TOTAL &amp;lt;[Invoice Number]&amp;gt; in any of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 442px;"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462592#M792132</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462593#M792133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check these&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9045"&gt;Variables with Parameters&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-17393"&gt;Qlikview Parameterised Variables&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 02:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462593#M792133</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-11T02:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462594#M792134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK there is no limitation to the number of parameters and I checked it with 12 parameters and it worked like expected - even for each other part of the expression like the TOTAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why it didn't work by you is that there are any failures within your expression-variable-construct - one is here: &lt;STRONG&gt;[Customer Terms Code]-={60,90}&lt;/STRONG&gt; because there is a comma included and so QV interpret it as two parameters of: &lt;STRONG&gt;[Customer Terms Code]-={60&lt;/STRONG&gt; and &lt;STRONG&gt;90}&lt;/STRONG&gt; which of course leads to an error. There is no way to mask the comma in any way - each comma will be always treated as parameter-delimiter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general there are workarounds possible by using a different delimiter for it the inside-comma and replacing it within the variable and/or by using chr(44) within a string-concat - but it won't be always sensible because of the needed complexity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saying this I'm not sure that your approach to replace all expressions with variables is a wise decision. Of course it's possible but it adds a huge amount of complexity and additionally efforts to develop and maintain the applications. In my opinion it's an overuse of the idea why variables does exists and for what they are useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless the above mentioned comma-problem could be bypassed with the following writing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Customer Terms Code]-={&lt;STRONG&gt;(60|90)&lt;/STRONG&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, 11 Jan 2018 08:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462594#M792134</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-11T08:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462595#M792135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus, what syntax did you use for the 12 parameters? because as I mentioned $10 was interpreted as $1(0) where it viewed that as argument 1 passing 0 to it.&amp;nbsp; And how did you get the Total portion to work?&amp;nbsp; It is not showing up.&amp;nbsp; I am not currently having an issue with the comma.&amp;nbsp; If after I get the formula working, and that is a problem then that would be a good workaround but I am not up to that point yet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I look at the label for the expression, I can see how it is interpreted and it is not being interpreted correctly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 13:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462595#M792135</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2018-01-11T13:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462596#M792136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm just added 11 fields like Year =, Month = to the set analysis and the 12 parameter was TOTAL &amp;lt;Field&amp;gt;. Where did you see that $10 is handled as $1(0) ? Did you look at the expression-interpretation within an empty expression-header of a table-chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further like above mentioned the following &lt;STRONG&gt;[Customer Terms Code]-={60,90}&lt;/STRONG&gt; is treated as two parameters, because of the comma in it.&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, 11 Jan 2018 13:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462596#M792136</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-11T13:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462597#M792137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that isn't what I am asking.&amp;nbsp; You are doing a variable directly in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating this as a variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;$1, $2, $3, $4, $5, $6, $7, $8, $9&amp;gt;} [Item sales-net])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;$1, $2, $3, $4, $5, $6, $7, $8, $9, $10&amp;gt;} [Item sales-net]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I am calling the variable like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(e_Sls(Year=, Month=, Day=, [Customer Terms Code]-={60,90}, [Chain store code]={'PAN'}, Item=, SO_Closed={1}, SlsPerson=, Special_Offer={2}, Week={52})&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;that is evaluated like this:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;sum({&amp;lt;Year=, Month=, Day=, [Customer Terms Code]-={60,90}, [Chain store code]={'PAN'}, Item=, SO_Closed={1}, SlsPerson=, Special_Offer={2}, &lt;STRONG&gt;&lt;STRONG&gt;Year=&lt;/STRONG&gt;&lt;/STRONG&gt;{52}&amp;gt;})&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;the last argument $10 believes that I am calling $1 with 0 as an argument for it. it ignores the argument that I pass in the 10th place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Did you look at the expression-interpretation within an empty expression-header of a table-chart" Yes, that is how I know it is evaluating like that. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 14:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462597#M792137</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2018-01-11T14:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462598#M792138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide a small example which displayed this behaviour.&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, 11 Jan 2018 17:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462598#M792138</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-11T17:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462599#M792139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will put something together.&amp;nbsp; However, I have figured out more in the process.&amp;nbsp; The Total variable is not an issue.&amp;nbsp; Instead the issue you pointed to of the comma being an issue came in to play; what it did was split the comma separated values in to two separate arguments making the total amount of arguments more than I declared in the expression variable. So now I am working on that and the issue of passing more than 9 arguments to the variable. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 18:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462599#M792139</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2018-01-11T18:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462600#M792140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my Expression as a variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;$1, $2, $3, $4, $5, $6, $7, $8, $9, $10&amp;gt;} [Item sales-net]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what my expression in Qlikview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(ItemForPanGregorian AND [Chain store code]='PAN', $(e_Sls_Test(sum, SO_Closed={1}, [Source for PG Report]=, [Customer Terms Code]-={60|90}, [Chain store code]={'PAN'}, Item=, '', '', TOTAL &amp;lt;[Invoice Number]&amp;gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the picture shows what qlikview evaluates it as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Issue.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189793_Issue.jpg" style="height: 87px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;as you can see the $10 is being evaluated as sum(0), not, as in this case blank. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 18:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462600#M792140</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2018-01-11T18:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462601#M792141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and here is a very basic qvw that shows $10 always evaluates as 1(0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 18:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462601#M792141</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2018-01-11T18:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462602#M792142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how come there is no way to attach a qvw?&amp;nbsp; I can't use advanced editor?&amp;nbsp; I am trying to add the example. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 18:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462602#M792142</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2018-01-11T18:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462603#M792143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out why I couldn't add a qvw file.&amp;nbsp; I was replying from my inbox, which doesn't allow you to get in to the advanced editor.&amp;nbsp; Sorry, as you can see in the file $10 always evaluates as $1(0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 19:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462603#M792143</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2018-01-11T19:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462604#M792144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For me it worked with 10 parameters although I changed a bit the places of the parameters because there wasn't enough fields in your example so that must be a bit creative. Further I believe it will always work if there are no errors within the variable and the expression-call of it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189781_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&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, 11 Jan 2018 20:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462604#M792144</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-11T20:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462605#M792145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to try to replicate that but you don't show how you call the variable exponent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 20:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462605#M792145</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2018-01-11T20:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462606#M792147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus, Thank you.&amp;nbsp; I want to try to replicate that but you don't show how you call the variable exponent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 20:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462606#M792147</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2018-01-11T20:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462607#M792148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(e_Sls(1, [Invoice Number]=, DateKey=, [Customer Code]=, [Order Date]=, [Transaction Date]=, [Week Count]=, [Ext Sales - Net]=, TOTAL, &amp;lt;DateKey&amp;gt; ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you opened the question in a new browser-tab you will see that there is also a qvw attached.&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, 11 Jan 2018 20:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462607#M792148</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-11T20:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Expressions as Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462608#M792150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry I didn't realize you supplied a qvw file.&amp;nbsp; with that file and more testing I have discovered more.&amp;nbsp; Here I remove the last 2 arguments and the $10 is evaluated as 1(0), so it only happens if the $10 argument is not passed.&amp;nbsp; That is the issue.&amp;nbsp; This variable will be used in certain cases where there is no 10th argument and in those cases it will result in 1(0) which messes up the expression.&amp;nbsp; I am doing more testing, thank you for your help.&amp;nbsp;&amp;nbsp; I will reply as I figure out more. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 20:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Expressions-as-Variables/m-p/1462608#M792150</guid>
      <dc:creator>djbloiss</dc:creator>
      <dc:date>2018-01-11T20:53:11Z</dc:date>
    </item>
  </channel>
</rss>

