<?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: giving out a certain number of values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071783#M357969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you have it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2016 12:29:07 GMT</pubDate>
    <dc:creator>Joaquin_Lazaro</dc:creator>
    <dc:date>2016-03-02T12:29:07Z</dc:date>
    <item>
      <title>giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071775#M357961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a textbox which returns me the max price of my products&lt;/P&gt;&lt;P&gt;this is my database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Product&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Price&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;F&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;G&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;H&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;I&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Max Price ' &amp;amp; '\n' &amp;amp;&lt;/P&gt;&lt;P&gt;Concat(DISTINCT {&amp;lt;Product = {"=Aggr(max(Price), Product) = Max(TOTAL Aggr(max(Price), Product))"}&amp;gt;} Product, ', ') &amp;amp; ' ...' &amp;amp; '\n '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; money(Max(TOTAL Aggr(Max([Price]),Product )))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV returns me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Product&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Price&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;G&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;H&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;I&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is definetly correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what I want is, that QV should return me max 3 values. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A = 1000&lt;/P&gt;&lt;P&gt;D = 1000&lt;/P&gt;&lt;P&gt;E = 1000 etc. ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 11:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071775#M357961</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2016-03-02T11:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071776#M357962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max 3 values? Not sure I understand completely?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 11:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071776#M357962</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-02T11:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071777#M357963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;=Max(field,3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 11:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071777#M357963</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-02T11:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071778#M357964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what condition you want to follow as 6 products have proce of 1000?&lt;/P&gt;&lt;P&gt;by alphabetic?&lt;/P&gt;&lt;P&gt;did you look at tab dimension Limits?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 11:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071778#M357964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-02T11:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071779#M357965</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;Open the properties window of your straight table and set up this dimension limits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116603_Captura.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps &lt;/P&gt;&lt;P&gt;Joaquín&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 11:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071779#M357965</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2016-03-02T11:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071780#M357966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didnt create the expression in a chart. I use this expression in the textbox. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071780#M357966</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2016-03-02T12:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071781#M357967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nevertheless look at source data&lt;/P&gt;&lt;P&gt;create tablebox or listboxes to checkthe origin data&lt;/P&gt;&lt;P&gt;or provide a sample qvw so we can have a look into&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071781#M357967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-02T12:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071782#M357968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I attached a qvw file !&lt;/P&gt;&lt;P&gt;3 largest product in alphabetic order would be great&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071782#M357968</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2016-03-02T12:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071783#M357969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you have it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071783#M357969</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2016-03-02T12:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071784#M357970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sry maybe i didnt explain my problem correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV should return Max Price = 1000 and the correspondending products (3, not all) = A, D, E ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071784#M357970</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2016-03-02T12:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071785#M357971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why A,D,E and not G,H,I ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want a table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071785#M357971</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2016-03-02T12:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071786#M357972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='Max Price ' &amp;amp; '\n' &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(Product, -Aggr(Max(Price), Product) + Ord(Left(Product, 1))) &amp;amp; ' ,' &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(Product, -Aggr(Max(Price), Product) + Ord(Left(Product, 1)), 2) &amp;amp; ' ,' &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(Product, -Aggr(Max(Price), Product) + Ord(Left(Product, 1)), 3) &amp;amp; ' ,' &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &amp;amp; ' ...' &amp;amp; '\n '&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp; money(Max(TOTAL Aggr(Max([Price]),Product )))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071786#M357972</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-02T12:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071787#M357973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont actually care if its A, D, E or G, H ,I. I wrote it in the alphabatic order. I dont want a table, it just should return the max price and 3 corrospondending products&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071787#M357973</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2016-03-02T12:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071788#M357974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its . working ! thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071788#M357974</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2016-03-02T12:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071789#M357975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/thanhphongle"&gt;thanhphongle&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I helped you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071789#M357975</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2016-03-02T12:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: giving out a certain number of values</title>
      <link>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071790#M357976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try this expression too:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I removed all your &lt;STRONG&gt;aggr&lt;/STRONG&gt; that are not necessary&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Max Price ' &amp;amp; '\n' &amp;amp;&lt;/P&gt;&lt;P&gt;Left(Concat(DISTINCT {&amp;lt;Price = {$(=max(Price))}&amp;gt;} Product, ', '),Index(Concat(DISTINCT {&amp;lt;Price = {$(=max(Price))}&amp;gt;} Product, ', '), ', ', &lt;STRONG&gt;3&lt;/STRONG&gt;)) &lt;/P&gt;&lt;P&gt;&amp;amp; ' ...' &amp;amp; '\n '&lt;/P&gt;&lt;P&gt;&amp;amp; money(Max([Price]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 13:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/giving-out-a-certain-number-of-values/m-p/1071790#M357976</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-02T13:27:47Z</dc:date>
    </item>
  </channel>
</rss>

