<?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: Dimension values as formula in  expression chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821422#M1213555</link>
    <description>&lt;P&gt;This report is destinated to the human ressource. It s covering a large spectrum from the turn over to the to the training passing throught the absenteeism. I m not able to communicate that s kind of data.&lt;/P&gt;&lt;P&gt;Your answer permit me to clarify the uses of meta expression in Qlik.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jul 2021 12:53:45 GMT</pubDate>
    <dc:creator>renaudfeuvrier</dc:creator>
    <dc:date>2021-07-12T12:53:45Z</dc:date>
    <item>
      <title>Dimension values as formula in  expression chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821356#M1213544</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to use the values of a dimension as formulas in expression chart ?&lt;/P&gt;&lt;P&gt;I've got an excel table, that I ll load in a script :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;INDICATOR&lt;/TD&gt;&lt;TD&gt;SORT&lt;/TD&gt;&lt;TD&gt;FORMULA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;IND1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;vFormula1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;IND2&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;vFormula2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ETC&lt;/TD&gt;&lt;TD&gt;…&lt;/TD&gt;&lt;TD&gt;…&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;vFormula1, vFormula2 are variables which contain expression formula as : Count({&amp;lt; ... &amp;gt;} Customer).&lt;/P&gt;&lt;P&gt;I would like to use this table to build a straight table, using INDICATOR as dimension sort by SORT, and FORMULA in the expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I've got to write in the formula to compute the expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried "=FORMULA " and "Only(FORMULA)", that s display the formula not the result.&lt;/P&gt;&lt;P&gt;I also tried "=$(=FORMULA)" and '=$(=Only(FORMULA))", this display nothing.&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 09:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821356#M1213544</guid>
      <dc:creator>renaudfeuvrier</dc:creator>
      <dc:date>2021-07-12T09:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension values as formula in  expression chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821371#M1213547</link>
      <description>&lt;P&gt;Hi Renaud&lt;/P&gt;&lt;P&gt;The problem with set analysis is it is evaluated in the context of the chart, and not on every row, ie it is calculated once for the whole object and that result is what is passed to each row.&lt;/P&gt;&lt;P&gt;So&amp;nbsp;&lt;SPAN&gt;=$(=Only(FORMULA)) will not evaluate, because over the whole chart there are many formulas, and not "only" one and this will evaluate to null.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You will have to work around the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The simplest way is to use an if() or pick() expression to choose the formula you need based on what is in the row&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF(Formula = 'vFormula1', $(vFormula1), IF(Formula = 'vFormula2',$(vFormula2)....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;or&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;pick(right(formula,1),$(vFormula1),$(vFormula2)...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;However these can be memory intensive.&lt;/P&gt;&lt;P&gt;What are in the formulas? sometimes you can be clever and link the indicators using data modelling or count using flags in the data model instead&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pi&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 09:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821371#M1213547</guid>
      <dc:creator>PiEye</dc:creator>
      <dc:date>2021-07-12T09:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension values as formula in  expression chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821375#M1213549</link>
      <description>&lt;P&gt;Hi Pi,&lt;/P&gt;&lt;P&gt;Thank for the answer.&lt;/P&gt;&lt;P&gt;I understand the problem with the Only.&lt;/P&gt;&lt;P&gt;I ve got to produce more than 80 indicators with the same dimensions but a lot of differences for the expression in only one table. I thought that it could be more maintanable if i could manage it with an Excel file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Renaud&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 09:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821375#M1213549</guid>
      <dc:creator>renaudfeuvrier</dc:creator>
      <dc:date>2021-07-12T09:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension values as formula in  expression chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821383#M1213550</link>
      <description>&lt;P&gt;What is the nature of the differences?&amp;nbsp; I've done similar before with indicators and have been able to manage with clever flags and linked fields.&lt;/P&gt;&lt;P&gt;Could you give any samples, or something close enough, to preserve confidentiality.&lt;/P&gt;&lt;P&gt;Pi&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 10:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821383#M1213550</guid>
      <dc:creator>PiEye</dc:creator>
      <dc:date>2021-07-12T10:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension values as formula in  expression chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821422#M1213555</link>
      <description>&lt;P&gt;This report is destinated to the human ressource. It s covering a large spectrum from the turn over to the to the training passing throught the absenteeism. I m not able to communicate that s kind of data.&lt;/P&gt;&lt;P&gt;Your answer permit me to clarify the uses of meta expression in Qlik.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 12:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821422#M1213555</guid>
      <dc:creator>renaudfeuvrier</dc:creator>
      <dc:date>2021-07-12T12:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension values as formula in  expression chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821440#M1213557</link>
      <description>&lt;P&gt;Hi Renaud, if that is the case&amp;nbsp; please can you mark my answer as correct?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Pi&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 13:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-values-as-formula-in-expression-chart/m-p/1821440#M1213557</guid>
      <dc:creator>PiEye</dc:creator>
      <dc:date>2021-07-12T13:35:13Z</dc:date>
    </item>
  </channel>
</rss>

