<?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: Input variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Input-variable/m-p/322674#M118849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Usha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use straight table so easly you are able to display Top Sales. I use your variable vTopSales on input box if you enter values the value check in straight table and according to value Max number is visible by setting properties in Presentation -&amp;gt; Max Number -&amp;gt; type variable name there like =VTopSales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any reason to use pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Oct 2011 18:01:27 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2011-10-08T18:01:27Z</dc:date>
    <item>
      <title>Input variable</title>
      <link>https://community.qlik.com/t5/QlikView/Input-variable/m-p/322671#M118846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached application. I want to include variable in Pivot chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Usha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 16:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-variable/m-p/322671#M118846</guid>
      <dc:creator />
      <dc:date>2011-10-08T16:34:31Z</dc:date>
    </item>
    <item>
      <title>Input variable</title>
      <link>https://community.qlik.com/t5/QlikView/Input-variable/m-p/322672#M118847</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;Use Rank function to find Top Sales member.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 16:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-variable/m-p/322672#M118847</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-08T16:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Input variable</title>
      <link>https://community.qlik.com/t5/QlikView/Input-variable/m-p/322673#M118848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Usha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way to get this done in a straight table (not using any complex aggregation and let the chart do it by itself) is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;go to the chart properties, Sort tab, promote "Sales" and sort only Numeric Descending. &lt;/LI&gt;&lt;LI&gt;go to the Presentation tab, check the "Max Number (1-100)" and set there the variable&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;=VTopSales&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Uncheck the "Show Others Row" and you are done.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The more complex and poorer in performance (but needed in some cases) is to create a calculated condition using Aggr() and Rank() to get only those that meet some criteria. The Calculated Dimension would look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;If&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Rank&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sum&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;Sales&lt;SPAN class="s1"&gt;), &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;4&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;), &lt;/SPAN&gt;[Emp No]&lt;SPAN class="s1"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;VTopSales&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;[Emp No]&lt;SPAN class="s1"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and click for this new dimension the checkbox "Suppress when value is null", that will not show the "others" value, only the top X values. In this second case you don't need to limit the chart or sort it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 17:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-variable/m-p/322673#M118848</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-08T17:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Input variable</title>
      <link>https://community.qlik.com/t5/QlikView/Input-variable/m-p/322674#M118849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Usha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use straight table so easly you are able to display Top Sales. I use your variable vTopSales on input box if you enter values the value check in straight table and according to value Max number is visible by setting properties in Presentation -&amp;gt; Max Number -&amp;gt; type variable name there like =VTopSales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any reason to use pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 18:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-variable/m-p/322674#M118849</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-08T18:01:27Z</dc:date>
    </item>
  </channel>
</rss>

