<?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: How to calculate formulas stored in a column? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-calculate-formulas-stored-in-a-column/m-p/1838915#M69385</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;that was exactly the problem, your solution works perfectly and dynamically using concat().&amp;nbsp; Do you happen to know the max length of the concatenated string?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2021 06:21:58 GMT</pubDate>
    <dc:creator>StefanSonntag</dc:creator>
    <dc:date>2021-09-24T06:21:58Z</dc:date>
    <item>
      <title>How to calculate formulas stored in a column?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-formulas-stored-in-a-column/m-p/1838174#M69299</link>
      <description>&lt;P&gt;Imagine you have a data island table with two columns, e.g. "Metric" and "Function". The function column contains a syntactically correct formula per metric which calculates its result over the remaining tables of the data model. Then create a table object in the UI and have Metric as dimension and the expression "$(=[Function])" as measure column. The output is an empty measure column unless I select one of the metrics in the dimension columns, then Qlik Sense Enterprise SaaS shows the correct result for the chosen metric. How do I need to formulate the expression so that it calculates the results for all rows right away? An empty sample QVF using the data model generated by hitting CTRL-0-0 in the load editor is attached&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 05:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-formulas-stored-in-a-column/m-p/1838174#M69299</guid>
      <dc:creator>StefanSonntag</dc:creator>
      <dc:date>2021-09-22T05:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate formulas stored in a column?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-formulas-stored-in-a-column/m-p/1838189#M69301</link>
      <description>&lt;P&gt;This doesn't work because $ expansion happens outside the chart. That means when you have multiple measures in scope (not selected and reduced to one - which you see works), the $ expansion can't produce multiple row-wise expressions (which is desired). As an alternative, you could try with pick(match(... Something like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Pick(Match(Metric,'A', 'B', 'C'),$(=Only({&amp;lt;Metric={A}&amp;gt;}Formula)),$(=Only({&amp;lt;Metric={B}&amp;gt;}Formula)),$(=Only({&amp;lt;Metric={C}&amp;gt;}Formula)))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1632290492491.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62511iD67DC85D58708C55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1632290492491.png" alt="tresesco_0-1632290492491.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;And to make it dynamic, try using Concat() to produce the expression.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 06:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-formulas-stored-in-a-column/m-p/1838189#M69301</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2021-09-22T06:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate formulas stored in a column?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-formulas-stored-in-a-column/m-p/1838915#M69385</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;that was exactly the problem, your solution works perfectly and dynamically using concat().&amp;nbsp; Do you happen to know the max length of the concatenated string?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 06:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-formulas-stored-in-a-column/m-p/1838915#M69385</guid>
      <dc:creator>StefanSonntag</dc:creator>
      <dc:date>2021-09-24T06:21:58Z</dc:date>
    </item>
  </channel>
</rss>

