<?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: Interpret Field Values as FORMULAS in a chart (without using pick func.!) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896189#M311895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, here is a test app with the current solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I as have said before I do not want to use pick function!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2015 07:10:16 GMT</pubDate>
    <dc:creator>ivan_will</dc:creator>
    <dc:date>2015-05-22T07:10:16Z</dc:date>
    <item>
      <title>Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896180#M311886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87011_QV.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Till now I am using:&amp;nbsp;&amp;nbsp; Pick( Match(KBI, $(vFormulaKBIs) ),$(vExt_Formula)&amp;nbsp; )&amp;nbsp; &lt;/P&gt;&lt;P&gt;where in the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;$(vFormulaKBIs) I have concatenated all KBIs' names and in &lt;SPAN style="font-size: 13.3333330154419px;"&gt;$(vExt_Formula)&amp;nbsp; all corresponding formulas from the Complex Formula field.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The above method works BUT for each KBI it calculates all the expressions and this decrease the performance in times. &lt;/P&gt;&lt;P&gt;(I have another KBIs which are not calculated by this formula but use rangesum between both formulas). &lt;SPAN style="font-size: 13.3333330154419px;"&gt;And as you know if you use pick and if some of the expressions is wrong&amp;nbsp; it will destroy all your reports as it will return error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So what I want to have now is to to interpret the Complex Formula for each row where it is needed!&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;I have tried a lot of different ways but didn't managed to make it working!? Fieldvalue, fieldindex, .... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone has an idea I will be grateful!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 11:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896180#M311886</guid>
      <dc:creator>ivan_will</dc:creator>
      <dc:date>2015-05-20T11:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896181#M311887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The above method works BUT for each KBI it &lt;STRONG&gt;calculates all&lt;/STRONG&gt; the expressions and this decrease the performance in times.&lt;/P&gt;
&lt;P&gt;(I have another KBIs which are not calculated by this formula but use rangesum between both formulas). &lt;SPAN style="font-size: 13.33px;"&gt;And as you know if you use pick and if some of the expressions is wrong&amp;nbsp; it &lt;STRONG&gt;will destroy all your reports&lt;/STRONG&gt; as it will return error.&lt;/SPAN&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I can think of this Pick(Match(...&amp;nbsp;&amp;nbsp;&amp;nbsp; approach to be suitable one. And didn't quite agree with your opinion highlighted above (if I have not misuderstood your point).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 11:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896181#M311887</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-05-20T11:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896182#M311888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested it a lot of times and believe me it is performance killer when you have about 50 kbis with a very complex formulas. &lt;/P&gt;&lt;P&gt;That's why I am looking for a better solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 11:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896182#M311888</guid>
      <dc:creator>ivan_will</dc:creator>
      <dc:date>2015-05-20T11:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896183#M311889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, and that is very obvious specially when you have complex expressions with aggr() and so.. Hence, it is possibly not something to do with pick(match.. but the expressions themselves. For optimization, you might have to take some calculations into the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 11:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896183#M311889</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-05-20T11:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896184#M311890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; thanks but I am looking for non-obvious solutions. I have tested the obvious ones already! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 11:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896184#M311890</guid>
      <dc:creator>ivan_will</dc:creator>
      <dc:date>2015-05-20T11:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896185#M311891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas? ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 13:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896185#M311891</guid>
      <dc:creator>ivan_will</dc:creator>
      <dc:date>2015-05-20T13:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896186#M311892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Any ideas? ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 06:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896186#M311892</guid>
      <dc:creator>ivan_will</dc:creator>
      <dc:date>2015-05-21T06:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896187#M311893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;? ... is it possible ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 06:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896187#M311893</guid>
      <dc:creator>ivan_will</dc:creator>
      <dc:date>2015-05-22T06:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896188#M311894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I re-read your question, I once stopped at your post &lt;STRONG&gt;subject&lt;/STRONG&gt;. Are you thinking of putting the expressions in a field and try to use them in the front-end? If yes, yes that is possible. Could you post a sample qvw with sample data where we may work upon ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 06:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896188#M311894</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-05-22T06:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896189#M311895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, here is a test app with the current solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I as have said before I do not want to use pick function!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 07:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896189#M311895</guid>
      <dc:creator>ivan_will</dc:creator>
      <dc:date>2015-05-22T07:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896190#M311896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am afraid that, this might not be possible without pick(). Had there been an equivalent function of evaluate() to be used in the front-end, could help here. However, $ sign expansion is used in qlikview for nearly similar purpose. But it could not help here because of it's limitation, that $ expansions are performed outside chart and before it's data is processed and outside the context of the dimensions of the chart. so expected similar expression something like &lt;STRONG&gt;&lt;EM&gt;$(=[Complex Formula])&lt;/EM&gt;&lt;/STRONG&gt; would not work beacuse of multiple possible values at the time of $ expansion. Note, if you select a single value from the formula field making it single possible value, you would get the result right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 09:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896190#M311896</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-05-22T09:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896191#M311897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I know all of the above mentioned by you ... as said I am looking for non obvious solutions ...&amp;nbsp; &lt;BR /&gt;Thanks anyway!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 09:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896191#M311897</guid>
      <dc:creator>ivan_will</dc:creator>
      <dc:date>2015-05-22T09:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896192#M311898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ! did you manage to solve it? i have the same problem....&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 11:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896192#M311898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-26T11:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Interpret Field Values as FORMULAS in a chart (without using pick func.!)</title>
      <link>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896193#M311899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no other way except IF statements or pick(match ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible use IF as pick match may cause you some performance issues &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 18:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interpret-Field-Values-as-FORMULAS-in-a-chart-without-using-pick/m-p/896193#M311899</guid>
      <dc:creator>ivan_will</dc:creator>
      <dc:date>2016-01-26T18:00:24Z</dc:date>
    </item>
  </channel>
</rss>

