<?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: Conditional Expression not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938940#M13155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all. I used the expression to create a variable. It's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Oct 2015 05:32:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-10T05:32:25Z</dc:date>
    <item>
      <title>Conditional Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938933#M13148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to implement the following logic inside a measure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (&lt;SPAN style="font-size: 13.3333px;"&gt;DATE_ID &amp;gt;=&lt;SPAN style="font-size: 13.3333px;"&gt;1465 or &lt;SPAN style="font-size: 13.3333px;"&gt;DATE_ID &amp;lt;=1556&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;) then Sum( Field1- (Field 2+Field 4)/ Sum(Field 3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using an expression : Sum({&amp;lt;DATE_ID ={"&amp;gt;=1465"}&amp;gt;}&amp;nbsp; {&amp;lt;DATE_ID ={"&amp;lt;=1556"}&amp;gt;} &lt;EM&gt;&lt;STRONG&gt;(Sum( Field1- (field 2+Field 4)/ Sum(Field 3)&lt;/STRONG&gt;&lt;/EM&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression doesn't work.probably because it has multiple operators.&lt;/P&gt;&lt;P&gt;Please suggest a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938933#M13148</guid>
      <dc:creator />
      <dc:date>2015-10-08T13:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938934#M13149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soumya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you just have a minor syntax issue. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;DATE_ID ={"&amp;gt;=1465"}&amp;gt;}, DATE_ID ={"&amp;lt;=1556"}&amp;gt;} &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Field1- (field 2+Field 4)/ Sum(Field 3)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;-Josh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Qlik&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Please mark my response as helpful or correct so other member can find answers more quickly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 14:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938934#M13149</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2015-10-08T14:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938935#M13150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a minor change:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;DATE_ID ={"&amp;gt;=1465&amp;lt;=1556"}&amp;gt;} &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Field1- (field 2+Field 4)/ Sum(Field 3)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 14:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938935#M13150</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-08T14:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938936#M13151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben.&amp;nbsp; I missed that!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 15:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938936#M13151</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2015-10-08T15:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938937#M13152</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;I tried using this expression:&amp;nbsp; Sum({&amp;lt;DATE_ID ={"&amp;gt;=1465&amp;lt;=1556"}&amp;gt;} &lt;/SPAN&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;Field1- (field 2+Field 4)/ Sum(Field 3)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;When I use the Sum function inside expression &lt;EM&gt;'Sum(Field3)'&lt;/EM&gt;. It says expression is wrong. And If I leave the 'Sum' function out, there's no error but the division part is not working in the calculation.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 07:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938937#M13152</guid>
      <dc:creator />
      <dc:date>2015-10-09T07:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938938#M13153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Sum({&amp;lt;DATE_ID ={"&amp;gt;=1465&amp;lt;=1556"}&amp;gt;} &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Field1- (field 2+Field 4)/ Field 3&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Josh&lt;/P&gt;&lt;P&gt;Qlik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 17:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938938#M13153</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2015-10-09T17:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938939#M13154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This function checks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;DATE_ID &amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13.3333px; font-style: inherit; font-weight: inherit;"&gt;1465&lt;/SPAN&gt;,if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;DATE_ID &amp;lt;=1556&lt;/SPAN&gt;,sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Field1- (Field 2+Field 4)/ Sum(Field 3&lt;/SPAN&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 20:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938939#M13154</guid>
      <dc:creator />
      <dc:date>2015-10-09T20:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938940#M13155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all. I used the expression to create a variable. It's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 05:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938940#M13155</guid>
      <dc:creator />
      <dc:date>2015-10-10T05:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938941#M13156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe one of these:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;DATE_ID ={"&amp;gt;=1465&amp;lt;=1556"}&amp;gt;} &lt;/SPAN&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;Field1- (field 2+Field 4))/ Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;DATE_ID ={"&amp;gt;=1465&amp;lt;=1556"}&amp;gt;} &lt;/SPAN&gt;Field 3)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;DATE_ID ={"&amp;gt;=1465&amp;lt;=1556"}&amp;gt;} (&lt;/SPAN&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;Field1- (field 2+Field 4))/ Field 3&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 16:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938941#M13156</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-10T16:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938942#M13157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your question is answered, please flag correct and helpful answer(s).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 17:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Expression-not-working/m-p/938942#M13157</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2015-10-10T17:29:44Z</dc:date>
    </item>
  </channel>
</rss>

