<?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 Concatenate expression from (more) variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-expression-from-more-variables/m-p/1681410#M450097</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a problem with my qlikview app.&lt;/P&gt;&lt;P&gt;I need to use 5200 complex expressions store in oracle db. I'm using &lt;SPAN&gt;jontydkpi&amp;nbsp;&lt;/SPAN&gt;from&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Put-the-formula-from-field-into-dollar-sign-expansion-and/td-p/1000025" target="_self"&gt;this post&lt;/A&gt;&amp;nbsp;.&lt;BR /&gt;The problem is the length expression in variable (650.000 chars) so I've split in more variable.&lt;/P&gt;&lt;P&gt;Now I've m variables like "pick(N,expr1,expr2.......)" and it works but not together.&lt;/P&gt;&lt;P&gt;var1-&amp;gt; pick(dim,expr1,expr2..exprn)&lt;/P&gt;&lt;P&gt;var2-&amp;gt; pick(dim,expr(n+1),expr(n+2)..exprm)&lt;/P&gt;&lt;P&gt;I need a single expression&amp;nbsp;pick(dim,expr1,expr2..exprn)+pick(dim,expr(n+1),expr(n+2)..exprm) but if I use&amp;nbsp;&lt;/P&gt;&lt;P&gt;=($(var1))+($(var2))&lt;/P&gt;&lt;P&gt;doesn't works!&lt;/P&gt;</description>
    <pubDate>Tue, 03 Mar 2020 16:25:07 GMT</pubDate>
    <dc:creator>nboccassini</dc:creator>
    <dc:date>2020-03-03T16:25:07Z</dc:date>
    <item>
      <title>Concatenate expression from (more) variables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-expression-from-more-variables/m-p/1681410#M450097</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a problem with my qlikview app.&lt;/P&gt;&lt;P&gt;I need to use 5200 complex expressions store in oracle db. I'm using &lt;SPAN&gt;jontydkpi&amp;nbsp;&lt;/SPAN&gt;from&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Put-the-formula-from-field-into-dollar-sign-expansion-and/td-p/1000025" target="_self"&gt;this post&lt;/A&gt;&amp;nbsp;.&lt;BR /&gt;The problem is the length expression in variable (650.000 chars) so I've split in more variable.&lt;/P&gt;&lt;P&gt;Now I've m variables like "pick(N,expr1,expr2.......)" and it works but not together.&lt;/P&gt;&lt;P&gt;var1-&amp;gt; pick(dim,expr1,expr2..exprn)&lt;/P&gt;&lt;P&gt;var2-&amp;gt; pick(dim,expr(n+1),expr(n+2)..exprm)&lt;/P&gt;&lt;P&gt;I need a single expression&amp;nbsp;pick(dim,expr1,expr2..exprn)+pick(dim,expr(n+1),expr(n+2)..exprm) but if I use&amp;nbsp;&lt;/P&gt;&lt;P&gt;=($(var1))+($(var2))&lt;/P&gt;&lt;P&gt;doesn't works!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 16:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-expression-from-more-variables/m-p/1681410#M450097</guid>
      <dc:creator>nboccassini</dc:creator>
      <dc:date>2020-03-03T16:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate expression from (more) variables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-expression-from-more-variables/m-p/1681413#M450098</link>
      <description>&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;The workaround:&lt;/P&gt;&lt;P&gt;if(DIM&amp;lt;10,$(var1),$(var2))&lt;/P&gt;&lt;P&gt;works only if the legth of expression in not too long.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 16:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-expression-from-more-variables/m-p/1681413#M450098</guid>
      <dc:creator>nboccassini</dc:creator>
      <dc:date>2020-03-03T16:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate expression from (more) variables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-expression-from-more-variables/m-p/1681746#M450120</link>
      <description>&lt;P&gt;It looked like a quite particularly requirement. Therefore it may be useful to optimize the application for this task. This means to shorten the expressions by:&lt;/P&gt;&lt;P&gt;- removing unneeded brackets, spaces, quotes and so on&lt;BR /&gt;- replacing conditions with pre-calculated flag-fields&lt;BR /&gt;- replacing the comparing of strings against numerical values respectively ID's&lt;BR /&gt;- removing of formatting-stuff&lt;BR /&gt;- shortening of the fieldnames (at least any qualifying but maybe also the names itself)&lt;BR /&gt;- checking for different (shorter) syntaxes&lt;BR /&gt;- probably some more similar approaches ...&lt;/P&gt;&lt;P&gt;Beside this you may split those 5200 expressions into logically buckets and the context of the object in which they are used and/or any further selections would reduce their amount.&lt;/P&gt;&lt;P&gt;For some of the above ideas are changes/adjustments within the datamodel needed but it would be generally a good starting point to transfer as much logic as possible to the script.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 16:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-expression-from-more-variables/m-p/1681746#M450120</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-03-04T16:05:24Z</dc:date>
    </item>
  </channel>
</rss>

