<?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: List box with expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524645#M480284</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;This should work:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Aggr(if([Media Investment] &amp;gt; 0 and Revenue &amp;gt; 0, Countrytarget), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Countrytarget&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;"&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;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jonathan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Edit: assumes that there is countrytarget, revenue and media investment have a 1:1:1 relationship. Otherwise , use sum() or ave() as per HC's post&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2013 07:00:20 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2013-12-04T07:00:20Z</dc:date>
    <item>
      <title>List box with expression</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524642#M480281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display the list of country where the condition is &lt;STRONG&gt;media investment and revenue is greater than 0&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I tried with 2 expressions but not working. &lt;/P&gt;&lt;P&gt;Appreciate if you could help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;1. =if([Media Investment] &amp;gt; 0 and Revenue &amp;gt; 0, Countrytarget)&lt;/P&gt;&lt;P&gt;2. = if([Media Investment] &amp;gt; 0, if([Revenue] &amp;gt; 0 , Countrytarget))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/49929_pastedImage_0.png" style="width: 620px; height: 181px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Chanel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 06:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524642#M480281</guid>
      <dc:creator />
      <dc:date>2013-12-04T06:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: List box with expression</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524643#M480282</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;PFA Try this if it is wrong please try the below expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; =if([Media Investment] &amp;gt; 0 or Revenue &amp;gt; 0, Countrytarget)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;oterwise please attach your sample app&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 06:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524643#M480282</guid>
      <dc:creator />
      <dc:date>2013-12-04T06:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: List box with expression</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524644#M480283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expressions will not work since you use unaggregated field references. Add aggregation functions, e.g.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;=if(Sum([Media Investment]) &amp;gt; 0 and Sum(Revenue) &amp;gt; 0, Sum(Countrytarget))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See more on &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 06:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524644#M480283</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-12-04T06:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: List box with expression</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524645#M480284</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;This should work:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Aggr(if([Media Investment] &amp;gt; 0 and Revenue &amp;gt; 0, Countrytarget), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Countrytarget&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;"&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;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jonathan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Edit: assumes that there is countrytarget, revenue and media investment have a 1:1:1 relationship. Otherwise , use sum() or ave() as per HC's post&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524645#M480284</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-12-04T07:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: List box with expression</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524646#M480285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is working if i use :&lt;/P&gt;&lt;P&gt;=if( (Revenue) &amp;gt; 0, Countrytarget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;BR /&gt;Chanel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524646#M480285</guid>
      <dc:creator />
      <dc:date>2013-12-04T07:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: List box with expression</title>
      <link>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524647#M480286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan and &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;Henric Cronström&lt;/A&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working with combination of HC's post.&lt;/P&gt;&lt;P&gt;=Aggr(if(sum([Media Investment]) &amp;gt; 0 and sum(Revenue &amp;gt; 0), Countrytarget), Countrytarget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Chanel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-box-with-expression/m-p/524647#M480286</guid>
      <dc:creator />
      <dc:date>2013-12-04T07:07:35Z</dc:date>
    </item>
  </channel>
</rss>

