<?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 Barchart has input from list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Barchart-has-input-from-list-box/m-p/560147#M1130493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if attached is what you are looking for. I used Country as dimension with the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum({1}Sales)&amp;gt;$(=max(aggr(sum(Sales), Country))), sum({1}Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then used dimension limits to only show Top 4 countries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 15:00:21 GMT</pubDate>
    <dc:creator>jerem1234</dc:creator>
    <dc:date>2013-12-11T15:00:21Z</dc:date>
    <item>
      <title>Dynamic Barchart has input from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Barchart-has-input-from-list-box/m-p/560146#M1130492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have the requirement like countries in x-axis and sum(sales) in y axis.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i have list box contains 30 countries,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Requirement is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;list the top 4 countries whose sales greater than sales of 'india'.Here 'india' is selected from list box item.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;suppose i select 'UK' from list box items.Let me know how to proceed for solution.input data must be from list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 14:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Barchart-has-input-from-list-box/m-p/560146#M1130492</guid>
      <dc:creator />
      <dc:date>2013-12-11T14:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Barchart has input from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Barchart-has-input-from-list-box/m-p/560147#M1130493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if attached is what you are looking for. I used Country as dimension with the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum({1}Sales)&amp;gt;$(=max(aggr(sum(Sales), Country))), sum({1}Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then used dimension limits to only show Top 4 countries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 15:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Barchart-has-input-from-list-box/m-p/560147#M1130493</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-12-11T15:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Barchart has input from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Barchart-has-input-from-list-box/m-p/560148#M1130494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached.&amp;nbsp; The solution is based on &lt;BR /&gt;- a variable vCountry which is defined by =only({Alt1} Country)&lt;BR /&gt;- a list box Country in Alternate State Alt1&lt;BR /&gt;- calculated dimension in the chart&lt;BR /&gt;- dimension limits set to largest 4.&lt;/P&gt;&lt;P&gt;Not clear what you want to get.&amp;nbsp; The largest four are always the same.&amp;nbsp; Except, if you select one of the largest in the list, than the number of the largest will be less than four.&amp;nbsp; Maybe you need to clarify the requirements...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 15:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Barchart-has-input-from-list-box/m-p/560148#M1130494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-11T15:11:26Z</dc:date>
    </item>
  </channel>
</rss>

