<?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: Simplify Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simplify-Expression/m-p/645384#M236499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can save your f(x) in a variable and use that anywhere..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a variable say fx = sum(value&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Sep 2014 08:22:06 GMT</pubDate>
    <dc:creator>sushil353</dc:creator>
    <dc:date>2014-09-08T08:22:06Z</dc:date>
    <item>
      <title>Simplify Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Simplify-Expression/m-p/645383#M236498</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;&lt;/P&gt;&lt;P&gt;We have a complex expression, I am calling this f(x) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(f(x) =0, 0, f(x) -1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that f(x) can also return negative values, if so these are required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not want to do the complex calculation twice, is there a QlikView function that can help me achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like QlikViewfunction(f(x))...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 08:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simplify-Expression/m-p/645383#M236498</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2014-09-08T08:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Simplify Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Simplify-Expression/m-p/645384#M236499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can save your f(x) in a variable and use that anywhere..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a variable say fx = sum(value&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 08:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simplify-Expression/m-p/645384#M236499</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-09-08T08:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Simplify Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Simplify-Expression/m-p/645385#M236500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , If you are using Straight table then you can create Expression F(x) and make it hidden in presentation tab. And use your conditional expression If(F(x)=0,-----) in another expression. Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 08:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simplify-Expression/m-p/645385#M236500</guid>
      <dc:creator>vijay_iitkgp</dc:creator>
      <dc:date>2014-09-08T08:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Simplify Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Simplify-Expression/m-p/645386#M236501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put f(x) in a &lt;STRONG&gt;variable&lt;/STRONG&gt; and use that variable in your expression. QlikView would calculate it once and use the value twice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 08:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simplify-Expression/m-p/645386#M236501</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-09-08T08:36:42Z</dc:date>
    </item>
  </channel>
</rss>

