<?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: Compare current field value vs column max in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-current-field-value-vs-column-max/m-p/987156#M467991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a variable that holds maximum value in C column, something like vMaxC=Max(C)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight chart and display the columns whenever the column value is more than your vMaxC...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="vMaxColumn.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102188_vMaxColumn.PNG" style="height: 449px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Laxmi &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 06:13:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-16T06:13:14Z</dc:date>
    <item>
      <title>Compare current field value vs column max</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-current-field-value-vs-column-max/m-p/987154#M467989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May seem a very simple question to most of you but I am not getting around this.&lt;/P&gt;&lt;P&gt;I have a table with columns A, B, C, D and I what to show values only if the value of the current row of C matches the max value of the column C&lt;/P&gt;&lt;P&gt;so if A, B, C,D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 2, 3, 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 4, 5, 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7,8, 5, 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show only the last two rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 13:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-current-field-value-vs-column-max/m-p/987154#M467989</guid>
      <dc:creator />
      <dc:date>2015-10-02T13:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Compare current field value vs column max</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-current-field-value-vs-column-max/m-p/987155#M467990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to do this in the UI, you can create a pivot table with an appropriate dimension - RecNo or something - and use the following expression&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Only(C) = Max(total C), &amp;lt;your expression&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do this filtering in the script you can use&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load * From SourceTable (...) ;&lt;/P&gt;&lt;P&gt;Inner Join (&lt;SPAN style="font-size: 13.3333px;"&gt;Table&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;Load Max(C) as C Resident Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 18:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-current-field-value-vs-column-max/m-p/987155#M467990</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-02T18:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Compare current field value vs column max</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-current-field-value-vs-column-max/m-p/987156#M467991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a variable that holds maximum value in C column, something like vMaxC=Max(C)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight chart and display the columns whenever the column value is more than your vMaxC...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="vMaxColumn.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102188_vMaxColumn.PNG" style="height: 449px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Laxmi &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 06:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-current-field-value-vs-column-max/m-p/987156#M467991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-16T06:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Compare current field value vs column max</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-current-field-value-vs-column-max/m-p/987157#M467992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess to use it like that one should be careful as when the selection changes the value of the variable changes as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Oct 2015 16:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-current-field-value-vs-column-max/m-p/987157#M467992</guid>
      <dc:creator />
      <dc:date>2015-10-18T16:10:03Z</dc:date>
    </item>
  </channel>
</rss>

