<?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 Loading expressions into QV from a file in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082350#M17975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a ridiculous chart to create &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; with hundreds of columns (but will control show / hide via conditional to make it usable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entering expression on screen for this volume is a nightmare, so what I want to do is load something like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Metrics:&lt;BR /&gt; LOAD * INLINE [_MetricCode,_Metric_Name,_MetricExpression&lt;BR /&gt; MAA,&amp;nbsp;&amp;nbsp; Sales&amp;nbsp;&amp;nbsp;&amp;nbsp; ,sum(SALES)&lt;BR /&gt; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; then have a chart that uses the expression..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_MetricCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='MAA',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_MetricExpression&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. hoping the resulting expression column would be the sum of my sales i.e. £100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... however I am getting the 'text' as a result in the column i.e.&amp;nbsp; 'sum(SALES'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way please to tell the expression the result is a formulae ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Nick&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 12:53:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-03T12:53:41Z</dc:date>
    <item>
      <title>Loading expressions into QV from a file</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082350#M17975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a ridiculous chart to create &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; with hundreds of columns (but will control show / hide via conditional to make it usable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entering expression on screen for this volume is a nightmare, so what I want to do is load something like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Metrics:&lt;BR /&gt; LOAD * INLINE [_MetricCode,_Metric_Name,_MetricExpression&lt;BR /&gt; MAA,&amp;nbsp;&amp;nbsp; Sales&amp;nbsp;&amp;nbsp;&amp;nbsp; ,sum(SALES)&lt;BR /&gt; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; then have a chart that uses the expression..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_MetricCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='MAA',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_MetricExpression&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. hoping the resulting expression column would be the sum of my sales i.e. £100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... however I am getting the 'text' as a result in the column i.e.&amp;nbsp; 'sum(SALES'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way please to tell the expression the result is a formulae ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Nick&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 12:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082350#M17975</guid>
      <dc:creator />
      <dc:date>2016-03-03T12:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loading expressions into QV from a file</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082351#M17976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;May be try it like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;$(=if(_MetricCode='MAA',_MetricExpression&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116785_Capture.PNG" style="height: 310px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 13:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082351#M17976</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-03T13:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Loading expressions into QV from a file</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082352#M17977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops it only works when you have one expression logic - as soon as you have 2 or more it doesn't &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 14:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082352#M17977</guid>
      <dc:creator />
      <dc:date>2016-03-03T14:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Loading expressions into QV from a file</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082353#M17978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using set analysis instead of if statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(=Only({&amp;lt;_MetricCode = {'MAB'}&amp;gt;}_MetricExpression))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116813_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 14:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082353#M17978</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-03T14:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Loading expressions into QV from a file</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082354#M17979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent - thanks again !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 14:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-expressions-into-QV-from-a-file/m-p/1082354#M17979</guid>
      <dc:creator />
      <dc:date>2016-03-03T14:32:32Z</dc:date>
    </item>
  </channel>
</rss>

