<?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: How to replace the functionality of a list box with an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124585#M910088</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: 12px; background-color: #f2f2f2;"&gt;=Sum({&lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;lt;Year = {2016}, Country = {USA}&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:04:45 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-15T21:04:45Z</dc:date>
    <item>
      <title>How to replace the functionality of a list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124581#M910082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have multiple charts that I would like to limit the output on, but I do not want to use a list box because I do not want the same conditions on all the charts.&amp;nbsp; For example, on one chart I just want the data from 2016, but on another chart, I want to see 2015 and 2016.&amp;nbsp; How can I write an expression or dimension in such a manner that it allows me to control the filtering on each chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124581#M910082</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the functionality of a list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124582#M910083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Alternate State for this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.learnqlickview.com/alternate-states-in-qlikview/" title="http://www.learnqlickview.com/alternate-states-in-qlikview/"&gt;http://www.learnqlickview.com/alternate-states-in-qlikview/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2014/08/12/alternate-states/" title="http://www.qlikfix.com/2014/08/12/alternate-states/"&gt;Introduction to alternate states - The Qlik Fix! The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124582#M910083</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-15T20:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the functionality of a list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124583#M910084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood correctly, you can also just use static filter for your charts, e.g. using set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression chart A&lt;/P&gt;&lt;P&gt;=Sum({&lt;STRONG&gt;&amp;lt;Year = {2016}&amp;gt;}&lt;/STRONG&gt; Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression chart B&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Sum(&amp;lt;Year = {2015, 2016}&amp;gt;}&amp;nbsp; Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4076"&gt;A Primer on Set Analysis&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124583#M910084</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-15T20:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the functionality of a list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124584#M910086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if I want to apply more than 1 filter?&amp;nbsp; For example, I want Year = 2016 and Country = US.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124584#M910086</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2016-06-15T20:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the functionality of a list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124585#M910088</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: 12px; background-color: #f2f2f2;"&gt;=Sum({&lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;lt;Year = {2016}, Country = {USA}&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124585#M910088</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-15T21:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the functionality of a list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124586#M910090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I have more than one expression, do I need to apply the Set analysis code to each expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124586#M910090</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2016-06-15T21:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the functionality of a list box with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124587#M910091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically, set analysis will filter the record set only and specific for the aggregation function it is used in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3285"&gt;The Aggregation Scope&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, yes, if you are using multiple expressions (or multiple aggregations in one expression), you might need to apply the set analysis to each of these aggregation functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also limit the dimensional scope with a calculated dimension like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Year= 2016, Year)&lt;/P&gt;&lt;P&gt;=If(Country ='US', Country)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and enabling 'suppress when value is NULL' on dimension tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-the-functionality-of-a-list-box-with-an/m-p/1124587#M910091</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-15T21:38:10Z</dc:date>
    </item>
  </channel>
</rss>

