<?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: Expression with multiple conditions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112406#M19022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is used in a calculated dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr( If( Sum({&amp;lt;year = {1995}&amp;gt;} amount) &amp;lt; &lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;year = {2014}&amp;gt;} amount), item), item)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 16:01:26 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-14T16:01:26Z</dc:date>
    <item>
      <title>Expression with multiple conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112404#M19020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm building an expression which should work like this:&lt;BR /&gt;I have a data set which has columns for &lt;STRONG&gt;year&lt;/STRONG&gt;, for &lt;STRONG&gt;amount &lt;/STRONG&gt;and for &lt;STRONG&gt;item&lt;/STRONG&gt;. I want to make the chart to show only the &lt;STRONG&gt;items&lt;/STRONG&gt; which have their &lt;STRONG&gt;amount&lt;/STRONG&gt; of &lt;STRONG&gt;year&lt;/STRONG&gt;='2014' higher than &lt;STRONG&gt;year&lt;/STRONG&gt;='1995'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the following&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;IF(((year='1995' and "amount")&amp;lt;(&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;year='2014' and "amount")), "item")&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;which was a long shot and didn't get me far.&lt;/P&gt;&lt;P&gt;Any help with the expression? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112404#M19020</guid>
      <dc:creator />
      <dc:date>2024-11-16T10:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with multiple conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112405#M19021</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;Hi, &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;This may be helpful&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;if(Sum({&amp;lt;Year={'1995'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;amount)&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;Year={'1995'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;amount),'item')&lt;/SPAN&gt;&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 16:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112405#M19021</guid>
      <dc:creator>narendiran</dc:creator>
      <dc:date>2016-06-14T16:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with multiple conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112406#M19022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is used in a calculated dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr( If( Sum({&amp;lt;year = {1995}&amp;gt;} amount) &amp;lt; &lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;year = {2014}&amp;gt;} amount), item), item)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 16:01:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112406#M19022</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-14T16:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with multiple conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112407#M19023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this in your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;items = {"=Sum({&amp;lt;year = {2014}&amp;gt;} amount) &amp;gt; &lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;year = {1995}&amp;gt;} amount)&lt;/SPAN&gt;"}&amp;gt;} amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 16:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112407#M19023</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-14T16:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with multiple conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112408#M19024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all. This did the trick at once - perfect!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-with-multiple-conditions/m-p/1112408#M19024</guid>
      <dc:creator />
      <dc:date>2016-06-16T00:03:28Z</dc:date>
    </item>
  </channel>
</rss>

