<?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: Dynamic filtering in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-filtering-in-a-chart/m-p/288860#M585349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attach is an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it what you are after &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope its helps you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2011 10:43:53 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2011-08-22T10:43:53Z</dc:date>
    <item>
      <title>Dynamic filtering in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-filtering-in-a-chart/m-p/288859#M585348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Hello all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;i am struggling for two days now to implement a useful feature in one of our client's dashboard, and i can’t get around it (yet). I thought maybe you have an idea on how this can be done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Let's say we have a chart with year on X axis and Countries on the Y axis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;In the expression, we count the number of people in each country per year, and we are analyzing the ups and downs of the population within each country.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Now, because there are so many countries, i want to filter out some of them, and to see only the countries which had a growing population for a selected period (in years).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I have created a VBScript that gives me the min (minYear) and max (maxYear) selected years in the Year list box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;And I sum up the population by doing a count(People) in the chart expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Also i created two buttons (+ and - ) that set up a variable (varPol) that is either Positive or Negative, to choose the filtering (growth or decrease)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;How can i show only the countries which had a growth/decrease in population for the period of minYear - maxYear ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Screenshot:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;the + button would let visible only the blue line, the minus button would show only the red line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;John&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 09:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-filtering-in-a-chart/m-p/288859#M585348</guid>
      <dc:creator />
      <dc:date>2011-08-22T09:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filtering in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-filtering-in-a-chart/m-p/288860#M585349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attach is an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it what you are after &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope its helps you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 10:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-filtering-in-a-chart/m-p/288860#M585349</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-08-22T10:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic filtering in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-filtering-in-a-chart/m-p/288861#M585350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, it does what i wanted, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 12:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-filtering-in-a-chart/m-p/288861#M585350</guid>
      <dc:creator />
      <dc:date>2011-08-22T12:15:18Z</dc:date>
    </item>
  </channel>
</rss>

