<?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 Ranking in bar graph in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Ranking-in-bar-graph/m-p/1853792#M70489</link>
    <description>&lt;P&gt;Hello everyone;&lt;/P&gt;
&lt;P&gt;I hope you are all doing good.&lt;/P&gt;
&lt;P&gt;Well, I have a ranking variable (input variable) which limit the number of values displayed in the bar graph; for example:&lt;/P&gt;
&lt;P&gt;if the user enter X (X is an integer) in this ranking variable; only X&amp;nbsp; countries will be displayed in the graph.&lt;/P&gt;
&lt;P&gt;My question is : how can I get these values (X country displayed) to use them as a filter in another expression.&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2021 18:07:12 GMT</pubDate>
    <dc:creator>NadjibBK</dc:creator>
    <dc:date>2021-10-29T18:07:12Z</dc:date>
    <item>
      <title>Ranking in bar graph</title>
      <link>https://community.qlik.com/t5/App-Development/Ranking-in-bar-graph/m-p/1853792#M70489</link>
      <description>&lt;P&gt;Hello everyone;&lt;/P&gt;
&lt;P&gt;I hope you are all doing good.&lt;/P&gt;
&lt;P&gt;Well, I have a ranking variable (input variable) which limit the number of values displayed in the bar graph; for example:&lt;/P&gt;
&lt;P&gt;if the user enter X (X is an integer) in this ranking variable; only X&amp;nbsp; countries will be displayed in the graph.&lt;/P&gt;
&lt;P&gt;My question is : how can I get these values (X country displayed) to use them as a filter in another expression.&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 18:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ranking-in-bar-graph/m-p/1853792#M70489</guid>
      <dc:creator>NadjibBK</dc:creator>
      <dc:date>2021-10-29T18:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking in bar graph</title>
      <link>https://community.qlik.com/t5/App-Development/Ranking-in-bar-graph/m-p/1853841#M70492</link>
      <description>&lt;P&gt;One simple solution,&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SET vRank=200;

tab1:
LOAD [Country or territory], 
     "IMF[1]" 
FROM
[https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)]
(html, utf8, embedded labels, table is [GDP (US$ million) by country])
Where IsNum("IMF[1]")
;

tab2:
NoConcatenate
LOAD RowNo() As Rank, *
Resident tab1
Order By "IMF[1]" Desc
;

Drop Table tab1;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV18.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65637iF0CDB66CB21B032A/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV18.PNG" alt="commQV18.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV19.PNG" style="width: 849px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65638iDE52F975D6C487D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV19.PNG" alt="commQV19.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Dimension:&lt;/P&gt;
&lt;P&gt;=If(Rank&amp;lt;=vRank,[Country or territory])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expression:&lt;/P&gt;
&lt;P&gt;Sum("IMF[1]")&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 01:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ranking-in-bar-graph/m-p/1853841#M70492</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2021-10-30T01:46:18Z</dc:date>
    </item>
  </channel>
</rss>

